From 09b614637b01cff35139e06181a67d833c75066c Mon Sep 17 00:00:00 2001 From: Release Pipeline Date: Mon, 6 Feb 2023 17:11:32 +0000 Subject: [PATCH] Updating java SDK to latest version --- .openapi-generator/FILES | 290 +- .openapi-generator/VERSION | 2 +- LICENSE | 201 - README.md | 148 +- api/openapi.yaml | 13924 ++++++++++++---- build.gradle | 20 +- build.sbt | 15 +- docs/AvailabilityApi.md | 164 - docs/AvailabilityGet.md | 14 - docs/AvailabilitySearch.md | 28 - docs/AvailabilitySearchPost200Response.md | 59 + docs/AvailabilitySearchPostRequest.md | 1328 ++ docs/AvailablePropertiesInner.md | 102 + docs/AvailablePropertiesInner1.md | 750 + ...ablePropertiesInner1AttractionListInner.md | 142 + ...ertiesInner1AttractionListInnerDistance.md | 24 + docs/AvailablePropertiesInner1Geo.md | 80 + docs/AvailablePropertiesInner1GeoLocation.md | 14 + docs/AvailablePropertiesInner1LowestPrice.md | 75 + ...AvailablePropertiesInner1MediaListInner.md | 156 + docs/DefaultApi.md | 373 + docs/LocationApi.md | 86 - docs/LocationSearch.md | 15 - docs/LocationSearchPost200Response.md | 59 + docs/LocationSearchPost400Response.md | 13 + ...rchPost400ResponseValidationErrorsInner.md | 39 + docs/LocationSearchPostRequest.md | 117 + docs/PropertiesGet200Response.md | 14 + docs/PropertiesGet200ResponseListInner.md | 18 + ...iesPropertyIdAvailabilityGet200Response.md | 13 + ...lityGet200ResponseAvailabilityListInner.md | 48 + docs/PropertiesPropertyIdGet200Response.md | 14 + ...ropertyIdGet200ResponseProductListInner.md | 53 + ...et200ResponseProductListInnerPolicyInfo.md | 34 + ...sponseProductListInnerRatePlanListInner.md | 16 + ...tInnerRatePlanListInnerPricingListInner.md | 16 + ...pertiesPropertyIdGet200ResponseProperty.md | 29 + ...yIdGet200ResponsePropertyAwardListInner.md | 22 + ...ResponsePropertyCancellationGracePeriod.md | 15 + ...dGet200ResponsePropertyContactListInner.md | 31 + ...ropertyContactListInnerAddressListInner.md | 18 + ...rtyIdGet200ResponsePropertyFacilityInfo.md | 14 + ...ePropertyFacilityInfoGuestRoomListInner.md | 49 + ...yInfoGuestRoomListInnerAmenityListInner.md | 493 + ...ityInfoGuestRoomListInnerMediaListInner.md | 1173 ++ ...yInfoGuestRoomListInnerMessageListInner.md | 59 + ...opertyIdGet200ResponsePropertyGuestInfo.md | 16 + ...IdGet200ResponsePropertyPolicyListInner.md | 33 + ...icyListInnerCancellationPolicyListInner.md | 19 + ...opertyPolicyListInnerFeePolicyListInner.md | 193 + ...ePropertyPolicyListInnerGuaranteePolicy.md | 20 + ...sponsePropertyPolicyListInnerPetsPolicy.md | 16 + ...opertyPolicyListInnerTaxPolicyListInner.md | 160 + ...rtyIdGet200ResponsePropertyPropertyInfo.md | 162 + ...rtyPropertyInfoAcceptedPaymentListInner.md | 57 + ...nsePropertyPropertyInfoMessageListInner.md | 59 + ...tyIdGet200ResponsePropertyRecordCreated.md | 17 + ...yIdGet200ResponsePropertyRecordModified.md | 17 + ...dGet200ResponsePropertyServiceListInner.md | 671 + ...yServiceListInnerOperationTimeListInner.md | 21 + docs/PropertyApi.md | 164 - docs/PropertyGet.md | 13 - docs/PropertyList.md | 14 - docs/V1AvailabilityGetPost200Response.md | 16 - ...lityGetPost200ResponseRatePlanListInner.md | 16 - ...sponseRatePlanListInnerPricingListInner.md | 16 - ...ePlanListInnerPricingListInnerPriceList.md | 30 - ...lityGetPost200ResponseRoomTypeListInner.md | 13 - docs/V1AvailabilitySearchPost200Response.md | 14 - ...ilabilitySearchPost200ResponseListInner.md | 26 - ...200ResponseListInnerAttractionListInner.md | 15 - ...nseListInnerAttractionListInnerDistance.md | 14 - ...bilitySearchPost200ResponseListInnerGeo.md | 29 - ...archPost200ResponseListInnerGeoLocation.md | 14 - ...archPost200ResponseListInnerLowestPrice.md | 17 - ...hPost200ResponseListInnerMediaListInner.md | 16 - docs/V1LocationSearchPost200Response.md | 14 - ...1LocationSearchPost200ResponseListInner.md | 19 - docs/V1PropertyGetPost200Response.md | 15 - ...pertyGetPost200ResponseProductListInner.md | 20 - ...sponseProductListInnerMealPlanListInner.md | 14 - ...st200ResponseProductListInnerPolicyInfo.md | 24 - ...erPolicyInfoCancellationPolicyListInner.md | 20 - ...sponseProductListInnerRatePlanListInner.md | 17 - ...tInnerRatePlanListInnerPricingListInner.md | 16 - ...ePlanListInnerPricingListInnerPriceList.md | 32 - ...sponseProductListInnerRoomTypeListInner.md | 13 - docs/V1PropertyGetPost200ResponseProperty.md | 30 - ...etPost200ResponsePropertyAwardListInner.md | 14 - ...ResponsePropertyCancellationGracePeriod.md | 14 - ...Post200ResponsePropertyContactListInner.md | 14 - ...ropertyContactListInnerAddressListInner.md | 18 - ...yGetPost200ResponsePropertyFacilityInfo.md | 13 - ...ePropertyFacilityInfoGuestRoomListInner.md | 27 - ...yInfoGuestRoomListInnerAmenityListInner.md | 14 - ...ityInfoGuestRoomListInnerMediaListInner.md | 20 - ...InnerMediaListInnerRoomAmenityListInner.md | 14 - ...RoomListInnerMediaListInnerTagListInner.md | 14 - ...yInfoGuestRoomListInnerMessageListInner.md | 14 - ...V1PropertyGetPost200ResponsePropertyGeo.md | 16 - ...PropertyGetPost200ResponsePropertyGeoDa.md | 29 - ...PropertyGetPost200ResponsePropertyGeoDe.md | 29 - ...GetPost200ResponsePropertyGeoDeLocation.md | 14 - ...PropertyGetPost200ResponsePropertyGeoEn.md | 29 - ...PropertyGetPost200ResponsePropertyGeoNl.md | 29 - ...ertyGetPost200ResponsePropertyGuestInfo.md | 15 - ...etPost200ResponsePropertyMediaListInner.md | 20 - ...ponsePropertyMediaListInnerTagListInner.md | 14 - ...tPost200ResponsePropertyPolicyListInner.md | 23 - ...sponsePropertyPolicyListInnerPetsPolicy.md | 15 - ...opertyPolicyListInnerTaxPolicyListInner.md | 18 - ...yGetPost200ResponsePropertyPropertyInfo.md | 18 - ...rtyPropertyInfoAcceptedPaymentListInner.md | 15 - ...sePropertyPropertyInfoCategoryListInner.md | 15 - ...200ResponsePropertyPropertyInfoLocation.md | 14 - ...nsePropertyPropertyInfoMessageListInner.md | 14 - ...GetPost200ResponsePropertyRecordCreated.md | 16 - ...etPost200ResponsePropertyRecordModified.md | 16 - ...Post200ResponsePropertyServiceListInner.md | 22 - ...tyGetPost200ResponsePropertyTransaction.md | 15 - ...nsePropertyTransactionExternalListInner.md | 14 - docs/V1PropertyListPost200Response.md | 14 - .../V1PropertyListPost200ResponseListInner.md | 18 - openapitools.json | 2 +- pom.xml | 35 +- src/main/java/com/lodgea/ApiCallback.java | 4 +- src/main/java/com/lodgea/ApiClient.java | 135 +- src/main/java/com/lodgea/ApiException.java | 8 +- src/main/java/com/lodgea/ApiResponse.java | 4 +- src/main/java/com/lodgea/Configuration.java | 6 +- .../com/lodgea/GzipRequestInterceptor.java | 4 +- src/main/java/com/lodgea/JSON.java | 116 +- src/main/java/com/lodgea/Pair.java | 6 +- .../java/com/lodgea/ProgressRequestBody.java | 4 +- .../java/com/lodgea/ProgressResponseBody.java | 4 +- .../java/com/lodgea/ServerConfiguration.java | 2 +- src/main/java/com/lodgea/StringUtil.java | 6 +- src/main/java/com/lodgea/auth/ApiKeyAuth.java | 6 +- .../java/com/lodgea/auth/Authentication.java | 4 +- .../java/com/lodgea/auth/HttpBasicAuth.java | 4 +- .../java/com/lodgea/auth/HttpBearerAuth.java | 6 +- .../lodgea/controllers/AvailabilityApi.java | 390 - .../com/lodgea/controllers/DefaultApi.java | 751 + .../com/lodgea/controllers/LocationApi.java | 235 - .../com/lodgea/controllers/PropertyApi.java | 395 - .../lodgea/model/AbstractOpenApiSchema.java | 6 +- .../com/lodgea/model/AvailabilityGet.java | 242 - .../com/lodgea/model/AvailabilitySearch.java | 744 - .../AvailabilitySearchPost200Response.java | 380 + .../model/AvailabilitySearchPostRequest.java | 3695 ++++ .../model/AvailablePropertiesInner.java | 540 + .../model/AvailablePropertiesInner1.java | 2281 +++ ...lePropertiesInner1AttractionListInner.java | 560 + ...tiesInner1AttractionListInnerDistance.java | 291 + .../model/AvailablePropertiesInner1Geo.java | 1007 ++ ...AvailablePropertiesInner1GeoLocation.java} | 122 +- .../AvailablePropertiesInner1LowestPrice.java | 477 + ...ailablePropertiesInner1MediaListInner.java | 626 + .../java/com/lodgea/model/LocationSearch.java | 275 - .../model/LocationSearchPost200Response.java | 380 + .../model/LocationSearchPost400Response.java} | 117 +- ...hPost400ResponseValidationErrorsInner.java | 364 + .../model/LocationSearchPostRequest.java | 541 + ...nse.java => PropertiesGet200Response.java} | 112 +- ...=> PropertiesGet200ResponseListInner.java} | 132 +- ...sPropertyIdAvailabilityGet200Response.java | 228 + ...tyGet200ResponseAvailabilityListInner.java | 437 + .../PropertiesPropertyIdGet200Response.java | 261 + ...pertyIdGet200ResponseProductListInner.java | 562 + ...200ResponseProductListInnerPolicyInfo.java | 649 + ...nseProductListInnerRatePlanListInner.java} | 139 +- ...nerRatePlanListInnerPricingListInner.java} | 122 +- ...rtiesPropertyIdGet200ResponseProperty.java | 781 + ...dGet200ResponsePropertyAwardListInner.java | 289 + ...ponsePropertyCancellationGracePeriod.java} | 84 +- ...et200ResponsePropertyContactListInner.java | 324 + ...ertyContactListInnerAddressListInner.java} | 127 +- ...yIdGet200ResponsePropertyFacilityInfo.java | 228 + ...ropertyFacilityInfoGuestRoomListInner.java | 646 + ...nfoGuestRoomListInnerAmenityListInner.java | 1228 ++ ...yInfoGuestRoomListInnerMediaListInner.java | 2874 ++++ ...nfoGuestRoomListInnerMessageListInner.java | 365 + ...rtyIdGet200ResponsePropertyGuestInfo.java} | 94 +- ...Get200ResponsePropertyPolicyListInner.java | 649 + ...ListInnerCancellationPolicyListInner.java} | 168 +- ...ertyPolicyListInnerFeePolicyListInner.java | 874 + ...opertyPolicyListInnerGuaranteePolicy.java} | 174 +- ...nsePropertyPolicyListInnerPetsPolicy.java} | 94 +- ...ertyPolicyListInnerTaxPolicyListInner.java | 808 + ...yIdGet200ResponsePropertyPropertyInfo.java | 764 + ...yPropertyInfoAcceptedPaymentListInner.java | 390 + ...ePropertyPropertyInfoMessageListInner.java | 365 + ...dGet200ResponsePropertyRecordCreated.java} | 107 +- ...Get200ResponsePropertyRecordModified.java} | 107 +- ...et200ResponsePropertyServiceListInner.java | 1979 +++ ...erviceListInnerOperationTimeListInner.java | 451 + .../java/com/lodgea/model/PropertyGet.java | 209 - .../java/com/lodgea/model/PropertyList.java | 242 - .../V1AvailabilityGetPost200Response.java | 364 - ...onseRatePlanListInnerPricingListInner.java | 305 - ...lanListInnerPricingListInnerPriceList.java | 717 - ...tyGetPost200ResponseRoomTypeListInner.java | 209 - .../V1AvailabilitySearchPost200Response.java | 262 - ...abilitySearchPost200ResponseListInner.java | 699 - ...0ResponseListInnerAttractionListInner.java | 275 - ...eListInnerAttractionListInnerDistance.java | 240 - ...litySearchPost200ResponseListInnerGeo.java | 739 - ...chPost200ResponseListInnerGeoLocation.java | 237 - ...chPost200ResponseListInnerLowestPrice.java | 330 - ...ost200ResponseListInnerMediaListInner.java | 314 - .../V1LocationSearchPost200Response.java | 262 - ...ocationSearchPost200ResponseListInner.java | 405 - .../model/V1PropertyGetPost200Response.java | 297 - ...rtyGetPost200ResponseProductListInner.java | 492 - ...onseProductListInnerMealPlanListInner.java | 240 - ...200ResponseProductListInnerPolicyInfo.java | 607 - ...onseProductListInnerRatePlanListInner.java | 358 - ...lanListInnerPricingListInnerPriceList.java | 777 - ...onseProductListInnerRoomTypeListInner.java | 209 - .../V1PropertyGetPost200ResponseProperty.java | 873 - ...Post200ResponsePropertyAwardListInner.java | 240 - ...st200ResponsePropertyContactListInner.java | 262 - ...etPost200ResponsePropertyFacilityInfo.java | 229 - ...ropertyFacilityInfoGuestRoomListInner.java | 730 - ...nfoGuestRoomListInnerAmenityListInner.java | 240 - ...yInfoGuestRoomListInnerMediaListInner.java | 500 - ...nerMediaListInnerRoomAmenityListInner.java | 240 - ...omListInnerMediaListInnerTagListInner.java | 240 - ...nfoGuestRoomListInnerMessageListInner.java | 242 - ...PropertyGetPost200ResponsePropertyGeo.java | 316 - ...opertyGetPost200ResponsePropertyGeoDa.java | 739 - ...opertyGetPost200ResponsePropertyGeoDe.java | 739 - ...opertyGetPost200ResponsePropertyGeoEn.java | 739 - ...opertyGetPost200ResponsePropertyGeoNl.java | 739 - ...Post200ResponsePropertyMediaListInner.java | 491 - ...nsePropertyMediaListInnerTagListInner.java | 240 - ...ost200ResponsePropertyPolicyListInner.java | 565 - ...ertyPolicyListInnerTaxPolicyListInner.java | 377 - ...etPost200ResponsePropertyPropertyInfo.java | 439 - ...yPropertyInfoAcceptedPaymentListInner.java | 275 - ...PropertyPropertyInfoCategoryListInner.java | 270 - ...0ResponsePropertyPropertyInfoLocation.java | 237 - ...ePropertyPropertyInfoMessageListInner.java | 242 - ...st200ResponsePropertyServiceListInner.java | 533 - ...GetPost200ResponsePropertyTransaction.java | 304 - ...ePropertyTransactionExternalListInner.java | 242 - .../org/openapitools/client/ApiCallback.java | 62 - .../org/openapitools/client/ApiClient.java | 1461 -- .../org/openapitools/client/ApiException.java | 166 - .../org/openapitools/client/ApiResponse.java | 76 - .../openapitools/client/Configuration.java | 39 - .../client/GzipRequestInterceptor.java | 85 - .../java/org/openapitools/client/JSON.java | 456 - .../java/org/openapitools/client/Pair.java | 57 - .../client/ProgressRequestBody.java | 73 - .../client/ProgressResponseBody.java | 70 - .../client/ServerConfiguration.java | 58 - .../openapitools/client/ServerVariable.java | 23 - .../org/openapitools/client/StringUtil.java | 83 - .../client/api/AvailabilityApi.java | 230 - .../openapitools/client/api/LocationApi.java | 235 - .../openapitools/client/api/PropertyApi.java | 235 - .../openapitools/client/auth/ApiKeyAuth.java | 80 - .../client/auth/Authentication.java | 36 - .../client/auth/HttpBasicAuth.java | 57 - .../client/auth/HttpBearerAuth.java | 63 - .../client/model/AbstractOpenApiSchema.java | 149 - .../client/model/AvailabilitySearch.java | 744 - .../client/model/PropertyGet.java | 209 - .../V1AvailabilitySearchPost200Response.java | 262 - ...abilitySearchPost200ResponseListInner.java | 699 - ...0ResponseListInnerAttractionListInner.java | 275 - ...eListInnerAttractionListInnerDistance.java | 240 - ...litySearchPost200ResponseListInnerGeo.java | 739 - ...chPost200ResponseListInnerGeoLocation.java | 237 - ...chPost200ResponseListInnerLowestPrice.java | 330 - ...ost200ResponseListInnerMediaListInner.java | 314 - .../V1LocationSearchPost200Response.java | 262 - ...ocationSearchPost200ResponseListInner.java | 405 - .../model/V1PropertyGetPost200Response.java | 297 - ...rtyGetPost200ResponseProductListInner.java | 492 - ...onseProductListInnerMealPlanListInner.java | 240 - ...200ResponseProductListInnerPolicyInfo.java | 607 - ...onseProductListInnerRatePlanListInner.java | 358 - ...nnerRatePlanListInnerPricingListInner.java | 305 - ...lanListInnerPricingListInnerPriceList.java | 777 - ...onseProductListInnerRoomTypeListInner.java | 209 - .../V1PropertyGetPost200ResponseProperty.java | 873 - ...Post200ResponsePropertyAwardListInner.java | 240 - ...sponsePropertyCancellationGracePeriod.java | 237 - ...st200ResponsePropertyContactListInner.java | 262 - ...pertyContactListInnerAddressListInner.java | 374 - ...etPost200ResponsePropertyFacilityInfo.java | 229 - ...ropertyFacilityInfoGuestRoomListInner.java | 730 - ...nfoGuestRoomListInnerAmenityListInner.java | 240 - ...yInfoGuestRoomListInnerMediaListInner.java | 500 - ...nerMediaListInnerRoomAmenityListInner.java | 240 - ...omListInnerMediaListInnerTagListInner.java | 240 - ...nfoGuestRoomListInnerMessageListInner.java | 242 - ...PropertyGetPost200ResponsePropertyGeo.java | 316 - ...opertyGetPost200ResponsePropertyGeoDa.java | 739 - ...opertyGetPost200ResponsePropertyGeoDe.java | 739 - ...tPost200ResponsePropertyGeoDeLocation.java | 237 - ...opertyGetPost200ResponsePropertyGeoEn.java | 739 - ...opertyGetPost200ResponsePropertyGeoNl.java | 739 - ...tyGetPost200ResponsePropertyGuestInfo.java | 266 - ...Post200ResponsePropertyMediaListInner.java | 491 - ...nsePropertyMediaListInnerTagListInner.java | 240 - ...ost200ResponsePropertyPolicyListInner.java | 565 - ...onsePropertyPolicyListInnerPetsPolicy.java | 266 - ...ertyPolicyListInnerTaxPolicyListInner.java | 377 - ...etPost200ResponsePropertyPropertyInfo.java | 439 - ...yPropertyInfoAcceptedPaymentListInner.java | 275 - ...PropertyPropertyInfoCategoryListInner.java | 270 - ...0ResponsePropertyPropertyInfoLocation.java | 237 - ...ePropertyPropertyInfoMessageListInner.java | 242 - ...tPost200ResponsePropertyRecordCreated.java | 306 - ...Post200ResponsePropertyRecordModified.java | 306 - ...st200ResponsePropertyServiceListInner.java | 533 - ...GetPost200ResponsePropertyTransaction.java | 304 - ...ePropertyTransactionExternalListInner.java | 242 - .../controllers/AvailabilityApiTest.java | 49 - .../lodgea/controllers/DefaultApiTest.java | 113 + .../lodgea/controllers/LocationApiTest.java | 49 - .../lodgea/controllers/PropertyApiTest.java | 49 - ...vailabilitySearchPost200ResponseTest.java} | 22 +- ...=> AvailabilitySearchPostRequestTest.java} | 37 +- ...Inner1AttractionListInnerDistanceTest.java | 57 + ...pertiesInner1AttractionListInnerTest.java} | 22 +- ...lablePropertiesInner1GeoLocationTest.java} | 32 +- ... => AvailablePropertiesInner1GeoTest.java} | 152 +- ...lablePropertiesInner1LowestPriceTest.java} | 20 +- ...lePropertiesInner1MediaListInnerTest.java} | 26 +- ...ava => AvailablePropertiesInner1Test.java} | 28 +- ...java => AvailablePropertiesInnerTest.java} | 50 +- ...=> LocationSearchPost200ResponseTest.java} | 22 +- .../LocationSearchPost400ResponseTest.java | 51 + ...t400ResponseValidationErrorsInnerTest.java | 66 + ...ava => LocationSearchPostRequestTest.java} | 32 +- .../com/lodgea/model/LocationSearchTest.java | 50 - ...ropertiesGet200ResponseListInnerTest.java} | 18 +- ...java => PropertiesGet200ResponseTest.java} | 20 +- ...200ResponseAvailabilityListInnerTest.java} | 23 +- ...pertyIdAvailabilityGet200ResponseTest.java | 51 + ...sponseProductListInnerPolicyInfoTest.java} | 35 +- ...atePlanListInnerPricingListInnerTest.java} | 21 +- ...roductListInnerRatePlanListInnerTest.java} | 20 +- ...IdGet200ResponseProductListInnerTest.java} | 27 +- ...00ResponsePropertyAwardListInnerTest.java} | 20 +- ...ePropertyCancellationGracePeriodTest.java} | 20 +- ...ContactListInnerAddressListInnerTest.java} | 20 +- ...ResponsePropertyContactListInnerTest.java} | 22 +- ...uestRoomListInnerAmenityListInnerTest.java | 57 + ...GuestRoomListInnerMediaListInnerTest.java} | 33 +- ...uestRoomListInnerMessageListInnerTest.java | 56 + ...tyFacilityInfoGuestRoomListInnerTest.java} | 71 +- ...et200ResponsePropertyFacilityInfoTest.java | 51 + ...dGet200ResponsePropertyGuestInfoTest.java} | 20 +- ...InnerCancellationPolicyListInnerTest.java} | 28 +- ...olicyListInnerFeePolicyListInnerTest.java} | 20 +- ...rtyPolicyListInnerGuaranteePolicyTest.java | 97 + ...ropertyPolicyListInnerPetsPolicyTest.java} | 20 +- ...PolicyListInnerTaxPolicyListInnerTest.java | 91 + ...0ResponsePropertyPolicyListInnerTest.java} | 28 +- ...pertyInfoAcceptedPaymentListInnerTest.java | 56 + ...ertyPropertyInfoMessageListInnerTest.java} | 20 +- ...t200ResponsePropertyPropertyInfoTest.java} | 27 +- ...200ResponsePropertyRecordCreatedTest.java} | 20 +- ...00ResponsePropertyRecordModifiedTest.java} | 20 +- ...ceListInnerOperationTimeListInnerTest.java | 113 + ...ResponsePropertyServiceListInnerTest.java} | 21 +- ...PropertyIdGet200ResponsePropertyTest.java} | 64 +- ...opertiesPropertyIdGet200ResponseTest.java} | 32 +- .../com/lodgea/model/PropertyGetTest.java | 50 - .../com/lodgea/model/PropertyListTest.java | 58 - ...istInnerPricingListInnerPriceListTest.java | 187 - ...tPost200ResponseRoomTypeListInnerTest.java | 50 - ...tInnerAttractionListInnerDistanceTest.java | 59 - ...st200ResponseListInnerGeoLocationTest.java | 59 - ...SearchPost200ResponseListInnerGeoTest.java | 179 - ...ProductListInnerMealPlanListInnerTest.java | 59 - ...istInnerPricingListInnerPriceListTest.java | 203 - ...RatePlanListInnerPricingListInnerTest.java | 76 - ...ProductListInnerRatePlanListInnerTest.java | 85 - ...ProductListInnerRoomTypeListInnerTest.java | 50 - ...uestRoomListInnerAmenityListInnerTest.java | 59 - ...ediaListInnerRoomAmenityListInnerTest.java | 59 - ...stInnerMediaListInnerTagListInnerTest.java | 59 - ...oGuestRoomListInnerMediaListInnerTest.java | 111 - ...uestRoomListInnerMessageListInnerTest.java | 58 - ...st200ResponsePropertyFacilityInfoTest.java | 53 - ...tyGetPost200ResponsePropertyGeoDeTest.java | 179 - ...tyGetPost200ResponsePropertyGeoEnTest.java | 179 - ...tyGetPost200ResponsePropertyGeoNlTest.java | 179 - ...ertyGetPost200ResponsePropertyGeoTest.java | 78 - ...ropertyMediaListInnerTagListInnerTest.java | 59 - ...pertyInfoAcceptedPaymentListInnerTest.java | 66 - ...ertyPropertyInfoCategoryListInnerTest.java | 67 - ...ponsePropertyPropertyInfoLocationTest.java | 59 - ...pertyPropertyInfoMessageListInnerTest.java | 58 - ...ost200ResponsePropertyTransactionTest.java | 69 - .../client/api/AvailabilityApiTest.java | 49 - .../client/api/LocationApiTest.java | 49 - .../client/api/PropertyApiTest.java | 49 - .../client/model/AvailabilitySearchTest.java | 174 - .../client/model/LocationSearchTest.java | 50 - .../client/model/PropertyGetTest.java | 50 - ...tInnerAttractionListInnerDistanceTest.java | 59 - ...ponseListInnerAttractionListInnerTest.java | 68 - ...st200ResponseListInnerGeoLocationTest.java | 59 - ...SearchPost200ResponseListInnerGeoTest.java | 179 - ...st200ResponseListInnerLowestPriceTest.java | 83 - ...00ResponseListInnerMediaListInnerTest.java | 77 - ...itySearchPost200ResponseListInnerTest.java | 161 - ...AvailabilitySearchPost200ResponseTest.java | 61 - ...ionSearchPost200ResponseListInnerTest.java | 99 - .../V1LocationSearchPost200ResponseTest.java | 61 - ...ProductListInnerMealPlanListInnerTest.java | 59 - ...cyInfoCancellationPolicyListInnerTest.java | 107 - ...esponseProductListInnerPolicyInfoTest.java | 144 - ...istInnerPricingListInnerPriceListTest.java | 203 - ...RatePlanListInnerPricingListInnerTest.java | 76 - ...ProductListInnerRatePlanListInnerTest.java | 85 - ...ProductListInnerRoomTypeListInnerTest.java | 50 - ...etPost200ResponseProductListInnerTest.java | 112 - ...200ResponsePropertyAwardListInnerTest.java | 59 - ...sePropertyCancellationGracePeriodTest.java | 59 - ...yContactListInnerAddressListInnerTest.java | 90 - ...0ResponsePropertyContactListInnerTest.java | 61 - ...uestRoomListInnerAmenityListInnerTest.java | 59 - ...ediaListInnerRoomAmenityListInnerTest.java | 59 - ...stInnerMediaListInnerTagListInnerTest.java | 59 - ...oGuestRoomListInnerMediaListInnerTest.java | 111 - ...uestRoomListInnerMessageListInnerTest.java | 58 - ...rtyFacilityInfoGuestRoomListInnerTest.java | 167 - ...st200ResponsePropertyFacilityInfoTest.java | 53 - ...tyGetPost200ResponsePropertyGeoDaTest.java | 179 - ...t200ResponsePropertyGeoDeLocationTest.java | 59 - ...tyGetPost200ResponsePropertyGeoDeTest.java | 179 - ...tyGetPost200ResponsePropertyGeoEnTest.java | 179 - ...tyGetPost200ResponsePropertyGeoNlTest.java | 179 - ...ertyGetPost200ResponsePropertyGeoTest.java | 78 - ...tPost200ResponsePropertyGuestInfoTest.java | 66 - ...ropertyMediaListInnerTagListInnerTest.java | 59 - ...200ResponsePropertyMediaListInnerTest.java | 110 - ...PropertyPolicyListInnerPetsPolicyTest.java | 66 - ...PolicyListInnerTaxPolicyListInnerTest.java | 93 - ...00ResponsePropertyPolicyListInnerTest.java | 135 - ...pertyInfoAcceptedPaymentListInnerTest.java | 66 - ...ertyPropertyInfoCategoryListInnerTest.java | 67 - ...ponsePropertyPropertyInfoLocationTest.java | 59 - ...pertyPropertyInfoMessageListInnerTest.java | 58 - ...st200ResponsePropertyPropertyInfoTest.java | 97 - ...t200ResponsePropertyRecordCreatedTest.java | 75 - ...200ResponsePropertyRecordModifiedTest.java | 75 - ...0ResponsePropertyServiceListInnerTest.java | 125 - ...ropertyGetPost200ResponsePropertyTest.java | 202 - ...pertyTransactionExternalListInnerTest.java | 58 - ...ost200ResponsePropertyTransactionTest.java | 69 - .../V1PropertyGetPost200ResponseTest.java | 70 - 460 files changed, 47008 insertions(+), 62706 deletions(-) delete mode 100644 LICENSE delete mode 100644 docs/AvailabilityApi.md delete mode 100644 docs/AvailabilityGet.md delete mode 100644 docs/AvailabilitySearch.md create mode 100644 docs/AvailabilitySearchPost200Response.md create mode 100644 docs/AvailabilitySearchPostRequest.md create mode 100644 docs/AvailablePropertiesInner.md create mode 100644 docs/AvailablePropertiesInner1.md create mode 100644 docs/AvailablePropertiesInner1AttractionListInner.md create mode 100644 docs/AvailablePropertiesInner1AttractionListInnerDistance.md create mode 100644 docs/AvailablePropertiesInner1Geo.md create mode 100644 docs/AvailablePropertiesInner1GeoLocation.md create mode 100644 docs/AvailablePropertiesInner1LowestPrice.md create mode 100644 docs/AvailablePropertiesInner1MediaListInner.md create mode 100644 docs/DefaultApi.md delete mode 100644 docs/LocationApi.md delete mode 100644 docs/LocationSearch.md create mode 100644 docs/LocationSearchPost200Response.md create mode 100644 docs/LocationSearchPost400Response.md create mode 100644 docs/LocationSearchPost400ResponseValidationErrorsInner.md create mode 100644 docs/LocationSearchPostRequest.md create mode 100644 docs/PropertiesGet200Response.md create mode 100644 docs/PropertiesGet200ResponseListInner.md create mode 100644 docs/PropertiesPropertyIdAvailabilityGet200Response.md create mode 100644 docs/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.md create mode 100644 docs/PropertiesPropertyIdGet200Response.md create mode 100644 docs/PropertiesPropertyIdGet200ResponseProductListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.md create mode 100644 docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponseProperty.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyContactListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyRecordModified.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.md create mode 100644 docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.md delete mode 100644 docs/PropertyApi.md delete mode 100644 docs/PropertyGet.md delete mode 100644 docs/PropertyList.md delete mode 100644 docs/V1AvailabilityGetPost200Response.md delete mode 100644 docs/V1AvailabilityGetPost200ResponseRatePlanListInner.md delete mode 100644 docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.md delete mode 100644 docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.md delete mode 100644 docs/V1AvailabilityGetPost200ResponseRoomTypeListInner.md delete mode 100644 docs/V1AvailabilitySearchPost200Response.md delete mode 100644 docs/V1AvailabilitySearchPost200ResponseListInner.md delete mode 100644 docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.md delete mode 100644 docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.md delete mode 100644 docs/V1AvailabilitySearchPost200ResponseListInnerGeo.md delete mode 100644 docs/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.md delete mode 100644 docs/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.md delete mode 100644 docs/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.md delete mode 100644 docs/V1LocationSearchPost200Response.md delete mode 100644 docs/V1LocationSearchPost200ResponseListInner.md delete mode 100644 docs/V1PropertyGetPost200Response.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.md delete mode 100644 docs/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponseProperty.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyAwardListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyContactListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyFacilityInfo.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyGeo.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyGeoDa.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyGeoDe.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyGeoDeLocation.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyGeoEn.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyGeoNl.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyGuestInfo.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyMediaListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPolicyListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPropertyInfo.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyRecordCreated.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyRecordModified.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyServiceListInner.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyTransaction.md delete mode 100644 docs/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.md delete mode 100644 docs/V1PropertyListPost200Response.md delete mode 100644 docs/V1PropertyListPost200ResponseListInner.md delete mode 100644 src/main/java/com/lodgea/controllers/AvailabilityApi.java create mode 100644 src/main/java/com/lodgea/controllers/DefaultApi.java delete mode 100644 src/main/java/com/lodgea/controllers/LocationApi.java delete mode 100644 src/main/java/com/lodgea/controllers/PropertyApi.java delete mode 100644 src/main/java/com/lodgea/model/AvailabilityGet.java delete mode 100644 src/main/java/com/lodgea/model/AvailabilitySearch.java create mode 100644 src/main/java/com/lodgea/model/AvailabilitySearchPost200Response.java create mode 100644 src/main/java/com/lodgea/model/AvailabilitySearchPostRequest.java create mode 100644 src/main/java/com/lodgea/model/AvailablePropertiesInner.java create mode 100644 src/main/java/com/lodgea/model/AvailablePropertiesInner1.java create mode 100644 src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInner.java create mode 100644 src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistance.java create mode 100644 src/main/java/com/lodgea/model/AvailablePropertiesInner1Geo.java rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyGeoDeLocation.java => AvailablePropertiesInner1GeoLocation.java} (59%) create mode 100644 src/main/java/com/lodgea/model/AvailablePropertiesInner1LowestPrice.java create mode 100644 src/main/java/com/lodgea/model/AvailablePropertiesInner1MediaListInner.java delete mode 100644 src/main/java/com/lodgea/model/LocationSearch.java create mode 100644 src/main/java/com/lodgea/model/LocationSearchPost200Response.java rename src/main/java/{org/openapitools/client/model/LocationSearch.java => com/lodgea/model/LocationSearchPost400Response.java} (51%) create mode 100644 src/main/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInner.java create mode 100644 src/main/java/com/lodgea/model/LocationSearchPostRequest.java rename src/main/java/com/lodgea/model/{V1PropertyListPost200Response.java => PropertiesGet200Response.java} (57%) rename src/main/java/com/lodgea/model/{V1PropertyListPost200ResponseListInner.java => PropertiesGet200ResponseListInner.java} (63%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200Response.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200Response.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.java rename src/main/java/com/lodgea/model/{V1AvailabilityGetPost200ResponseRatePlanListInner.java => PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.java} (50%) rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java => PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.java} (50%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProperty.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.java rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java => PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.java} (55%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInner.java rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java => PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.java} (57%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyGuestInfo.java => PropertiesPropertyIdGet200ResponsePropertyGuestInfo.java} (58%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.java rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java => PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.java} (54%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.java rename src/main/java/{org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java => com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.java} (53%) rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java => PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.java} (54%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.java rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyRecordCreated.java => PropertiesPropertyIdGet200ResponsePropertyRecordCreated.java} (57%) rename src/main/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyRecordModified.java => PropertiesPropertyIdGet200ResponsePropertyRecordModified.java} (57%) create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.java create mode 100644 src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.java delete mode 100644 src/main/java/com/lodgea/model/PropertyGet.java delete mode 100644 src/main/java/com/lodgea/model/PropertyList.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilityGetPost200Response.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200Response.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java delete mode 100644 src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1LocationSearchPost200Response.java delete mode 100644 src/main/java/com/lodgea/model/V1LocationSearchPost200ResponseListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200Response.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProperty.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeo.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDa.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDe.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEn.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNl.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransaction.java delete mode 100644 src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java delete mode 100644 src/main/java/org/openapitools/client/ApiCallback.java delete mode 100644 src/main/java/org/openapitools/client/ApiClient.java delete mode 100644 src/main/java/org/openapitools/client/ApiException.java delete mode 100644 src/main/java/org/openapitools/client/ApiResponse.java delete mode 100644 src/main/java/org/openapitools/client/Configuration.java delete mode 100644 src/main/java/org/openapitools/client/GzipRequestInterceptor.java delete mode 100644 src/main/java/org/openapitools/client/JSON.java delete mode 100644 src/main/java/org/openapitools/client/Pair.java delete mode 100644 src/main/java/org/openapitools/client/ProgressRequestBody.java delete mode 100644 src/main/java/org/openapitools/client/ProgressResponseBody.java delete mode 100644 src/main/java/org/openapitools/client/ServerConfiguration.java delete mode 100644 src/main/java/org/openapitools/client/ServerVariable.java delete mode 100644 src/main/java/org/openapitools/client/StringUtil.java delete mode 100644 src/main/java/org/openapitools/client/api/AvailabilityApi.java delete mode 100644 src/main/java/org/openapitools/client/api/LocationApi.java delete mode 100644 src/main/java/org/openapitools/client/api/PropertyApi.java delete mode 100644 src/main/java/org/openapitools/client/auth/ApiKeyAuth.java delete mode 100644 src/main/java/org/openapitools/client/auth/Authentication.java delete mode 100644 src/main/java/org/openapitools/client/auth/HttpBasicAuth.java delete mode 100644 src/main/java/org/openapitools/client/auth/HttpBearerAuth.java delete mode 100644 src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java delete mode 100644 src/main/java/org/openapitools/client/model/AvailabilitySearch.java delete mode 100644 src/main/java/org/openapitools/client/model/PropertyGet.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200Response.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java delete mode 100644 src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1LocationSearchPost200Response.java delete mode 100644 src/main/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200Response.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProperty.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeo.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDa.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDe.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEn.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNl.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModified.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransaction.java delete mode 100644 src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java delete mode 100644 src/test/java/com/lodgea/controllers/AvailabilityApiTest.java create mode 100644 src/test/java/com/lodgea/controllers/DefaultApiTest.java delete mode 100644 src/test/java/com/lodgea/controllers/LocationApiTest.java delete mode 100644 src/test/java/com/lodgea/controllers/PropertyApiTest.java rename src/test/java/com/lodgea/model/{V1LocationSearchPost200ResponseTest.java => AvailabilitySearchPost200ResponseTest.java} (57%) rename src/test/java/com/lodgea/model/{AvailabilitySearchTest.java => AvailabilitySearchPostRequestTest.java} (78%) create mode 100644 src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistanceTest.java rename src/test/java/com/lodgea/model/{V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java => AvailablePropertiesInner1AttractionListInnerTest.java} (51%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java => AvailablePropertiesInner1GeoLocationTest.java} (53%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyGeoDaTest.java => AvailablePropertiesInner1GeoTest.java} (62%) rename src/test/java/com/lodgea/model/{V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java => AvailablePropertiesInner1LowestPriceTest.java} (62%) rename src/test/java/com/lodgea/model/{V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java => AvailablePropertiesInner1MediaListInnerTest.java} (54%) rename src/test/java/com/lodgea/model/{V1AvailabilitySearchPost200ResponseListInnerTest.java => AvailablePropertiesInner1Test.java} (71%) rename src/test/java/com/lodgea/model/{V1LocationSearchPost200ResponseListInnerTest.java => AvailablePropertiesInnerTest.java} (50%) rename src/test/java/com/lodgea/model/{V1AvailabilitySearchPost200ResponseTest.java => LocationSearchPost200ResponseTest.java} (56%) create mode 100644 src/test/java/com/lodgea/model/LocationSearchPost400ResponseTest.java create mode 100644 src/test/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInnerTest.java rename src/test/java/com/lodgea/model/{AvailabilityGetTest.java => LocationSearchPostRequestTest.java} (54%) delete mode 100644 src/test/java/com/lodgea/model/LocationSearchTest.java rename src/test/java/com/lodgea/model/{V1PropertyListPost200ResponseListInnerTest.java => PropertiesGet200ResponseListInnerTest.java} (70%) rename src/test/java/com/lodgea/model/{V1PropertyListPost200ResponseTest.java => PropertiesGet200ResponseTest.java} (60%) rename src/test/java/com/lodgea/model/{V1AvailabilityGetPost200ResponseTest.java => PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInnerTest.java} (59%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java => PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfoTest.java} (63%) rename src/test/java/com/lodgea/model/{V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerTest.java => PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java} (57%) rename src/test/java/com/lodgea/model/{V1AvailabilityGetPost200ResponseRatePlanListInnerTest.java => PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerTest.java} (58%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponseProductListInnerTest.java => PropertiesPropertyIdGet200ResponseProductListInnerTest.java} (62%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyAwardListInnerTest.java} (54%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java => PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriodTest.java} (53%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInnerTest.java} (61%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyContactListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyContactListInnerTest.java} (52%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java} (67%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java} (55%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyGuestInfoTest.java => PropertiesPropertyIdGet200ResponsePropertyGuestInfoTest.java} (61%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInnerTest.java} (61%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInnerTest.java} (63%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicyTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java => PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicyTest.java} (55%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java => PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTest.java} (67%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInnerTest.java} (50%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java => PropertiesPropertyIdGet200ResponsePropertyPropertyInfoTest.java} (58%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java => PropertiesPropertyIdGet200ResponsePropertyRecordCreatedTest.java} (60%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java => PropertiesPropertyIdGet200ResponsePropertyRecordModifiedTest.java} (59%) create mode 100644 src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInnerTest.java rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java => PropertiesPropertyIdGet200ResponsePropertyServiceListInnerTest.java} (71%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponsePropertyTest.java => PropertiesPropertyIdGet200ResponsePropertyTest.java} (59%) rename src/test/java/com/lodgea/model/{V1PropertyGetPost200ResponseTest.java => PropertiesPropertyIdGet200ResponseTest.java} (51%) delete mode 100644 src/test/java/com/lodgea/model/PropertyGetTest.java delete mode 100644 src/test/java/com/lodgea/model/PropertyListTest.java delete mode 100644 src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceListTest.java delete mode 100644 src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java delete mode 100644 src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java delete mode 100644 src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java delete mode 100644 src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java delete mode 100644 src/test/java/org/openapitools/client/api/AvailabilityApiTest.java delete mode 100644 src/test/java/org/openapitools/client/api/LocationApiTest.java delete mode 100644 src/test/java/org/openapitools/client/api/PropertyApiTest.java delete mode 100644 src/test/java/org/openapitools/client/model/AvailabilitySearchTest.java delete mode 100644 src/test/java/org/openapitools/client/model/LocationSearchTest.java delete mode 100644 src/test/java/org/openapitools/client/model/PropertyGetTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDaTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java delete mode 100644 src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 0a981d0..b81e814 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,78 +1,59 @@ .github/workflows/maven.yml .gitignore +.openapi-generator-ignore .travis.yml README.md api/openapi.yaml build.gradle build.sbt -docs/AvailabilityApi.md -docs/AvailabilityGet.md -docs/AvailabilitySearch.md -docs/LocationApi.md -docs/LocationSearch.md -docs/PropertyApi.md -docs/PropertyGet.md -docs/PropertyList.md -docs/V1AvailabilityGetPost200Response.md -docs/V1AvailabilityGetPost200ResponseRatePlanListInner.md -docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.md -docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.md -docs/V1AvailabilityGetPost200ResponseRoomTypeListInner.md -docs/V1AvailabilitySearchPost200Response.md -docs/V1AvailabilitySearchPost200ResponseListInner.md -docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.md -docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.md -docs/V1AvailabilitySearchPost200ResponseListInnerGeo.md -docs/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.md -docs/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.md -docs/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.md -docs/V1LocationSearchPost200Response.md -docs/V1LocationSearchPost200ResponseListInner.md -docs/V1PropertyGetPost200Response.md -docs/V1PropertyGetPost200ResponseProductListInner.md -docs/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md -docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.md -docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.md -docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.md -docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.md -docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.md -docs/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.md -docs/V1PropertyGetPost200ResponseProperty.md -docs/V1PropertyGetPost200ResponsePropertyAwardListInner.md -docs/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.md -docs/V1PropertyGetPost200ResponsePropertyContactListInner.md -docs/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.md -docs/V1PropertyGetPost200ResponsePropertyFacilityInfo.md -docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.md -docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md -docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md -docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.md -docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.md -docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md -docs/V1PropertyGetPost200ResponsePropertyGeo.md -docs/V1PropertyGetPost200ResponsePropertyGeoDa.md -docs/V1PropertyGetPost200ResponsePropertyGeoDe.md -docs/V1PropertyGetPost200ResponsePropertyGeoDeLocation.md -docs/V1PropertyGetPost200ResponsePropertyGeoEn.md -docs/V1PropertyGetPost200ResponsePropertyGeoNl.md -docs/V1PropertyGetPost200ResponsePropertyGuestInfo.md -docs/V1PropertyGetPost200ResponsePropertyMediaListInner.md -docs/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.md -docs/V1PropertyGetPost200ResponsePropertyPolicyListInner.md -docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md -docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md -docs/V1PropertyGetPost200ResponsePropertyPropertyInfo.md -docs/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md -docs/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.md -docs/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.md -docs/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.md -docs/V1PropertyGetPost200ResponsePropertyRecordCreated.md -docs/V1PropertyGetPost200ResponsePropertyRecordModified.md -docs/V1PropertyGetPost200ResponsePropertyServiceListInner.md -docs/V1PropertyGetPost200ResponsePropertyTransaction.md -docs/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.md -docs/V1PropertyListPost200Response.md -docs/V1PropertyListPost200ResponseListInner.md +docs/AvailabilitySearchPost200Response.md +docs/AvailabilitySearchPostRequest.md +docs/AvailablePropertiesInner.md +docs/AvailablePropertiesInner1.md +docs/AvailablePropertiesInner1AttractionListInner.md +docs/AvailablePropertiesInner1AttractionListInnerDistance.md +docs/AvailablePropertiesInner1Geo.md +docs/AvailablePropertiesInner1GeoLocation.md +docs/AvailablePropertiesInner1LowestPrice.md +docs/AvailablePropertiesInner1MediaListInner.md +docs/DefaultApi.md +docs/LocationSearchPost200Response.md +docs/LocationSearchPost400Response.md +docs/LocationSearchPost400ResponseValidationErrorsInner.md +docs/LocationSearchPostRequest.md +docs/PropertiesGet200Response.md +docs/PropertiesGet200ResponseListInner.md +docs/PropertiesPropertyIdAvailabilityGet200Response.md +docs/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.md +docs/PropertiesPropertyIdGet200Response.md +docs/PropertiesPropertyIdGet200ResponseProductListInner.md +docs/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.md +docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md +docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.md +docs/PropertiesPropertyIdGet200ResponseProperty.md +docs/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.md +docs/PropertiesPropertyIdGet200ResponsePropertyContactListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.md +docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.md +docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md +docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md +docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.md +docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.md +docs/PropertiesPropertyIdGet200ResponsePropertyRecordModified.md +docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.md +docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.md git_push.sh gradle.properties gradle/wrapper/gradle-wrapper.jar @@ -99,81 +80,100 @@ src/main/java/com/lodgea/auth/ApiKeyAuth.java src/main/java/com/lodgea/auth/Authentication.java src/main/java/com/lodgea/auth/HttpBasicAuth.java src/main/java/com/lodgea/auth/HttpBearerAuth.java -src/main/java/com/lodgea/controllers/AvailabilityApi.java -src/main/java/com/lodgea/controllers/LocationApi.java -src/main/java/com/lodgea/controllers/PropertyApi.java +src/main/java/com/lodgea/controllers/DefaultApi.java src/main/java/com/lodgea/model/AbstractOpenApiSchema.java -src/main/java/com/lodgea/model/AvailabilityGet.java -src/main/java/com/lodgea/model/AvailabilitySearch.java -src/main/java/com/lodgea/model/LocationSearch.java -src/main/java/com/lodgea/model/PropertyGet.java -src/main/java/com/lodgea/model/PropertyList.java -src/main/java/com/lodgea/model/V1AvailabilityGetPost200Response.java -src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInner.java -src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.java -src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.java -src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInner.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200Response.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInner.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java -src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java -src/main/java/com/lodgea/model/V1LocationSearchPost200Response.java -src/main/java/com/lodgea/model/V1LocationSearchPost200ResponseListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200Response.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProperty.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeo.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDa.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDe.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEn.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNl.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordModified.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransaction.java -src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java -src/main/java/com/lodgea/model/V1PropertyListPost200Response.java -src/main/java/com/lodgea/model/V1PropertyListPost200ResponseListInner.java -src/test/java/com/lodgea/model/AvailabilityGetTest.java -src/test/java/com/lodgea/model/PropertyListTest.java -src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceListTest.java -src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerTest.java -src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerTest.java -src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInnerTest.java -src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseTest.java -src/test/java/com/lodgea/model/V1PropertyListPost200ResponseListInnerTest.java -src/test/java/com/lodgea/model/V1PropertyListPost200ResponseTest.java +src/main/java/com/lodgea/model/AvailabilitySearchPost200Response.java +src/main/java/com/lodgea/model/AvailabilitySearchPostRequest.java +src/main/java/com/lodgea/model/AvailablePropertiesInner.java +src/main/java/com/lodgea/model/AvailablePropertiesInner1.java +src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInner.java +src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistance.java +src/main/java/com/lodgea/model/AvailablePropertiesInner1Geo.java +src/main/java/com/lodgea/model/AvailablePropertiesInner1GeoLocation.java +src/main/java/com/lodgea/model/AvailablePropertiesInner1LowestPrice.java +src/main/java/com/lodgea/model/AvailablePropertiesInner1MediaListInner.java +src/main/java/com/lodgea/model/LocationSearchPost200Response.java +src/main/java/com/lodgea/model/LocationSearchPost400Response.java +src/main/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInner.java +src/main/java/com/lodgea/model/LocationSearchPostRequest.java +src/main/java/com/lodgea/model/PropertiesGet200Response.java +src/main/java/com/lodgea/model/PropertiesGet200ResponseListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200Response.java +src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200Response.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProperty.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModified.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.java +src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.java +src/test/java/com/lodgea/controllers/DefaultApiTest.java +src/test/java/com/lodgea/model/AvailabilitySearchPost200ResponseTest.java +src/test/java/com/lodgea/model/AvailabilitySearchPostRequestTest.java +src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistanceTest.java +src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerTest.java +src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoLocationTest.java +src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoTest.java +src/test/java/com/lodgea/model/AvailablePropertiesInner1LowestPriceTest.java +src/test/java/com/lodgea/model/AvailablePropertiesInner1MediaListInnerTest.java +src/test/java/com/lodgea/model/AvailablePropertiesInner1Test.java +src/test/java/com/lodgea/model/AvailablePropertiesInnerTest.java +src/test/java/com/lodgea/model/LocationSearchPost200ResponseTest.java +src/test/java/com/lodgea/model/LocationSearchPost400ResponseTest.java +src/test/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInnerTest.java +src/test/java/com/lodgea/model/LocationSearchPostRequestTest.java +src/test/java/com/lodgea/model/PropertiesGet200ResponseListInnerTest.java +src/test/java/com/lodgea/model/PropertiesGet200ResponseTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfoTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriodTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfoTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicyTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicyTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreatedTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModifiedTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyTest.java +src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 6d54bbd..e7e42a4 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -6.0.1 \ No newline at end of file +6.3.0 \ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 261eeb9..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/README.md b/README.md index c347137..382fc0d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # lodgea lodgea-java -- API version: 1.0.2 - - Build date: 2022-09-08T10:01:38.583514510Z[Etc/UTC] +- API version: 1.1.0 + - Build date: 2023-02-06T17:11:31.294726198Z[Etc/UTC] -LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. +LODGEA SDK for java. Check out https://docs.lodgea.io for more information. *Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)* @@ -40,7 +40,7 @@ Add this dependency to your project's POM: com.lodgea lodgea - 1.0.2 + 1.1.5 compile ``` @@ -56,7 +56,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "com.lodgea:lodgea:1.0.2" + implementation "com.lodgea:lodgea:1.1.5" } ``` @@ -70,7 +70,7 @@ mvn clean package Then manually install the following JARs: -* `target/lodgea-1.0.2.jar` +* `target/lodgea-1.1.5.jar` * `target/lib/*.jar` ## Getting Started @@ -85,12 +85,12 @@ import com.lodgea.ApiException; import com.lodgea.Configuration; import com.lodgea.auth.*; import com.lodgea.models.*; -import com.lodgea.controllers.AvailabilityApi; +import com.lodgea.controllers.DefaultApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.eu.lodgea.io"); + defaultClient.setBasePath("https://api.eu.lodgea.io/v1"); // Configure API key authorization: ApiKeyAuth ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); @@ -98,13 +98,13 @@ public class Example { // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //ApiKeyAuth.setApiKeyPrefix("Token"); - AvailabilityApi apiInstance = new AvailabilityApi(defaultClient); - AvailabilityGet availabilityGet = new AvailabilityGet(); // AvailabilityGet | Availability get parameter + DefaultApi apiInstance = new DefaultApi(defaultClient); + AvailabilitySearchPostRequest availabilitySearchPostRequest = new AvailabilitySearchPostRequest(); // AvailabilitySearchPostRequest | try { - V1AvailabilityGetPost200Response result = apiInstance.v1AvailabilityGetPost(availabilityGet); + AvailabilitySearchPost200Response result = apiInstance.availabilitySearchPost(availabilitySearchPostRequest); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AvailabilityApi#v1AvailabilityGetPost"); + System.err.println("Exception when calling DefaultApi#availabilitySearchPost"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -117,84 +117,66 @@ public class Example { ## Documentation for API Endpoints -All URIs are relative to *https://api.eu.lodgea.io* +All URIs are relative to *https://api.eu.lodgea.io/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AvailabilityApi* | [**v1AvailabilityGetPost**](docs/AvailabilityApi.md#v1AvailabilityGetPost) | **POST** /v1/availability/get | Get Availability for Property -*AvailabilityApi* | [**v1AvailabilitySearchPost**](docs/AvailabilityApi.md#v1AvailabilitySearchPost) | **POST** /v1/availability/search | Search for Availability -*LocationApi* | [**v1LocationSearchPost**](docs/LocationApi.md#v1LocationSearchPost) | **POST** /v1/location/search | Search for Location -*PropertyApi* | [**v1PropertyGetPost**](docs/PropertyApi.md#v1PropertyGetPost) | **POST** /v1/property/get | Get Property by ID -*PropertyApi* | [**v1PropertyListPost**](docs/PropertyApi.md#v1PropertyListPost) | **POST** /v1/property/list | List properties by a specific keyword +*DefaultApi* | [**availabilitySearchPost**](docs/DefaultApi.md#availabilitySearchPost) | **POST** /availability/search | Search for availability +*DefaultApi* | [**locationSearchPost**](docs/DefaultApi.md#locationSearchPost) | **POST** /location/search | Search for location +*DefaultApi* | [**propertiesGet**](docs/DefaultApi.md#propertiesGet) | **GET** /properties | List (filtered) properties +*DefaultApi* | [**propertiesPropertyIdAvailabilityGet**](docs/DefaultApi.md#propertiesPropertyIdAvailabilityGet) | **GET** /properties/{propertyId}/availability | Get a properties availability +*DefaultApi* | [**propertiesPropertyIdGet**](docs/DefaultApi.md#propertiesPropertyIdGet) | **GET** /properties/{propertyId} | Get a properties details ## Documentation for Models - - [AvailabilityGet](docs/AvailabilityGet.md) - - [AvailabilitySearch](docs/AvailabilitySearch.md) - - [LocationSearch](docs/LocationSearch.md) - - [PropertyGet](docs/PropertyGet.md) - - [PropertyList](docs/PropertyList.md) - - [V1AvailabilityGetPost200Response](docs/V1AvailabilityGetPost200Response.md) - - [V1AvailabilityGetPost200ResponseRatePlanListInner](docs/V1AvailabilityGetPost200ResponseRatePlanListInner.md) - - [V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner](docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.md) - - [V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList](docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.md) - - [V1AvailabilityGetPost200ResponseRoomTypeListInner](docs/V1AvailabilityGetPost200ResponseRoomTypeListInner.md) - - [V1AvailabilitySearchPost200Response](docs/V1AvailabilitySearchPost200Response.md) - - [V1AvailabilitySearchPost200ResponseListInner](docs/V1AvailabilitySearchPost200ResponseListInner.md) - - [V1AvailabilitySearchPost200ResponseListInnerAttractionListInner](docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.md) - - [V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance](docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.md) - - [V1AvailabilitySearchPost200ResponseListInnerGeo](docs/V1AvailabilitySearchPost200ResponseListInnerGeo.md) - - [V1AvailabilitySearchPost200ResponseListInnerGeoLocation](docs/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.md) - - [V1AvailabilitySearchPost200ResponseListInnerLowestPrice](docs/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.md) - - [V1AvailabilitySearchPost200ResponseListInnerMediaListInner](docs/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.md) - - [V1LocationSearchPost200Response](docs/V1LocationSearchPost200Response.md) - - [V1LocationSearchPost200ResponseListInner](docs/V1LocationSearchPost200ResponseListInner.md) - - [V1PropertyGetPost200Response](docs/V1PropertyGetPost200Response.md) - - [V1PropertyGetPost200ResponseProductListInner](docs/V1PropertyGetPost200ResponseProductListInner.md) - - [V1PropertyGetPost200ResponseProductListInnerMealPlanListInner](docs/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md) - - [V1PropertyGetPost200ResponseProductListInnerPolicyInfo](docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.md) - - [V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner](docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.md) - - [V1PropertyGetPost200ResponseProductListInnerRatePlanListInner](docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.md) - - [V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner](docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.md) - - [V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList](docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.md) - - [V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner](docs/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.md) - - [V1PropertyGetPost200ResponseProperty](docs/V1PropertyGetPost200ResponseProperty.md) - - [V1PropertyGetPost200ResponsePropertyAwardListInner](docs/V1PropertyGetPost200ResponsePropertyAwardListInner.md) - - [V1PropertyGetPost200ResponsePropertyCancellationGracePeriod](docs/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.md) - - [V1PropertyGetPost200ResponsePropertyContactListInner](docs/V1PropertyGetPost200ResponsePropertyContactListInner.md) - - [V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner](docs/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.md) - - [V1PropertyGetPost200ResponsePropertyFacilityInfo](docs/V1PropertyGetPost200ResponsePropertyFacilityInfo.md) - - [V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner](docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.md) - - [V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner](docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md) - - [V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner](docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md) - - [V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner](docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.md) - - [V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner](docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.md) - - [V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner](docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md) - - [V1PropertyGetPost200ResponsePropertyGeo](docs/V1PropertyGetPost200ResponsePropertyGeo.md) - - [V1PropertyGetPost200ResponsePropertyGeoDa](docs/V1PropertyGetPost200ResponsePropertyGeoDa.md) - - [V1PropertyGetPost200ResponsePropertyGeoDe](docs/V1PropertyGetPost200ResponsePropertyGeoDe.md) - - [V1PropertyGetPost200ResponsePropertyGeoDeLocation](docs/V1PropertyGetPost200ResponsePropertyGeoDeLocation.md) - - [V1PropertyGetPost200ResponsePropertyGeoEn](docs/V1PropertyGetPost200ResponsePropertyGeoEn.md) - - [V1PropertyGetPost200ResponsePropertyGeoNl](docs/V1PropertyGetPost200ResponsePropertyGeoNl.md) - - [V1PropertyGetPost200ResponsePropertyGuestInfo](docs/V1PropertyGetPost200ResponsePropertyGuestInfo.md) - - [V1PropertyGetPost200ResponsePropertyMediaListInner](docs/V1PropertyGetPost200ResponsePropertyMediaListInner.md) - - [V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner](docs/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.md) - - [V1PropertyGetPost200ResponsePropertyPolicyListInner](docs/V1PropertyGetPost200ResponsePropertyPolicyListInner.md) - - [V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy](docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md) - - [V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner](docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md) - - [V1PropertyGetPost200ResponsePropertyPropertyInfo](docs/V1PropertyGetPost200ResponsePropertyPropertyInfo.md) - - [V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner](docs/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md) - - [V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner](docs/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.md) - - [V1PropertyGetPost200ResponsePropertyPropertyInfoLocation](docs/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.md) - - [V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner](docs/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.md) - - [V1PropertyGetPost200ResponsePropertyRecordCreated](docs/V1PropertyGetPost200ResponsePropertyRecordCreated.md) - - [V1PropertyGetPost200ResponsePropertyRecordModified](docs/V1PropertyGetPost200ResponsePropertyRecordModified.md) - - [V1PropertyGetPost200ResponsePropertyServiceListInner](docs/V1PropertyGetPost200ResponsePropertyServiceListInner.md) - - [V1PropertyGetPost200ResponsePropertyTransaction](docs/V1PropertyGetPost200ResponsePropertyTransaction.md) - - [V1PropertyGetPost200ResponsePropertyTransactionExternalListInner](docs/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.md) - - [V1PropertyListPost200Response](docs/V1PropertyListPost200Response.md) - - [V1PropertyListPost200ResponseListInner](docs/V1PropertyListPost200ResponseListInner.md) + - [AvailabilitySearchPost200Response](docs/AvailabilitySearchPost200Response.md) + - [AvailabilitySearchPostRequest](docs/AvailabilitySearchPostRequest.md) + - [AvailablePropertiesInner](docs/AvailablePropertiesInner.md) + - [AvailablePropertiesInner1](docs/AvailablePropertiesInner1.md) + - [AvailablePropertiesInner1AttractionListInner](docs/AvailablePropertiesInner1AttractionListInner.md) + - [AvailablePropertiesInner1AttractionListInnerDistance](docs/AvailablePropertiesInner1AttractionListInnerDistance.md) + - [AvailablePropertiesInner1Geo](docs/AvailablePropertiesInner1Geo.md) + - [AvailablePropertiesInner1GeoLocation](docs/AvailablePropertiesInner1GeoLocation.md) + - [AvailablePropertiesInner1LowestPrice](docs/AvailablePropertiesInner1LowestPrice.md) + - [AvailablePropertiesInner1MediaListInner](docs/AvailablePropertiesInner1MediaListInner.md) + - [LocationSearchPost200Response](docs/LocationSearchPost200Response.md) + - [LocationSearchPost400Response](docs/LocationSearchPost400Response.md) + - [LocationSearchPost400ResponseValidationErrorsInner](docs/LocationSearchPost400ResponseValidationErrorsInner.md) + - [LocationSearchPostRequest](docs/LocationSearchPostRequest.md) + - [PropertiesGet200Response](docs/PropertiesGet200Response.md) + - [PropertiesGet200ResponseListInner](docs/PropertiesGet200ResponseListInner.md) + - [PropertiesPropertyIdAvailabilityGet200Response](docs/PropertiesPropertyIdAvailabilityGet200Response.md) + - [PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner](docs/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.md) + - [PropertiesPropertyIdGet200Response](docs/PropertiesPropertyIdGet200Response.md) + - [PropertiesPropertyIdGet200ResponseProductListInner](docs/PropertiesPropertyIdGet200ResponseProductListInner.md) + - [PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo](docs/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.md) + - [PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner](docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md) + - [PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner](docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.md) + - [PropertiesPropertyIdGet200ResponseProperty](docs/PropertiesPropertyIdGet200ResponseProperty.md) + - [PropertiesPropertyIdGet200ResponsePropertyAwardListInner](docs/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod](docs/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.md) + - [PropertiesPropertyIdGet200ResponsePropertyContactListInner](docs/PropertiesPropertyIdGet200ResponsePropertyContactListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner](docs/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyFacilityInfo](docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.md) + - [PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner](docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner](docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner](docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner](docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyGuestInfo](docs/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.md) + - [PropertiesPropertyIdGet200ResponsePropertyPolicyListInner](docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner](docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner](docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy](docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md) + - [PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy](docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md) + - [PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner](docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyPropertyInfo](docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.md) + - [PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner](docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner](docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyRecordCreated](docs/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.md) + - [PropertiesPropertyIdGet200ResponsePropertyRecordModified](docs/PropertiesPropertyIdGet200ResponsePropertyRecordModified.md) + - [PropertiesPropertyIdGet200ResponsePropertyServiceListInner](docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.md) + - [PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner](docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.md) ## Documentation for Authorization diff --git a/api/openapi.yaml b/api/openapi.yaml index 7724f29..5f6d76c 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1,2025 +1,8608 @@ -openapi: 3.0.3 +openapi: 3.0.0 info: contact: email: support@lodgea.com - description: LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - license: - name: Apache 2.0 - url: http://www.apache.org/licenses/LICENSE-2.0.html + description: LODGEA SDK for java. Check out https://docs.lodgea.io for more information. termsOfService: https://www.lodgea.com/terms.html title: lodgea-java - version: 1.0.2 + version: 1.1.0 x-logo: url: https://docs.lodgea.io/lodgea.svg altText: LODGEA API Documentation externalDocs: description: Read the docs - url: https://docs.lodgea.io/ + url: https://docs.lodgea.io servers: - description: API for customers in the EU region - url: https://api.eu.lodgea.io + url: https://api.eu.lodgea.io/v1 - description: API for customers in the US region - url: https://api.us.lodgea.io -tags: -- description: Availability Endpoint - name: availability -- description: Location Endpoint - name: location -- description: Property Endpoint - name: property + url: https://api.us.lodgea.io/v1 +- description: API for user acceptance testing + url: https://api.uat.lodgea.io/v1 +security: +- ApiKeyAuth: [] paths: - /v1/property/get: + /location/search: post: - description: Get all information about a specific property by its ID. This parameter - is required. + description: Get a list of locations and their lowest available rate related + to a given keyword. requestBody: content: application/json: schema: - $ref: '#/components/schemas/propertyGet' - description: Provide the property ID to get more information about it - required: true + $ref: '#/components/schemas/_location_search_post_request' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/_v1_property_get_post_200_response' - description: Successful operation + $ref: '#/components/schemas/_location_search_post_200_response' + description: "Successful, a list of locations matching the given location\ + \ search text is returned." "400": - description: Bad request - missing parameter - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "401": - description: API Key is missing or invalid - headers: - apiKey: - $ref: '#/components/headers/apiKey' + content: + application/json: + schema: + $ref: '#/components/schemas/_location_search_post_400_response' + description: "We validate all calls to our API in a strict manner using\ + \ Zod. In case of any validation errors, we send back a 400 response with\ + \ a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md." "403": - description: Forbidden - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "404": - description: Not Found - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "405": - description: Invalid input - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "429": - description: Rate Limiting - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "500": - description: Internal server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "503": - description: Server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - security: - - ApiKeyAuth: [] - summary: Get Property by ID - tags: - - property + description: "Unauthorized, the api key in the \"apiKey\" header field is\ + \ invalid." + summary: Search for location x-content-type: application/json x-accepts: application/json - /v1/property/list: + /availability/search: post: - description: List properties by a specific keyword. + description: Get availability information based on search criteria. requestBody: content: application/json: schema: - $ref: '#/components/schemas/propertyList' - description: Provide the search keyword and optionally a page token to fetch - further responses. The page token can be added if additional results should - be returned. It is a base64 encoded dictionary and included in the first - response in case not all results were delivered - required: true + $ref: '#/components/schemas/_availability_search_post_request' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/_v1_property_list_post_200_response' - description: Successful operation + $ref: '#/components/schemas/_availability_search_post_200_response' + description: "Successful, a list of available properties matching the given\ + \ criteria is returned." "400": - description: Bad request - missing parameter - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "401": - description: API Key is missing or invalid - headers: - apiKey: - $ref: '#/components/headers/apiKey' + content: + application/json: + schema: + $ref: '#/components/schemas/_location_search_post_400_response' + description: "We validate all calls to our API in a strict manner using\ + \ Zod. In case of any validation errors, we send back a 400 response with\ + \ a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md." "403": - description: Forbidden - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "404": - description: Not Found - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "405": - description: Invalid input - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "429": - description: Rate Limiting - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "500": - description: Internal server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "503": - description: Server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - security: - - ApiKeyAuth: [] - summary: List properties by a specific keyword - tags: - - property + description: "Unauthorized, the api key in the \"apiKey\" header field is\ + \ invalid." + summary: Search for availability x-content-type: application/json x-accepts: application/json - /v1/availability/get: - post: - description: Get availability information based on a specific property. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/availabilityGet' - description: Availability get parameter - required: true + /properties: + get: + description: "List properties, optionally filtered by a keyword." + parameters: + - explode: true + in: query + name: keyword + required: false + schema: + description: The keyword to filter the properties by. Leave empty/undefined + to list all properties. + example: Strandresidenz Sylt + type: string + style: form + - explode: true + in: query + name: pageToken + required: false + schema: + description: The page token from the last response to load the subsequent + page. + example: eyJ0ZW5hbnRDb2RlIjoiZG1vLWRlbW8iLCJuYW1lIjoiTGFuZGhhdXMgVHJlc2tlcnNhbmQiLCJwcm9wZXJ0eUlkIjoibGFuZGhhdXMtdHJlc2tlcnNhbmQifQ== + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/_v1_availability_get_post_200_response' - description: Successful operation + $ref: '#/components/schemas/_properties_get_200_response' + description: "Successful, a list of properties matching the given keyword\ + \ is returned." "400": - description: Bad request - missing parameter - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "401": - description: API Key is missing or invalid - headers: - apiKey: - $ref: '#/components/headers/apiKey' + content: + application/json: + schema: + $ref: '#/components/schemas/_location_search_post_400_response' + description: "We validate all calls to our API in a strict manner using\ + \ Zod. In case of any validation errors, we send back a 400 response with\ + \ a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md." "403": - description: Forbidden - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "404": - description: Not Found - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "405": - description: Invalid input - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "429": - description: Rate Limiting - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "500": - description: Internal server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "503": - description: Server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - security: - - ApiKeyAuth: [] - summary: Get Availability for Property - tags: - - availability - x-content-type: application/json + description: "Unauthorized, the api key in the \"apiKey\" header field is\ + \ invalid." + summary: List (filtered) properties x-accepts: application/json - /v1/availability/search: - post: - description: Get availability information based on search criteria. The possible - values for the different content parameters are listed below. All parameters - are optional. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/availabilitySearch' - description: "Search Criteria, all parameters are optional" - required: false + /properties/{propertyId}: + get: + description: Get all information about a specific property by its ID. + parameters: + - explode: false + in: path + name: propertyId + required: true + schema: + description: The ID of the property + example: strandresidenz-sylt + minLength: 1 + type: string + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/_v1_availability_search_post_200_response' - description: Successful operation + $ref: '#/components/schemas/_properties__propertyId__get_200_response' + description: "Successful, property found, the whole property object is returned." "400": - description: Bad request - missing parameter - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "401": - description: API Key is missing or invalid - headers: - apiKey: - $ref: '#/components/headers/apiKey' + content: + application/json: + schema: + $ref: '#/components/schemas/_location_search_post_400_response' + description: "We validate all calls to our API in a strict manner using\ + \ Zod. In case of any validation errors, we send back a 400 response with\ + \ a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md." "403": - description: Forbidden - headers: - apiKey: - $ref: '#/components/headers/apiKey' + description: "Unauthorized, the api key in the \"apiKey\" header field is\ + \ invalid." "404": - description: Not Found - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "405": - description: Invalid input - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "429": - description: Rate Limiting - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "500": - description: Internal server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "503": - description: Server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - security: - - ApiKeyAuth: [] - summary: Search for Availability - tags: - - availability - x-content-type: application/json + description: The requested resource was not found + summary: Get a properties details x-accepts: application/json - /v1/location/search: - post: - description: Get a location by search text in free from. This parameter is required. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/locationSearch' - description: Free-text search criteria + /properties/{propertyId}/availability: + get: + description: Get detailed availability information for a specific property. + parameters: + - explode: false + in: path + name: propertyId + required: true + schema: + description: The ID of the property + example: strandresidenz-sylt + minLength: 1 + type: string + style: simple + - explode: true + in: query + name: currencyCode required: true + schema: + description: The currency in which prices should be returned. + enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR + example: EUR + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/_v1_location_search_post_200_response' - description: Successful operation + $ref: '#/components/schemas/_properties__propertyId__availability_get_200_response' + description: "Successful, a list of properties matching the given keyword\ + \ is returned." "400": - description: Bad request - missing parameter - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "401": - description: API Key is missing or invalid - headers: - apiKey: - $ref: '#/components/headers/apiKey' + content: + application/json: + schema: + $ref: '#/components/schemas/_location_search_post_400_response' + description: "We validate all calls to our API in a strict manner using\ + \ Zod. In case of any validation errors, we send back a 400 response with\ + \ a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md." "403": - description: Forbidden - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "404": - description: Not Found - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "405": - description: Invalid input - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "429": - description: Rate Limiting - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "500": - description: Internal server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "503": - description: Server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - security: - - ApiKeyAuth: [] - summary: Search for Location - tags: - - location - x-content-type: application/json + description: "Unauthorized, the api key in the \"apiKey\" header field is\ + \ invalid." + summary: Get a properties availability x-accepts: application/json components: - headers: - apiKey: - description: Customer specific API Key - explode: false - schema: - type: string - style: simple - responses: - "400": - description: Bad request - missing parameter - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "401": - description: API Key is missing or invalid - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "403": - description: Forbidden - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "404": - description: Not Found - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "405": - description: Invalid input - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "429": - description: Rate Limiting - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "500": - description: Internal server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - "503": - description: Server error - headers: - apiKey: - $ref: '#/components/headers/apiKey' - propertyList: - content: - application/json: - schema: - $ref: '#/components/schemas/_v1_property_list_post_200_response' - description: Successful operation - locationSearch: - content: - application/json: - schema: - $ref: '#/components/schemas/_v1_location_search_post_200_response' - description: Successful operation - availabilityGet: - content: - application/json: - schema: - $ref: '#/components/schemas/_v1_availability_get_post_200_response' - description: Successful operation - availabilitySearch: - content: - application/json: - schema: - $ref: '#/components/schemas/_v1_availability_search_post_200_response' - description: Successful operation - propertyGet: - content: - application/json: - schema: - $ref: '#/components/schemas/_v1_property_get_post_200_response' - description: Successful operation + parameters: {} schemas: - locationSearch: + _location_search_post_request: + additionalProperties: false properties: searchText: + description: A search text in free form to search locations by. example: Hotel Stadt Hamburg type: string currencyCode: + description: The currency code of the currency in which the lowest price + for each found location should be returned.

See also in + the appendix.

+ enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR example: EUR type: string languageCode: + description: The language code of the language in which the descriptive + texts for each found location should be returned.

Please note that beside + the general restrictions listed below only languages configured during + system setup for your respective tenant are allowed.

See also in the appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh example: en type: string + required: + - currencyCode + - languageCode + - searchText type: object - availabilityGet: + Available_Properties_inner: + example: + lowestPrice: 99.99 + name: Westerland + type: sublocality + currencyCode: EUR properties: - propertyCode: - example: strandresidenz-sylt + name: + description: The name of the location. + example: Westerland type: string currencyCode: + description: The currency code of the currency of the lowest price. + enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR example: EUR type: string + lowestPrice: + description: The lowest price available for this location. + example: 99.99 + type: number + type: + description: The type of the found location.

See also in + the appendix.

+ enum: + - formatted_address + - place_id + - locality + - administrative_area_level_1 + - administrative_area_level_2 + - administrative_area_level_3 + - administrative_area_level_4 + - administrative_area_level_5 + - state_code + - country + - country_code + - postal_code + - language + - natural_feature + - establishment + - sublocality + - sublocality_level_1 + - sublocality_level_2 + - sublocality_level_3 + - sublocality_level_4 + - sublocality_level_5 + - streetNumber + example: sublocality + type: string + required: + - currencyCode + - lowestPrice + - name + - type + type: object + _location_search_post_200_response: + example: + languageCode: en + list: + - lowestPrice: 99.99 + name: Westerland + type: sublocality + currencyCode: EUR + - lowestPrice: 99.99 + name: Westerland + type: sublocality + currencyCode: EUR + properties: + languageCode: + description: The language code of the language in which the descriptive + texts for each found location are returned.

Please note that beside + the general restrictions listed below only languages configured during + system setup for your respective tenant are allowed.

See also in the appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh + example: en + type: string + list: + description: A list of available properties matching the given criteria. + items: + $ref: '#/components/schemas/Available_Properties_inner' + title: Available Properties + type: array + required: + - languageCode + - list + type: object + _location_search_post_400_response_validationErrors_inner: + description: A Zod issue. More fields can be present depending on the issue + type. + properties: + code: + description: The ZodIssueCode describing the issue. + enum: + - invalid_type + - invalid_literal + - custom + - invalid_union + - invalid_union_discriminator + - invalid_enum_value + - unrecognized_keys + - invalid_arguments + - invalid_return_type + - invalid_date + - invalid_string + - too_small + - too_big + - invalid_intersection_types + - not_multiple_of + - not_finite + example: invalid_type + type: string + message: + description: A message describing the error in a human readable way. + example: "Invalid type. Expected string, received number." + type: string + path: + description: "An array describing the position of the faulty property. The\ + \ first segment will always be either \"body\", \"pathParameters\" or\ + \ \"queryParameters\" indicating on which part of your request the error\ + \ occurred." + example: + - body + - myObjectKey + items: + type: string + type: array + required: + - code + - message + - path + type: object + _location_search_post_400_response: + properties: + validationErrors: + items: + $ref: '#/components/schemas/_location_search_post_400_response_validationErrors_inner' + type: array + required: + - validationErrors type: object - availabilitySearch: + _availability_search_post_request: + additionalProperties: false properties: adultCount: + default: 2 + description: The amount of adults that will stay at the property. example: 2 - type: number + minimum: 1 + type: integer childCount: + description: The amount of children that will stay at the property. example: 2 - type: number + minimum: 0 + type: integer childAgeList: + description: "A list describing the ages of the children that will stay\ + \ at the property. If childAgeList is set childCount\ + \ has to be set as well. If childAgeList and childCount\ + \ are set, childCount must be equal to the length of childAgeList." + example: + - 4 + - 7 items: - example: 3 - type: number + maximum: 17 + minimum: 1 + type: integer type: array currencyCode: + description: The currency code of the currency in which the lowest price + for each found location should be returned.

See also in + the appendix.

+ enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR example: EUR type: string + languageCode: + description: The language code of the language in which the descriptive + texts for each found property should be returned.

Please note that beside + the general restrictions listed below only languages configured during + system setup for your respective tenant are allowed.

See also in the appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh + example: en + type: string + unitSystem: + default: metric + description: The unit system to use in the result. + enum: + - metric + - imperial + type: string minLengthOfStay: + description: The desired minimum length of stay in nights. example: 1 - type: number + maximum: 30 + minimum: 1 + type: integer maxLengthOfStay: + description: The desired maximum length of stay in nights. example: 27 - type: number + maximum: 30 + minimum: 1 + type: integer locationName: + description: "The name of a location the properties should be located in.If\ + \ locationType is set, locationName has to bet\ + \ set as well." example: Oberbayern type: string locationType: + description: "Defines the type oflocationName. If locationType\ + \ is set, locationName has to bet set as well.

See also\ + \ in the appendix.

" + enum: + - formatted_address + - place_id + - locality + - administrative_area_level_1 + - administrative_area_level_2 + - administrative_area_level_3 + - administrative_area_level_4 + - administrative_area_level_5 + - state_code + - country + - country_code + - postal_code + - language + - natural_feature + - establishment + - sublocality + - sublocality_level_1 + - sublocality_level_2 + - sublocality_level_3 + - sublocality_level_4 + - sublocality_level_5 + - streetNumber example: locality type: string earliestArrival: + description: The earliest possible arrival date. Expects exactly the format + of "YYYY-MM-DD". example: 2022-09-01 - format: date type: string latestReturn: + description: The latest possible departure date. Expects exactly the format + of "YYYY-MM-DD". example: 2022-09-08 - format: date type: string sort: - example: quality + description: |- + The criteria to order the results by. Sort order for price is ascending, sort order for quality is always descending. Quality is an internally calculated score for the property.', + + + )} + enum: + - quality + - price + example: price type: string serviceList: + description: A list of service codes indicating which services and amenities + the entire property should offer. The codes are AND chained.

See also + in the appendix.

+ example: + - 1 + - 2 items: - example: 242 + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 111 + - 112 + - 113 + - 114 + - 115 + - 116 + - 117 + - 118 + - 119 + - 120 + - 121 + - 122 + - 123 + - 124 + - 125 + - 126 + - 127 + - 128 + - 129 + - 130 + - 131 + - 132 + - 133 + - 134 + - 135 + - 136 + - 137 + - 138 + - 139 + - 140 + - 141 + - 142 + - 143 + - 144 + - 145 + - 146 + - 147 + - 148 + - 149 + - 150 + - 151 + - 152 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 162 + - 163 + - 164 + - 165 + - 166 + - 167 + - 168 + - 169 + - 170 + - 171 + - 172 + - 173 + - 174 + - 175 + - 176 + - 177 + - 178 + - 179 + - 180 + - 181 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 200 + - 201 + - 202 + - 203 + - 204 + - 205 + - 206 + - 207 + - 208 + - 209 + - 210 + - 211 + - 212 + - 213 + - 214 + - 215 + - 216 + - 217 + - 218 + - 219 + - 220 + - 221 + - 222 + - 223 + - 224 + - 225 + - 226 + - 227 + - 228 + - 229 + - 230 + - 231 + - 232 + - 233 + - 234 + - 235 + - 236 + - 237 + - 238 + - 239 + - 240 + - 241 + - 242 + - 243 + - 244 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 274 + - 275 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 284 + - 285 + - 286 + - 287 + - 288 + - 289 + - 290 + - 291 + - 292 + - 293 + - 294 + - 295 + - 296 + - 297 + - 298 + - 299 + - 300 + - 301 + - 302 + - 303 + - 304 + - 305 + - 306 + - 307 + - 308 + - 309 + - 310 + - 311 + - 312 + - 313 + - 314 + - 315 + - 316 + - 317 + - 318 + - 319 + - 320 + - 321 + - 322 + - 323 + - 324 + - 325 + - 326 + - 327 + - 328 + - 329 + - 331 + - 332 + - 333 + - 334 + - 335 + - 336 + - 337 + - 338 + - 339 + - 340 + - 341 + - 342 + - 343 + - 344 + - 345 + - 348 + - 349 + - 350 + - 351 + - 5000 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5034 + - 5035 + - 5036 + - 5037 + - 5039 + - 5040 + - 5041 + - 5042 + - 5043 + - 5044 + - 5045 + - 5046 + - 5047 + - 5048 + - 5049 + - 5050 + - 5051 + - 5052 + - 5053 + - 5054 + - 5055 + - 5056 + - 5057 + - 5058 + - 5059 + - 5060 + - 5061 + - 5062 + - 5063 + - 5064 + - 5065 + - 5066 + - 5067 + - 5068 + - 5069 + - 5070 + - 5071 + - 5072 + - 5073 + - 5074 + - 5075 + - 5076 + - 5077 + - 5078 + - 5079 + - 5080 + - 5081 + - 5082 + - 5083 + - 5084 + - 5085 + - 5086 + - 5087 + - 5088 + - 5089 + - 5090 + - 5091 + - 5092 + - 5093 + - 5094 + - 5095 + - 5096 + - 5097 + - 5098 + - 5099 + - 5100 + - 5101 + - 5102 + - 5103 + - 5104 + - 5105 + - 5106 + - 5107 + - 5108 + - 5109 + - 5110 + - 5111 + - 5112 + - 5113 + - 5114 + - 5115 + - 5116 + - 5117 + - 5118 + - 5119 + - 5120 + - 5121 + - 5122 + - 5123 + - 5124 + - 5125 + - 5126 + - 5127 + - 5128 + - 5129 + - 5130 + - 5131 + - 5132 + - 5133 + - 5134 + - 5135 + - 5136 + - 5137 + - 5138 + - 5139 + - 5140 + - 5141 + - 5142 + - 5143 + - 5144 + - 5145 + - 5146 + - 5147 + - 5148 + - 5149 + - 5150 + - 5151 + - 5152 + - 5153 + - 5154 + - 5156 + - 5157 + - 5158 + - 5159 + - 5160 + - 5161 + - 5162 + - 5163 + - 5164 + - 5165 + - 5166 + - 5167 + - 5168 + - 5169 + - 5170 + - 5171 + - 5172 + - 5173 + - 5174 + - 5175 + - 5176 + - 5177 + - 5178 + - 6000 + - 6001 + - 90001 type: number type: array typeList: + description: A list of property class type codes specifying the desired + property classes. The codes are OR chained.

See also in + the appendix.

+ example: + - 3 + - 4 items: - example: 20 + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 5000 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 type: number type: array unitTypeList: + description: A list of unit and room type codes indicating which kinds of + unit/room type is desired.

See also in + the appendix.

+ example: + - 5 + - 6 items: - example: 9 + enum: + - 1 + - 4 + - 5 + - 7 + - 8 + - 9 + - 10 + - 12 + - 13 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 31 + - 32 + - 33 type: number type: array unitAmenityList: + description: A list of room amenity type codes indicating which room level + amenities are desired. The codes are AND chained.

See also in + the appendix.

+ example: + - 7 + - 8 items: - example: 50 + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 111 + - 112 + - 113 + - 114 + - 115 + - 116 + - 117 + - 118 + - 119 + - 120 + - 121 + - 122 + - 123 + - 124 + - 125 + - 126 + - 127 + - 128 + - 129 + - 130 + - 131 + - 132 + - 133 + - 134 + - 135 + - 136 + - 137 + - 138 + - 139 + - 140 + - 141 + - 142 + - 143 + - 144 + - 145 + - 146 + - 147 + - 148 + - 149 + - 150 + - 151 + - 152 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 162 + - 163 + - 164 + - 165 + - 166 + - 167 + - 168 + - 169 + - 170 + - 171 + - 172 + - 173 + - 174 + - 175 + - 176 + - 177 + - 178 + - 179 + - 180 + - 181 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 200 + - 201 + - 202 + - 203 + - 204 + - 205 + - 206 + - 207 + - 208 + - 209 + - 210 + - 211 + - 212 + - 213 + - 214 + - 215 + - 216 + - 217 + - 218 + - 219 + - 220 + - 221 + - 222 + - 223 + - 224 + - 225 + - 226 + - 227 + - 228 + - 229 + - 230 + - 231 + - 232 + - 233 + - 234 + - 235 + - 236 + - 237 + - 238 + - 239 + - 240 + - 241 + - 242 + - 243 + - 244 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 274 + - 275 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5019 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5034 + - 5035 + - 5036 + - 5037 + - 5038 + - 5039 + - 5040 + - 5041 + - 5042 + - 5043 + - 5044 + - 5045 + - 5046 + - 5068 + - 5069 + - 5070 + - 5071 + - 5072 + - 5073 + - 5074 + - 5075 + - 5076 + - 5077 + - 5079 + - 5080 + - 5081 + - 5082 + - 5083 + - 5084 + - 5085 + - 5086 + - 5087 + - 5088 + - 5089 + - 5090 + - 5091 + - 5092 + - 5093 + - 5094 + - 5095 + - 5096 + - 5097 + - 5098 + - 5099 + - 5100 + - 5101 + - 5102 + - 5103 + - 5104 + - 5105 + - 5106 + - 5107 + - 5108 + - 5109 + - 5110 + - 5111 + - 5112 + - 5113 + - 5114 + - 5115 + - 5116 + - 5117 + - 5118 + - 5119 + - 5120 + - 5121 + - 5122 + - 5123 + - 5124 + - 5125 + - 5126 + - 5127 + - 5129 + - 5130 + - 5131 + - 5132 + - 5133 + - 5134 + - 5135 + - 5136 + - 5137 + - 5138 + - 5139 + - 5140 + - 5141 + - 5142 + - 5143 + - 5144 + - 5145 + - 5146 + - 5147 + - 5148 + - 5149 + - 5150 + - 5151 + - 5152 + - 5153 + - 5154 + - 5157 + - 5158 + - 5159 + - 5160 + - 5161 + - 5162 + - 5163 + - 5164 + - 5165 + - 5166 + - 5167 + - 5168 + - 5169 + - 5170 + - 5171 + - 5172 + - 5173 + - 5174 + - 5175 + - 5176 + - 5177 + - 5178 + - 5179 + - 5180 + - 5181 + - 5182 + - 5184 + - 5185 + - 5186 + - 5187 + - 5188 + - 5189 + - 5190 + - 5191 + - 5196 + - 5198 + - 5199 + - 5200 + - 5201 + - 5202 + - 5203 + - 5204 + - 5205 + - 5206 + - 5207 + - 5211 + - 5212 + - 90001 + - 90002 + - 90003 + - 90004 + - 90005 + - 90006 + - 90007 + - 90008 + - 90009 + - 90010 + - 90011 type: number type: array mealPlanList: + description: A list of meal plan type codes indicating which kinds of meal + plan type is desired.

See also in the + appendix.

+ example: + - 9 + - 10 items: - example: 19 + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 90001 type: number type: array + required: + - currencyCode + - languageCode type: object - propertyGet: + Available_Properties_inner_1_geo_location: + example: + lng: 8.304857 + lat: 54.9157118 properties: - propertyId: - example: strandresidenz-sylt - type: string + lng: + description: The longitude coordinate of the location. + example: 8.304857 + type: number + lat: + description: The location of the property as coordinates + example: 54.9157118 + type: number + required: + - lat + - lng type: object - propertyList: + Available_Properties_inner_1_geo: + description: A geographical information set describing the location of this + property.

See also in the appendix. + example: + country: Germany + formatted_address: "Nordhedig 20, 25980 Sylt, Germany" + locality: Sylt + sublocality: Westerland + language: de + sublocality_level_2: Some Sublocality + sublocality_level_1: Westerland + country_code: DE + route: Nordhedig + administrative_area_level_2: Friesland + sublocality_level_5: Some Sublocality + administrative_area_level_3: administrative_area_level_3 + sublocality_level_4: Some Sublocality + sublocality_level_3: Some Sublocality + administrative_area_level_1: Schleswig-Holstein + street_number: "20" + administrative_area_level_4: administrative_area_level_4 + location: + lng: 8.304857 + lat: 54.9157118 + administrative_area_level_5: administrative_area_level_5 + postal_code: "25980" + state_code: SH + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw properties: - keyword: - example: Strandresidenz Sylt + language: + description: The language of the localizable fields ot this geographical + information set.

Please note that beside the general restrictions listed + below only languages configured during system setup for your respective + tenant are allowed.

See also in the + appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh + example: de type: string - pageToken: - example: eyJ0ZW5hbnRDb2RlIjoiZG1vLWRlbW8iLCJuYW1lIjoiTGFuZGhhdXMgVHJlc2tlcnNhbmQiLCJwcm9wZXJ0eUlkIjoibGFuZGhhdXMtdHJlc2tlcnNhbmQifQ== + formatted_address: + description: The formatted address in the local format of the properties + location. + example: "Nordhedig 20, 25980 Sylt, Germany" type: string - type: object - _v1_property_get_post_200_response_property_recordCreated: - example: - role: admin - time: 1609411613660 - user: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f - tenant: dmo-demo - properties: - user: - example: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f + route: + description: The name of the route or street. + example: Nordhedig type: string - tenant: - example: dmo-demo + street_number: + description: The number of the street. + example: "20" type: string - role: - example: admin + postal_code: + description: The postal code of the location. + example: "25980" type: string - time: - example: 1609411613660 - type: number - type: object - _v1_property_get_post_200_response_property_recordModified: - example: - role: admin - time: 1652091332815 - user: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f - tenant: dmo-demo - properties: - user: - example: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f + locality: + description: A city or town. + example: Sylt type: string - tenant: - example: dmo-demo + sublocality: + description: A smaller area within a locality. + example: Westerland type: string - role: - example: admin + sublocality_level_1: + description: A smaller area within a locality at level 1. + example: Westerland type: string - time: - example: 1652091332815 - type: number - type: object - _v1_property_get_post_200_response_property_propertyInfo_messageList_inner: - example: - text: More sea does not work! - languageCode: en - properties: - languageCode: - example: en + sublocality_level_2: + description: A smaller area within a locality at level 2. + example: Some Sublocality type: string - text: - example: More sea does not work! + sublocality_level_3: + description: A smaller area within a locality at level 3. + example: Some Sublocality + type: string + sublocality_level_4: + description: A smaller area within a locality at level 4. + example: Some Sublocality + type: string + sublocality_level_5: + description: A smaller area within a locality at level 5. + example: Some Sublocality + type: string + administrative_area_level_1: + description: "A level 1 administrative area, such as a state or province." + example: Schleswig-Holstein + type: string + administrative_area_level_2: + description: A level 2 administrative area. + example: Friesland + type: string + administrative_area_level_3: + description: A level 3 administrative area + type: string + administrative_area_level_4: + description: A level 4 administrative area. + type: string + administrative_area_level_5: + description: A level 5 administrative area + type: string + state_code: + description: The state or province code for the administrative area. + example: SH + type: string + country: + description: The country of this geographical information set. + example: Germany + type: string + country_code: + description: The country code for the country. + example: DE + type: string + location: + $ref: '#/components/schemas/Available_Properties_inner_1_geo_location' + place_id: + description: Uniquely identifies a place in our database. + example: ChIJVaxqTevetEcRyfs8PGHK6mw type: string + required: + - formatted_address + - language + - location + - place_id type: object - _v1_property_get_post_200_response_property_propertyInfo_categoryList_inner: + Available_Properties_inner_1_mediaList_inner: example: - code: 34 - name: Vacation home - exists: true + tagList: + - 3 + - 55 + isMainImage: true + sortOrder: 1000 + url: 5e3d9d49e9480.jpg properties: - exists: + tagList: + description: A list of tag codes for the media.

See also in + the appendix.

+ example: + - 3 + - 55 + items: + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 10 + - 11 + - 13 + - 14 + - 37 + - 41 + - 42 + - 43 + - 50 + - 55 + - 61 + - 70 + - 74 + - 81 + - 82 + - 87 + - 89 + - 90 + - 94 + - 95 + - 96 + - 97 + - 100 + - 102 + - 103 + - 104 + - 106 + - 107 + - 108 + - 112 + - 113 + - 114 + - 115 + - 116 + - 124 + - 125 + - 128 + - 131 + - 133 + - 134 + - 137 + - 141 + - 143 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 164 + - 165 + - 167 + - 172 + - 173 + - 177 + - 178 + - 179 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 197 + - 198 + - 199 + - 204 + - 205 + - 240 + - 241 + - 242 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 284 + - 285 + - 286 + - 287 + - 289 + - 290 + - 291 + type: number + type: array + isMainImage: + description: Whether the media is the main image for the property. + example: true type: boolean - code: - example: 34 - type: number - name: - example: Vacation home + url: + description: The URL for the media. + example: 5e3d9d49e9480.jpg type: string + sortOrder: + description: The sort order for the media. + example: 1000 + type: number + required: + - isMainImage + - sortOrder + - tagList + - url type: object - _v1_property_get_post_200_response_property_propertyInfo_location: + Available_Properties_inner_1_attractionList_inner_distance: + description: The distance from the property to this attraction. Whether this + is road or air distance is not clearly defined as the values are entered by + the tenants admins. example: - latitude: 54.91574091463751 - longitude: 8.30486146909412 + unit: m + value: 2300 properties: - latitude: - example: 54.91574091463751 - type: number - longitude: - example: 8.30486146909412 + value: + description: The numeric value of the distance. + example: 2300 type: number + unit: + description: The unit of the value of the distance. + enum: + - m + - ft + example: m + type: string + required: + - unit + - value type: object - _v1_property_get_post_200_response_property_propertyInfo_acceptedPaymentList_inner: + Available_Properties_inner_1_attractionList_inner: example: - code: eccard - name: EC-card - type: debitcard + distance: + unit: m + value: 2300 + name: Flughafen Sylt + typeCode: 0.8008281904610115 properties: - code: - example: eccard - type: string + typeCode: + description: The code for this attraction type.

See also in + the appendix.

+ enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 90001 + - 90002 + - 90003 + - 90004 + - 90005 + - 90006 + - 90007 + - 90008 + - 90009 + - 90010 + type: number name: - example: EC-card - type: string - type: - example: debitcard + description: The name of the attraction. Names are proper nouns and therefore + not affected by the given language code. + example: Flughafen Sylt type: string + distance: + $ref: '#/components/schemas/Available_Properties_inner_1_attractionList_inner_distance' + required: + - distance + - name + - typeCode type: object - _v1_property_get_post_200_response_property_propertyInfo: + Available_Properties_inner_1_lowestPrice: + description: An object outlining the stay with the lowest available price point + for this property. example: - messageList: - - text: More sea does not work! - languageCode: en - - text: More sea does not work! - languageCode: en - unitCount: 4 - categoryList: - - code: 34 - name: Vacation home - exists: true - - code: 34 - name: Vacation home - exists: true - location: - latitude: 54.91574091463751 - longitude: 8.30486146909412 - languageList: - - de - - de - acceptedPaymentList: - - code: eccard - name: EC-card - type: debitcard - - code: eccard - name: EC-card - type: debitcard + lengthOfStay: 1 + amount: 89.99 + returnDate: 1660867200 + currencyCode: EUR + arrivalDate: 1660780800 properties: - unitCount: - example: 4 + amount: + description: The amount of the lowest price. + example: 89.99 type: number - messageList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_propertyInfo_messageList_inner' - type: array - categoryList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_propertyInfo_categoryList_inner' - type: array - languageList: - items: - example: de - type: string - type: array - location: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_propertyInfo_location' - acceptedPaymentList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_propertyInfo_acceptedPaymentList_inner' - type: array - type: object - _v1_property_get_post_200_response_property_guestInfo: - example: - guestNameListRequired: true - guestContactNumberRequired: true - guestAddressRequired: true - properties: - guestAddressRequired: - type: boolean - guestContactNumberRequired: - type: boolean - guestNameListRequired: - type: boolean - type: object - _v1_property_get_post_200_response_property_awardList_inner: - example: - provider: star-rating - rating: 0 - properties: - provider: - example: star-rating + currencyCode: + description: The currency code for the given amount.

See also in + the appendix.

+ enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR + example: EUR type: string - rating: - example: 0 + arrivalDate: + description: Arrival date for the given price as unix timestamp (seconds). + example: 1660780800 type: number - type: object - _v1_property_get_post_200_response_property_contactList_inner_addressList_inner: - example: - cityName: Sylt - propertyName: Strandresidenz Sylt - countryCode: DE - postalCode: "25980" - state: SH - addressLine: Nordhedig 20 - properties: - addressLine: - example: Nordhedig 20 - type: string - propertyName: - example: Strandresidenz Sylt - type: string - cityName: - example: Sylt - type: string - postalCode: - example: "25980" - type: string - state: - example: SH - type: string - countryCode: - example: DE - type: string - type: object - _v1_property_get_post_200_response_property_contactList_inner: - example: - profileType: physicallocation - addressList: - - cityName: Sylt - propertyName: Strandresidenz Sylt - countryCode: DE - postalCode: "25980" - state: SH - addressLine: Nordhedig 20 - - cityName: Sylt - propertyName: Strandresidenz Sylt - countryCode: DE - postalCode: "25980" - state: SH - addressLine: Nordhedig 20 - properties: - profileType: - example: physicallocation - type: string - addressList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_contactList_inner_addressList_inner' - type: array - type: object - _v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_amenityList_inner: - example: - code: "5005" - quantity: 1 - properties: - code: - example: "5005" - type: string - quantity: + returnDate: + description: Departure date for the given price as unix timestamp (seconds). + example: 1660867200 + type: number + lengthOfStay: + description: The amount of nights of stay this price is for example: 1 type: number + required: + - amount + - arrivalDate + - currencyCode + - lengthOfStay + - returnDate type: object - _v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_messageList_inner: + Available_Properties_inner_1: example: - text: Maisonette apartment on ground floor + lowestPrice: + lengthOfStay: 1 + amount: 89.99 + returnDate: 1660867200 + currencyCode: EUR + arrivalDate: 1660780800 + code: strandresidenz-sylt languageCode: en + uri: strandresidenz-sylt + geo: + country: Germany + formatted_address: "Nordhedig 20, 25980 Sylt, Germany" + locality: Sylt + sublocality: Westerland + language: de + sublocality_level_2: Some Sublocality + sublocality_level_1: Westerland + country_code: DE + route: Nordhedig + administrative_area_level_2: Friesland + sublocality_level_5: Some Sublocality + administrative_area_level_3: administrative_area_level_3 + sublocality_level_4: Some Sublocality + sublocality_level_3: Some Sublocality + administrative_area_level_1: Schleswig-Holstein + street_number: "20" + administrative_area_level_4: administrative_area_level_4 + location: + lng: 8.304857 + lat: 54.9157118 + administrative_area_level_5: administrative_area_level_5 + postal_code: "25980" + state_code: SH + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + mediaList: + - tagList: + - 3 + - 55 + isMainImage: true + sortOrder: 1000 + url: 5e3d9d49e9480.jpg + - tagList: + - 3 + - 55 + isMainImage: true + sortOrder: 1000 + url: 5e3d9d49e9480.jpg + name: Strandresidenz Sylt + serviceList: + - 1 + - 2 + categoryList: + - 3 + - 4 + attractionList: + - distance: + unit: m + value: 2300 + name: Flughafen Sylt + typeCode: 0.8008281904610115 + - distance: + unit: m + value: 2300 + name: Flughafen Sylt + typeCode: 0.8008281904610115 + unitSystem: metric + text: This family-run hotel in Wenningstedt on Sylt is just 820 feet from + the beach. It offers rooms which are decorated in a typically Frisian style. + A breakfast buffet is prepared each morning at the Sylter Domizil. The Wintergarten + conservatory café/bistro serves snacks and drinks during the day. The bar + includes a free internet terminal. The Sylter Domizil's 722 ft² spa features + a sauna steam bath and fitness room. The terrace has wicker beach chairs + for relaxing in. + currencyCode: EUR + uriPath: germany/schleswig-holstein/nordfriesland/wenningstedt-braderup-sylt/strandresidenz-sylt properties: + code: + description: The properties unique code/ID. + example: strandresidenz-sylt + type: string languageCode: + description: The language code of the language in which the property description + is written.

Please note that beside the general restrictions listed + below only languages configured during system setup for your respective + tenant are allowed.

See also in the + appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh example: en type: string - text: - example: Maisonette apartment on ground floor + currencyCode: + description: The currency code for the currency in which prices are returned.

See + also in the appendix.

+ enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR + example: EUR type: string - type: object - _v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner_tagList_inner: - example: - code: 159 - name: Living room - properties: - code: - example: 159 - type: number - name: - example: Living room + unitSystem: + description: The unit system (either "metric" or "imperial") used for measurements. + enum: + - metric + - imperial + example: metric type: string - type: object - _v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner_roomAmenityList_inner: - example: - code: 146 - name: Tables and chairs - properties: - code: - example: 146 - type: number name: - example: Tables and chairs + description: The name of the property. + example: Strandresidenz Sylt type: string - type: object - _v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner: - example: - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs - isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - properties: - isMainImage: - type: boolean - sortOrder: - example: 1001 - type: number - url: - example: zim_1280x960_164357_002.jpg + uri: + description: A URI for the property. + example: strandresidenz-sylt type: string - tagList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner_tagList_inner' - type: array - moderationLabelList: + serviceList: + description: A list of service codes indicating the services and amenities + the property has.

See also in the appendix.

+ example: + - 1 + - 2 items: - type: string + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 111 + - 112 + - 113 + - 114 + - 115 + - 116 + - 117 + - 118 + - 119 + - 120 + - 121 + - 122 + - 123 + - 124 + - 125 + - 126 + - 127 + - 128 + - 129 + - 130 + - 131 + - 132 + - 133 + - 134 + - 135 + - 136 + - 137 + - 138 + - 139 + - 140 + - 141 + - 142 + - 143 + - 144 + - 145 + - 146 + - 147 + - 148 + - 149 + - 150 + - 151 + - 152 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 162 + - 163 + - 164 + - 165 + - 166 + - 167 + - 168 + - 169 + - 170 + - 171 + - 172 + - 173 + - 174 + - 175 + - 176 + - 177 + - 178 + - 179 + - 180 + - 181 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 200 + - 201 + - 202 + - 203 + - 204 + - 205 + - 206 + - 207 + - 208 + - 209 + - 210 + - 211 + - 212 + - 213 + - 214 + - 215 + - 216 + - 217 + - 218 + - 219 + - 220 + - 221 + - 222 + - 223 + - 224 + - 225 + - 226 + - 227 + - 228 + - 229 + - 230 + - 231 + - 232 + - 233 + - 234 + - 235 + - 236 + - 237 + - 238 + - 239 + - 240 + - 241 + - 242 + - 243 + - 244 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 274 + - 275 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 284 + - 285 + - 286 + - 287 + - 288 + - 289 + - 290 + - 291 + - 292 + - 293 + - 294 + - 295 + - 296 + - 297 + - 298 + - 299 + - 300 + - 301 + - 302 + - 303 + - 304 + - 305 + - 306 + - 307 + - 308 + - 309 + - 310 + - 311 + - 312 + - 313 + - 314 + - 315 + - 316 + - 317 + - 318 + - 319 + - 320 + - 321 + - 322 + - 323 + - 324 + - 325 + - 326 + - 327 + - 328 + - 329 + - 331 + - 332 + - 333 + - 334 + - 335 + - 336 + - 337 + - 338 + - 339 + - 340 + - 341 + - 342 + - 343 + - 344 + - 345 + - 348 + - 349 + - 350 + - 351 + - 5000 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5034 + - 5035 + - 5036 + - 5037 + - 5039 + - 5040 + - 5041 + - 5042 + - 5043 + - 5044 + - 5045 + - 5046 + - 5047 + - 5048 + - 5049 + - 5050 + - 5051 + - 5052 + - 5053 + - 5054 + - 5055 + - 5056 + - 5057 + - 5058 + - 5059 + - 5060 + - 5061 + - 5062 + - 5063 + - 5064 + - 5065 + - 5066 + - 5067 + - 5068 + - 5069 + - 5070 + - 5071 + - 5072 + - 5073 + - 5074 + - 5075 + - 5076 + - 5077 + - 5078 + - 5079 + - 5080 + - 5081 + - 5082 + - 5083 + - 5084 + - 5085 + - 5086 + - 5087 + - 5088 + - 5089 + - 5090 + - 5091 + - 5092 + - 5093 + - 5094 + - 5095 + - 5096 + - 5097 + - 5098 + - 5099 + - 5100 + - 5101 + - 5102 + - 5103 + - 5104 + - 5105 + - 5106 + - 5107 + - 5108 + - 5109 + - 5110 + - 5111 + - 5112 + - 5113 + - 5114 + - 5115 + - 5116 + - 5117 + - 5118 + - 5119 + - 5120 + - 5121 + - 5122 + - 5123 + - 5124 + - 5125 + - 5126 + - 5127 + - 5128 + - 5129 + - 5130 + - 5131 + - 5132 + - 5133 + - 5134 + - 5135 + - 5136 + - 5137 + - 5138 + - 5139 + - 5140 + - 5141 + - 5142 + - 5143 + - 5144 + - 5145 + - 5146 + - 5147 + - 5148 + - 5149 + - 5150 + - 5151 + - 5152 + - 5153 + - 5154 + - 5156 + - 5157 + - 5158 + - 5159 + - 5160 + - 5161 + - 5162 + - 5163 + - 5164 + - 5165 + - 5166 + - 5167 + - 5168 + - 5169 + - 5170 + - 5171 + - 5172 + - 5173 + - 5174 + - 5175 + - 5176 + - 5177 + - 5178 + - 6000 + - 6001 + - 90001 + type: number type: array - detectionLabelList: + categoryList: + description: A list of property class type codes indicating the types of + the property.

See also in the appendix.

+ example: + - 3 + - 4 items: - example: furniture - type: string + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 5000 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + type: number type: array - propertyAmenityList: + uriPath: + description: A URI path for the property. + example: germany/schleswig-holstein/nordfriesland/wenningstedt-braderup-sylt/strandresidenz-sylt + type: string + text: + description: A description of the property. + example: This family-run hotel in Wenningstedt on Sylt is just 820 feet + from the beach. It offers rooms which are decorated in a typically Frisian + style. A breakfast buffet is prepared each morning at the Sylter Domizil. + The Wintergarten conservatory café/bistro serves snacks and drinks during + the day. The bar includes a free internet terminal. The Sylter Domizil's + 722 ft² spa features a sauna steam bath and fitness room. The terrace + has wicker beach chairs for relaxing in. + type: string + geo: + $ref: '#/components/schemas/Available_Properties_inner_1_geo' + mediaList: + description: A list of media objects for the property. items: - type: string + $ref: '#/components/schemas/Available_Properties_inner_1_mediaList_inner' type: array - roomAmenityList: + attractionList: + description: A list of objects describing the attractions available at the + property. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner_roomAmenityList_inner' + $ref: '#/components/schemas/Available_Properties_inner_1_attractionList_inner' type: array + lowestPrice: + $ref: '#/components/schemas/Available_Properties_inner_1_lowestPrice' + required: + - attractionList + - categoryList + - code + - currencyCode + - languageCode + - lowestPrice + - mediaList + - name + - serviceList + - text + - unitSystem + - uri + - uriPath type: object - _v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner: + _availability_search_post_200_response: example: - roomTypeCode: "1" - typeName: typeName - roomTypeName: roomTypeName - maxAdultOccupancy: "4" - descriptionText: descriptionText - isActive: true - amenityList: - - code: "5005" - quantity: 1 - - code: "5005" - quantity: 1 - roomId: amrum - maxChildOccupancy: "4" - isNonSmoking: true - mediaList: - - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs - isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs - isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - messageList: - - text: Maisonette apartment on ground floor - languageCode: en - - text: Maisonette apartment on ground floor - languageCode: en - name: Amrum - maxOccupancy: "4" - imageList: - - imageList - - imageList - properties: - isActive: - type: boolean - roomId: - example: amrum - type: string - name: - example: Amrum - type: string - typeName: - type: string - descriptionText: - type: string - imageList: - items: - type: string - type: array - roomTypeCode: - example: "1" - type: string - isNonSmoking: - type: boolean - roomTypeName: - type: string - amenityList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_amenityList_inner' - type: array - maxOccupancy: - example: "4" - type: string - messageList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_messageList_inner' - type: array - mediaList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner' - type: array - maxAdultOccupancy: - example: "4" - type: string - maxChildOccupancy: - example: "4" - type: string - type: object - _v1_property_get_post_200_response_property_facilityInfo: - example: - guestRoomList: - - roomTypeCode: "1" - typeName: typeName - roomTypeName: roomTypeName - maxAdultOccupancy: "4" - descriptionText: descriptionText - isActive: true - amenityList: - - code: "5005" - quantity: 1 - - code: "5005" - quantity: 1 - roomId: amrum - maxChildOccupancy: "4" - isNonSmoking: true + languageCode: af + list: + - lowestPrice: + lengthOfStay: 1 + amount: 89.99 + returnDate: 1660867200 + currencyCode: EUR + arrivalDate: 1660780800 + code: strandresidenz-sylt + languageCode: en + uri: strandresidenz-sylt + geo: + country: Germany + formatted_address: "Nordhedig 20, 25980 Sylt, Germany" + locality: Sylt + sublocality: Westerland + language: de + sublocality_level_2: Some Sublocality + sublocality_level_1: Westerland + country_code: DE + route: Nordhedig + administrative_area_level_2: Friesland + sublocality_level_5: Some Sublocality + administrative_area_level_3: administrative_area_level_3 + sublocality_level_4: Some Sublocality + sublocality_level_3: Some Sublocality + administrative_area_level_1: Schleswig-Holstein + street_number: "20" + administrative_area_level_4: administrative_area_level_4 + location: + lng: 8.304857 + lat: 54.9157118 + administrative_area_level_5: administrative_area_level_5 + postal_code: "25980" + state_code: SH + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw mediaList: - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 3 + - 55 isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg + sortOrder: 1000 + url: 5e3d9d49e9480.jpg - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 3 + - 55 isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - messageList: - - text: Maisonette apartment on ground floor - languageCode: en - - text: Maisonette apartment on ground floor - languageCode: en - name: Amrum - maxOccupancy: "4" - imageList: - - imageList - - imageList - - roomTypeCode: "1" - typeName: typeName - roomTypeName: roomTypeName - maxAdultOccupancy: "4" - descriptionText: descriptionText - isActive: true - amenityList: - - code: "5005" - quantity: 1 - - code: "5005" - quantity: 1 - roomId: amrum - maxChildOccupancy: "4" - isNonSmoking: true + sortOrder: 1000 + url: 5e3d9d49e9480.jpg + name: Strandresidenz Sylt + serviceList: + - 1 + - 2 + categoryList: + - 3 + - 4 + attractionList: + - distance: + unit: m + value: 2300 + name: Flughafen Sylt + typeCode: 0.8008281904610115 + - distance: + unit: m + value: 2300 + name: Flughafen Sylt + typeCode: 0.8008281904610115 + unitSystem: metric + text: This family-run hotel in Wenningstedt on Sylt is just 820 feet from + the beach. It offers rooms which are decorated in a typically Frisian + style. A breakfast buffet is prepared each morning at the Sylter Domizil. + The Wintergarten conservatory café/bistro serves snacks and drinks during + the day. The bar includes a free internet terminal. The Sylter Domizil's + 722 ft² spa features a sauna steam bath and fitness room. The terrace + has wicker beach chairs for relaxing in. + currencyCode: EUR + uriPath: germany/schleswig-holstein/nordfriesland/wenningstedt-braderup-sylt/strandresidenz-sylt + - lowestPrice: + lengthOfStay: 1 + amount: 89.99 + returnDate: 1660867200 + currencyCode: EUR + arrivalDate: 1660780800 + code: strandresidenz-sylt + languageCode: en + uri: strandresidenz-sylt + geo: + country: Germany + formatted_address: "Nordhedig 20, 25980 Sylt, Germany" + locality: Sylt + sublocality: Westerland + language: de + sublocality_level_2: Some Sublocality + sublocality_level_1: Westerland + country_code: DE + route: Nordhedig + administrative_area_level_2: Friesland + sublocality_level_5: Some Sublocality + administrative_area_level_3: administrative_area_level_3 + sublocality_level_4: Some Sublocality + sublocality_level_3: Some Sublocality + administrative_area_level_1: Schleswig-Holstein + street_number: "20" + administrative_area_level_4: administrative_area_level_4 + location: + lng: 8.304857 + lat: 54.9157118 + administrative_area_level_5: administrative_area_level_5 + postal_code: "25980" + state_code: SH + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw mediaList: - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 3 + - 55 isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg + sortOrder: 1000 + url: 5e3d9d49e9480.jpg - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 3 + - 55 isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - messageList: - - text: Maisonette apartment on ground floor - languageCode: en - - text: Maisonette apartment on ground floor - languageCode: en - name: Amrum - maxOccupancy: "4" - imageList: - - imageList - - imageList + sortOrder: 1000 + url: 5e3d9d49e9480.jpg + name: Strandresidenz Sylt + serviceList: + - 1 + - 2 + categoryList: + - 3 + - 4 + attractionList: + - distance: + unit: m + value: 2300 + name: Flughafen Sylt + typeCode: 0.8008281904610115 + - distance: + unit: m + value: 2300 + name: Flughafen Sylt + typeCode: 0.8008281904610115 + unitSystem: metric + text: This family-run hotel in Wenningstedt on Sylt is just 820 feet from + the beach. It offers rooms which are decorated in a typically Frisian + style. A breakfast buffet is prepared each morning at the Sylter Domizil. + The Wintergarten conservatory café/bistro serves snacks and drinks during + the day. The bar includes a free internet terminal. The Sylter Domizil's + 722 ft² spa features a sauna steam bath and fitness room. The terrace + has wicker beach chairs for relaxing in. + currencyCode: EUR + uriPath: germany/schleswig-holstein/nordfriesland/wenningstedt-braderup-sylt/strandresidenz-sylt properties: - guestRoomList: + languageCode: + description: The language code of the language in which the descriptive + texts for each found property are returned.

Please note that beside + the general restrictions listed below only languages configured during + system setup for your respective tenant are allowed.

See also in the appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh + type: string + list: + description: A list of available properties matching the given criteria. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_facilityInfo_guestRoomList_inner' + $ref: '#/components/schemas/Available_Properties_inner_1' + title: Available Properties type: array + required: + - languageCode + - list type: object - _v1_property_get_post_200_response_property_mediaList_inner_tagList_inner: + _properties_get_200_response_list_inner: example: - code: 3 - name: Property building + image: obj_1280x960_54620_001.jpg + lastUpdated: 1652091337389 + address: Nordhedig 20 25980 Sylt Germany + name: Strandresidenz Sylt + published: false + propertyId: strandresidenz-sylt properties: - code: - example: 3 - type: number + published: + description: Whether the property is in published state. + example: false + type: boolean name: - example: Property building + description: The name of the property. + example: Strandresidenz Sylt + type: string + propertyId: + description: The unique identifier for the property. + example: strandresidenz-sylt + type: string + image: + description: The file name of the image for the property. + example: obj_1280x960_54620_001.jpg type: string + address: + description: The address of the property. + example: Nordhedig 20 25980 Sylt Germany + type: string + lastUpdated: + description: The timestamp of the last update to the property (Unix in ms). + example: 1652091337389 + type: number + required: + - address + - image + - lastUpdated + - name + - propertyId + - published type: object - _v1_property_get_post_200_response_property_mediaList_inner: + _properties_get_200_response: example: - tagList: - - code: 3 - name: Property building - - code: 3 - name: Property building - roomAmenityList: - - roomAmenityList - - roomAmenityList - isMainImage: true - detectionLabelList: - - roof - - roof - sortOrder: 1000 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: obj_1280x960_54620_001.jpg + pageToken: eyJ0ZW5hbnRDb2RlIjoiZG1vLWRlbW8iLCJuYW1lIjoiTGFuZGhhdXMgVHJlc2tlcnNhbmQiLCJwcm9wZXJ0eUlkIjoibGFuZGhhdXMtdHJlc2tlcnNhbmQifQ== + list: + - image: obj_1280x960_54620_001.jpg + lastUpdated: 1652091337389 + address: Nordhedig 20 25980 Sylt Germany + name: Strandresidenz Sylt + published: false + propertyId: strandresidenz-sylt + - image: obj_1280x960_54620_001.jpg + lastUpdated: 1652091337389 + address: Nordhedig 20 25980 Sylt Germany + name: Strandresidenz Sylt + published: false + propertyId: strandresidenz-sylt properties: - isMainImage: - type: boolean - sortOrder: - example: 1000 - type: number - url: - example: obj_1280x960_54620_001.jpg - type: string - tagList: - items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_mediaList_inner_tagList_inner' - type: array - moderationLabelList: - items: - type: string - type: array - detectionLabelList: - items: - example: roof - type: string - type: array - propertyAmenityList: - items: - type: string - type: array - roomAmenityList: + list: items: - type: string + $ref: '#/components/schemas/_properties_get_200_response_list_inner' type: array + pageToken: + description: "The page token to pass in the subsequent call to retrieve\ + \ more results, only returned if more results are available." + example: eyJ0ZW5hbnRDb2RlIjoiZG1vLWRlbW8iLCJuYW1lIjoiTGFuZGhhdXMgVHJlc2tlcnNhbmQiLCJwcm9wZXJ0eUlkIjoibGFuZGhhdXMtdHJlc2tlcnNhbmQifQ== + type: string + required: + - list type: object - _v1_property_get_post_200_response_property_geo_de_location: + _properties__propertyId__get_200_response_property_recordCreated: + description: Information regarding the creation of the property object. example: - lng: 8.304857 - lat: 54.9157118 + role: admin + time: 1652091332815 + user: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f + tenant: dmo-demo properties: - lat: - example: 54.9157118 - type: number - lng: - example: 8.304857 + user: + description: The user that performed the edit action on the property. + example: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f + type: string + tenant: + description: The tenant for which the user performed the edit action on + the property. + example: dmo-demo + type: string + role: + description: The role of the user that performed the edit action on the + property. + example: admin + type: string + time: + description: The timestamp at which the edit action was performed. + example: 1652091332815 type: number + required: + - tenant + - time + - user type: object - _v1_property_get_post_200_response_property_geo_de: + _properties__propertyId__get_200_response_property_recordModified: + description: Information regarding the last modification of the property object. example: - country: Deutschland - formatted_address: Nordhedig 20 25980 Sylt Deutschland - locality: Sylt - sublocality: Westerland - language: de - establishment: Sylt - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + role: admin + time: 1652091332815 + user: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f + tenant: dmo-demo properties: - location: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_de_location' - formatted_address: - example: Nordhedig 20 25980 Sylt Deutschland - type: string - place_id: - example: ChIJVaxqTevetEcRyfs8PGHK6mw - type: string - locality: - example: Sylt - type: string - administrative_area_level_3: - example: Nordfriesland - type: string - administrative_area_level_1: - example: Schleswig-Holstein - type: string - state_code: - example: SH - type: string - country: - example: Deutschland - type: string - country_code: - example: DE - type: string - postal_code: - example: "25980" - type: string - language: - example: de - type: string - natural_feature: - example: Sylt + user: + description: The user that performed the edit action on the property. + example: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f type: string - establishment: - example: Sylt + tenant: + description: The tenant for which the user performed the edit action on + the property. + example: dmo-demo type: string - sublocality: - example: Westerland + role: + description: The role of the user that performed the edit action on the + property. + example: admin type: string - sublocality_level_1: - example: Westerland + time: + description: The timestamp at which the edit action was performed. + example: 1652091332815 + type: number + required: + - tenant + - time + - user + type: object + _properties__propertyId__get_200_response_property_propertyInfo_messageList_inner: + properties: + languageCode: + description: The language of this message.

Please note that beside the + general restrictions listed below only languages configured during system + setup for your respective tenant are allowed.

See also in + the appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh + example: en type: string - street_number: - example: "20" + text: + description: The text of this message. + example: "More sea does not work! In a unique location just behind the dunes,\ + \ less than 100 steps from the beach and the spa promenade, in a prime\ + \ location on the beach “Nordhedig”, you can enjoy your stay in a small,\ + \ new 5-star luxury complex (DTV classification) with a total of 4 separate\ + \ apartments for 2-4 people. The interior has a modern rural style that\ + \ offers all the amenities. You can find films about the property and\ + \ individual apartments on our website." + type: string + required: + - languageCode + - text + type: object + _properties__propertyId__get_200_response_property_propertyInfo_acceptedPaymentList_inner: + example: + code: eccard + type: debitcard + properties: + code: + description: The code of the payment option. + enum: + - amex + - visa + - mastercard + - diners + - jcb + - maestro + - discover + - bancontact + - cashonly + - bankcard + - cartasi + - argencard + - cabal + - redcompra + - other + - greatwall + - dragonpay + - eftpos + - hipercard + - unionpaydebit + - eccard + - bccard + - mastercardvirtual + - mastercardgoogle + - unionpaycredit + example: eccard type: string - route: - example: Nordhedig + type: + description: The type of the payment option. + enum: + - creditcard + - debitcard + - paymentservice + - cash + example: debitcard type: string + required: + - code + - type type: object - _v1_property_get_post_200_response_property_geo_en: + _properties__propertyId__get_200_response_property_propertyInfo: + description: General information regarding the property. example: - country: Germany - formatted_address: Nordhedig 20 25980 Sylt Germany - locality: Sylt - sublocality: Westerland - language: en - establishment: Sylt - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" + messageList: + - languageCode: en + text: "More sea does not work! In a unique location just behind the dunes,\ + \ less than 100 steps from the beach and the spa promenade, in a prime\ + \ location on the beach “Nordhedig”, you can enjoy your stay in a small,\ + \ new 5-star luxury complex (DTV classification) with a total of 4 separate\ + \ apartments for 2-4 people. The interior has a modern rural style that\ + \ offers all the amenities. You can find films about the property and\ + \ individual apartments on our website. " + - languageCode: da + text: "Mere hav virker ikke! I en unik beliggenhed lige bag klitterne, mindre\ + \ end 100 skridt fra stranden og spa-promenaden, i en førsteklasses beliggenhed\ + \ på stranden „Nordhedig“, kan du nyde dit ophold i et lille, nyt 5-stjernet\ + \ luksuskompleks (DTV klassifikation) med i alt 4 separate lejligheder\ + \ til 2-4 personer. Interiøret har en moderne landlig stil, der tilbyder\ + \ alle bekvemmeligheder. Du kan finde film om ejendommen og individuelle\ + \ lejligheder på vores hjemmeside. " + - languageCode: nl + text: "Meer zee werkt niet! Op een unieke locatie net achter de duinen,\ + \ op minder dan 100 stappen van het strand en de spa-promenade, op een\ + \ toplocatie aan het strand „Nordhedig”, kunt u genieten van uw verblijf\ + \ in een klein, nieuw 5-sterren luxe complex (DTV classificatie) met in\ + \ totaal 4 aparte appartementen voor 2-4 personen. Het interieur heeft\ + \ een moderne landelijke stijl die alle voorzieningen biedt. U kunt films\ + \ over het pand en de individuele appartementen vinden op onze website. " + - languageCode: de + text: "Mehr Meer geht nicht! In einer einzigartigen Lage direkt hinter den\ + \ Dünen, weniger als 100 Schritte vom Strand und der Kurpromenade entfernt,\ + \ in bester Lage am Strand „Nordhedig“, können Sie Ihren Aufenthalt in\ + \ einem kleinen, neuen 5-Sterne-Luxuskomplex (DTV-Klassifizierung) mit\ + \ insgesamt 4 separaten Apartments für 2-4 Personen genießen. Das Interieur\ + \ hat einen modernen ländlichen Stil, der alle Annehmlichkeiten bietet.\ + \ Filme über das Anwesen und einzelne Apartments finden Sie auf unserer\ + \ Website. " + unitCount: 4 + categoryList: + - 1 + - 14 + - 42 location: lng: 8.304857 lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + languageList: + - de + - en-gb + acceptedPaymentList: + - code: eccard + type: debitcard + - code: eccard + type: debitcard properties: + unitCount: + description: The amount of units the property has. + example: 4 + type: number + messageList: + description: Contains a descriptive message for this property in all supported + languages. + example: + - languageCode: en + text: "More sea does not work! In a unique location just behind the dunes,\ + \ less than 100 steps from the beach and the spa promenade, in a prime\ + \ location on the beach “Nordhedig”, you can enjoy your stay in a small,\ + \ new 5-star luxury complex (DTV classification) with a total of 4 separate\ + \ apartments for 2-4 people. The interior has a modern rural style that\ + \ offers all the amenities. You can find films about the property and\ + \ individual apartments on our website. " + - languageCode: da + text: "Mere hav virker ikke! I en unik beliggenhed lige bag klitterne,\ + \ mindre end 100 skridt fra stranden og spa-promenaden, i en førsteklasses\ + \ beliggenhed på stranden „Nordhedig“, kan du nyde dit ophold i et lille,\ + \ nyt 5-stjernet luksuskompleks (DTV klassifikation) med i alt 4 separate\ + \ lejligheder til 2-4 personer. Interiøret har en moderne landlig stil,\ + \ der tilbyder alle bekvemmeligheder. Du kan finde film om ejendommen\ + \ og individuelle lejligheder på vores hjemmeside. " + - languageCode: nl + text: "Meer zee werkt niet! Op een unieke locatie net achter de duinen,\ + \ op minder dan 100 stappen van het strand en de spa-promenade, op een\ + \ toplocatie aan het strand „Nordhedig”, kunt u genieten van uw verblijf\ + \ in een klein, nieuw 5-sterren luxe complex (DTV classificatie) met\ + \ in totaal 4 aparte appartementen voor 2-4 personen. Het interieur\ + \ heeft een moderne landelijke stijl die alle voorzieningen biedt. U\ + \ kunt films over het pand en de individuele appartementen vinden op\ + \ onze website. " + - languageCode: de + text: "Mehr Meer geht nicht! In einer einzigartigen Lage direkt hinter\ + \ den Dünen, weniger als 100 Schritte vom Strand und der Kurpromenade\ + \ entfernt, in bester Lage am Strand „Nordhedig“, können Sie Ihren Aufenthalt\ + \ in einem kleinen, neuen 5-Sterne-Luxuskomplex (DTV-Klassifizierung)\ + \ mit insgesamt 4 separaten Apartments für 2-4 Personen genießen. Das\ + \ Interieur hat einen modernen ländlichen Stil, der alle Annehmlichkeiten\ + \ bietet. Filme über das Anwesen und einzelne Apartments finden Sie\ + \ auf unserer Website. " + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_propertyInfo_messageList_inner' + type: array + categoryList: + description: A list of code of the property class types that apply to the + property. + example: + - 1 + - 14 + - 42 + items: + description: A property class type code.

See also in + the appendix.

+ enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 5000 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + type: number + type: array + languageList: + description: The codes of languages the staff of this property can speak. + Please note that these codes partially differ from the two character ISO + language codes widely used throughout the API as they partially include + country specific language code.

See also in + the appendix.

+ example: + - de + - en-gb + items: + enum: + - af + - ar + - az + - be + - bg + - ca + - cs + - da + - de + - el + - en + - en-gb + - en-us + - es + - es-ar + - et + - fr + - fi + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - km + - ko + - lo + - lt + - lv + - ms + - nl + - "no" + - pl + - pt + - pt-br + - pt-pt + - ro + - ru + - sk + - sl + - sr + - sv + - tl + - th + - tr + - uk + - vi + - xa + - xb + - xs + - xt + - xu + - zh + - zh-cn + - zh-tw + type: string + type: array location: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_de_location' - formatted_address: - example: Nordhedig 20 25980 Sylt Germany - type: string - place_id: - example: ChIJVaxqTevetEcRyfs8PGHK6mw - type: string - locality: - example: Sylt - type: string - administrative_area_level_3: - example: Nordfriesland - type: string - administrative_area_level_1: - example: Schleswig-Holstein - type: string - state_code: - example: SH - type: string - country: - example: Germany - type: string - country_code: - example: DE - type: string - postal_code: - example: "25980" - type: string - language: - example: en - type: string - natural_feature: - example: Sylt - type: string - establishment: - example: Sylt - type: string - sublocality: - example: Westerland - type: string - sublocality_level_1: - example: Westerland - type: string - street_number: - example: "20" - type: string - route: - example: Nordhedig + $ref: '#/components/schemas/Available_Properties_inner_1_geo_location' + acceptedPaymentList: + description: "A list of the accepted payment methods. Payment methods might\ + \ subject to frequent change as payment providers come and go. You should\ + \ always implement a way to handle new, unexpected payment methods.

See\ + \ also in the appendix.

" + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_propertyInfo_acceptedPaymentList_inner' + type: array + required: + - acceptedPaymentList + - categoryList + - languageList + - messageList + type: object + _properties__propertyId__get_200_response_property_guestInfo: + description: Information regarding requirements towards guests. + example: + guestNameListRequired: true + guestContactNumberRequired: true + guestAddressRequired: true + properties: + guestAddressRequired: + description: Whether the address of the guest is required to book this property. + example: true + type: boolean + guestContactNumberRequired: + description: Whether the phone number of the guest is required to book this + property. + example: true + type: boolean + guestNameListRequired: + description: Whether a list of the guests names is required to book this + property. + example: true + type: boolean + required: + - guestAddressRequired + - guestContactNumberRequired + - guestNameListRequired + type: object + _properties__propertyId__get_200_response_property_awardList_inner: + example: + provider: star-rating + rating: 5 + properties: + provider: + description: The source of this rating. Currently only star-rating + is possible. + enum: + - star-rating + example: star-rating type: string + rating: + description: The value of this rating + example: 5 + type: number + required: + - provider + - rating type: object - _v1_property_get_post_200_response_property_geo_da: + _properties__propertyId__get_200_response_property_contactList_inner_addressList_inner: example: - country: Tyskland - formatted_address: Nordhedig 20 25980 Sylt Tyskland - locality: Sylt - sublocality: Westerland - language: da - establishment: Sild - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sild - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + cityName: Sylt + propertyName: Strandresidenz Sylt + countryCode: DE + postalCode: "25980" + state: SH + addressLine: Nordhedig 20 properties: - location: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_de_location' - formatted_address: - example: Nordhedig 20 25980 Sylt Tyskland + addressLine: + description: The first line of the address for this contact + example: Nordhedig 20 type: string - place_id: - example: ChIJVaxqTevetEcRyfs8PGHK6mw + propertyName: + description: The name of the property for this contact + example: Strandresidenz Sylt type: string - locality: + cityName: + description: The city of this contact example: Sylt type: string - administrative_area_level_3: - example: Nordfriesland - type: string - administrative_area_level_1: - example: Schleswig-Holstein + postalCode: + description: The postal code of this contact + example: "25980" type: string - state_code: + state: + description: The state/region of this contact example: SH type: string - country: - example: Tyskland - type: string - country_code: + countryCode: + description: The country code of this contact example: DE type: string - postal_code: - example: "25980" - type: string - language: - example: da - type: string - natural_feature: - example: Sild - type: string - establishment: - example: Sild - type: string - sublocality: - example: Westerland - type: string - sublocality_level_1: - example: Westerland - type: string - street_number: - example: "20" - type: string - route: - example: Nordhedig + required: + - addressLine + - cityName + - postalCode + type: object + _properties__propertyId__get_200_response_property_contactList_inner: + example: + profileType: physicallocation + addressList: + - cityName: Sylt + propertyName: Strandresidenz Sylt + countryCode: DE + postalCode: "25980" + state: SH + addressLine: Nordhedig 20 + - cityName: Sylt + propertyName: Strandresidenz Sylt + countryCode: DE + postalCode: "25980" + state: SH + addressLine: Nordhedig 20 + properties: + profileType: + description: The type of profile this contact belongs to. + enum: + - general + - contract + - reservations + - invoices + - availability + - site_content + - parity + - requests + - central_reservations + - physicallocation + example: physicallocation type: string + addressList: + description: A list of addresses for this contact + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_contactList_inner_addressList_inner' + type: array + required: + - addressList + - profileType type: object - _v1_property_get_post_200_response_property_geo_nl: + _properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner: example: - country: Duitsland - formatted_address: Nordhedig 20 25980 Sylt Duitsland - locality: Sylt - sublocality: Westerland - language: nl - establishment: Sylt - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - properties: - location: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_de_location' - formatted_address: - example: Nordhedig 20 25980 Sylt Duitsland - type: string - place_id: - example: ChIJVaxqTevetEcRyfs8PGHK6mw - type: string - locality: - example: Sylt - type: string - administrative_area_level_3: - example: Nordfriesland - type: string - administrative_area_level_1: - example: Schleswig-Holstein - type: string - state_code: - example: SH - type: string - country: - example: Duitsland - type: string - country_code: - example: DE - type: string - postal_code: - example: "25980" - type: string - language: - example: nl - type: string - natural_feature: - example: Sylt - type: string - establishment: - example: Sylt - type: string - sublocality: - example: Westerland - type: string - sublocality_level_1: - example: Westerland - type: string - street_number: - example: "20" - type: string - route: - example: Nordhedig - type: string - type: object - _v1_property_get_post_200_response_property_geo: - example: - de: - country: Deutschland - formatted_address: Nordhedig 20 25980 Sylt Deutschland - locality: Sylt - sublocality: Westerland - language: de - establishment: Sylt - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - en: - country: Germany - formatted_address: Nordhedig 20 25980 Sylt Germany - locality: Sylt - sublocality: Westerland - language: en - establishment: Sylt - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - da: - country: Tyskland - formatted_address: Nordhedig 20 25980 Sylt Tyskland - locality: Sylt - sublocality: Westerland - language: da - establishment: Sild - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sild - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - nl: - country: Duitsland - formatted_address: Nordhedig 20 25980 Sylt Duitsland - locality: Sylt - sublocality: Westerland - language: nl - establishment: Sylt - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - properties: - de: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_de' - en: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_en' - da: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_da' - nl: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo_nl' - type: object - _v1_property_get_post_200_response_property_policyList_inner_petsPolicy: - example: - byArrangement: true - allowed: true - freeOfCharge: true + tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg properties: - allowed: - type: boolean - byArrangement: - type: boolean - freeOfCharge: + isMainImage: + description: Whether the media is the main image for the property. + example: true type: boolean - type: object - _v1_property_get_post_200_response_property_policyList_inner_taxPolicyList_inner: - example: - conditionList: - - conditionList - - conditionList - chargeType: included - percent: 19 - currencyCode: EUR - typeCode: 36 - chargeFrequencyCode: 12 - properties: - typeCode: - example: 36 - type: number - percent: - example: 19 - type: number - chargeType: - example: included + url: + description: The URL for the media. + example: 5e3d9d49e9480.jpg type: string - chargeFrequencyCode: - example: 12 + sortOrder: + description: The sort order for the media. + example: 1000 type: number - currencyCode: - example: EUR - type: string - conditionList: + tagList: + description: A list of tag codes for the media.

See also in + the appendix.

+ example: + - 3 + - 55 + items: + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 10 + - 11 + - 13 + - 14 + - 37 + - 41 + - 42 + - 43 + - 50 + - 55 + - 61 + - 70 + - 74 + - 81 + - 82 + - 87 + - 89 + - 90 + - 94 + - 95 + - 96 + - 97 + - 100 + - 102 + - 103 + - 104 + - 106 + - 107 + - 108 + - 112 + - 113 + - 114 + - 115 + - 116 + - 124 + - 125 + - 128 + - 131 + - 133 + - 134 + - 137 + - 141 + - 143 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 164 + - 165 + - 167 + - 172 + - 173 + - 177 + - 178 + - 179 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 197 + - 198 + - 199 + - 204 + - 205 + - 240 + - 241 + - 242 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 284 + - 285 + - 286 + - 287 + - 289 + - 290 + - 291 + type: number + type: array + moderationLabelList: + description: A list of detection labels for moderated content (e.g. containing + alcoholic beverages) for the media from an AI based detection engine. + example: + - partial_nudity + - tobacco items: type: string type: array - type: object - _v1_property_get_post_200_response_property_policyList_inner: - example: - cancellationPolicyList: - - cancellationPolicyList - - cancellationPolicyList - checkOutTime: 43200000 - totalGuestCount: 10 - checkInTime: 54000000 - guaranteePolicy: guaranteePolicy - taxPolicyList: - - conditionList: - - conditionList - - conditionList - chargeType: included - percent: 19 - currencyCode: EUR - typeCode: 36 - chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList - chargeType: included - percent: 19 - currencyCode: EUR - typeCode: 36 - chargeFrequencyCode: 12 - prepaymentPolicy: after_reservation_is_made - feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 - petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true - properties: - checkInTime: - example: 54000000 - type: number - checkOutTime: - example: 43200000 - type: number - totalGuestCount: - example: 10 - type: number - cancellationPolicyList: + detectionLabelList: + description: A list of detection labels for the media from an AI based detection + engine. + example: + - room + - indoors + - kitchen + - interior_design items: type: string type: array - advanceBookingMin: - example: 34560000 - type: number - advanceBookingMax: - example: 0 - type: number - petsPolicy: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_policyList_inner_petsPolicy' - prepaymentPolicy: - example: after_reservation_is_made - type: string - guaranteePolicy: - format: nullable - type: string - taxPolicyList: + propertyAmenityList: + description: A list of property amenities available at the property that + are visible in this media element. + example: + - 1 + - 2 items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_policyList_inner_taxPolicyList_inner' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 111 + - 112 + - 113 + - 114 + - 115 + - 116 + - 117 + - 118 + - 119 + - 120 + - 121 + - 122 + - 123 + - 124 + - 125 + - 126 + - 127 + - 128 + - 129 + - 130 + - 131 + - 132 + - 133 + - 134 + - 135 + - 136 + - 137 + - 138 + - 139 + - 140 + - 141 + - 142 + - 143 + - 144 + - 145 + - 146 + - 147 + - 148 + - 149 + - 150 + - 151 + - 152 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 162 + - 163 + - 164 + - 165 + - 166 + - 167 + - 168 + - 169 + - 170 + - 171 + - 172 + - 173 + - 174 + - 175 + - 176 + - 177 + - 178 + - 179 + - 180 + - 181 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 200 + - 201 + - 202 + - 203 + - 204 + - 205 + - 206 + - 207 + - 208 + - 209 + - 210 + - 211 + - 212 + - 213 + - 214 + - 215 + - 216 + - 217 + - 218 + - 219 + - 220 + - 221 + - 222 + - 223 + - 224 + - 225 + - 226 + - 227 + - 228 + - 229 + - 230 + - 231 + - 232 + - 233 + - 234 + - 235 + - 236 + - 237 + - 238 + - 239 + - 240 + - 241 + - 242 + - 243 + - 244 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 274 + - 275 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 284 + - 285 + - 286 + - 287 + - 288 + - 289 + - 290 + - 291 + - 292 + - 293 + - 294 + - 295 + - 296 + - 297 + - 298 + - 299 + - 300 + - 301 + - 302 + - 303 + - 304 + - 305 + - 306 + - 307 + - 308 + - 309 + - 310 + - 311 + - 312 + - 313 + - 314 + - 315 + - 316 + - 317 + - 318 + - 319 + - 320 + - 321 + - 322 + - 323 + - 324 + - 325 + - 326 + - 327 + - 328 + - 329 + - 331 + - 332 + - 333 + - 334 + - 335 + - 336 + - 337 + - 338 + - 339 + - 340 + - 341 + - 342 + - 343 + - 344 + - 345 + - 348 + - 349 + - 350 + - 351 + - 5000 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5034 + - 5035 + - 5036 + - 5037 + - 5039 + - 5040 + - 5041 + - 5042 + - 5043 + - 5044 + - 5045 + - 5046 + - 5047 + - 5048 + - 5049 + - 5050 + - 5051 + - 5052 + - 5053 + - 5054 + - 5055 + - 5056 + - 5057 + - 5058 + - 5059 + - 5060 + - 5061 + - 5062 + - 5063 + - 5064 + - 5065 + - 5066 + - 5067 + - 5068 + - 5069 + - 5070 + - 5071 + - 5072 + - 5073 + - 5074 + - 5075 + - 5076 + - 5077 + - 5078 + - 5079 + - 5080 + - 5081 + - 5082 + - 5083 + - 5084 + - 5085 + - 5086 + - 5087 + - 5088 + - 5089 + - 5090 + - 5091 + - 5092 + - 5093 + - 5094 + - 5095 + - 5096 + - 5097 + - 5098 + - 5099 + - 5100 + - 5101 + - 5102 + - 5103 + - 5104 + - 5105 + - 5106 + - 5107 + - 5108 + - 5109 + - 5110 + - 5111 + - 5112 + - 5113 + - 5114 + - 5115 + - 5116 + - 5117 + - 5118 + - 5119 + - 5120 + - 5121 + - 5122 + - 5123 + - 5124 + - 5125 + - 5126 + - 5127 + - 5128 + - 5129 + - 5130 + - 5131 + - 5132 + - 5133 + - 5134 + - 5135 + - 5136 + - 5137 + - 5138 + - 5139 + - 5140 + - 5141 + - 5142 + - 5143 + - 5144 + - 5145 + - 5146 + - 5147 + - 5148 + - 5149 + - 5150 + - 5151 + - 5152 + - 5153 + - 5154 + - 5156 + - 5157 + - 5158 + - 5159 + - 5160 + - 5161 + - 5162 + - 5163 + - 5164 + - 5165 + - 5166 + - 5167 + - 5168 + - 5169 + - 5170 + - 5171 + - 5172 + - 5173 + - 5174 + - 5175 + - 5176 + - 5177 + - 5178 + - 6000 + - 6001 + - 90001 + type: number type: array - feePolicyList: + roomAmenityList: + description: A list of unit and room amenities available at the property + (respectively unit type if applicable) that are visible in this media + element. items: - type: string + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 111 + - 112 + - 113 + - 114 + - 115 + - 116 + - 117 + - 118 + - 119 + - 120 + - 121 + - 122 + - 123 + - 124 + - 125 + - 126 + - 127 + - 128 + - 129 + - 130 + - 131 + - 132 + - 133 + - 134 + - 135 + - 136 + - 137 + - 138 + - 139 + - 140 + - 141 + - 142 + - 143 + - 144 + - 145 + - 146 + - 147 + - 148 + - 149 + - 150 + - 151 + - 152 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 162 + - 163 + - 164 + - 165 + - 166 + - 167 + - 168 + - 169 + - 170 + - 171 + - 172 + - 173 + - 174 + - 175 + - 176 + - 177 + - 178 + - 179 + - 180 + - 181 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 200 + - 201 + - 202 + - 203 + - 204 + - 205 + - 206 + - 207 + - 208 + - 209 + - 210 + - 211 + - 212 + - 213 + - 214 + - 215 + - 216 + - 217 + - 218 + - 219 + - 220 + - 221 + - 222 + - 223 + - 224 + - 225 + - 226 + - 227 + - 228 + - 229 + - 230 + - 231 + - 232 + - 233 + - 234 + - 235 + - 236 + - 237 + - 238 + - 239 + - 240 + - 241 + - 242 + - 243 + - 244 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 274 + - 275 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5019 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5034 + - 5035 + - 5036 + - 5037 + - 5038 + - 5039 + - 5040 + - 5041 + - 5042 + - 5043 + - 5044 + - 5045 + - 5046 + - 5068 + - 5069 + - 5070 + - 5071 + - 5072 + - 5073 + - 5074 + - 5075 + - 5076 + - 5077 + - 5079 + - 5080 + - 5081 + - 5082 + - 5083 + - 5084 + - 5085 + - 5086 + - 5087 + - 5088 + - 5089 + - 5090 + - 5091 + - 5092 + - 5093 + - 5094 + - 5095 + - 5096 + - 5097 + - 5098 + - 5099 + - 5100 + - 5101 + - 5102 + - 5103 + - 5104 + - 5105 + - 5106 + - 5107 + - 5108 + - 5109 + - 5110 + - 5111 + - 5112 + - 5113 + - 5114 + - 5115 + - 5116 + - 5117 + - 5118 + - 5119 + - 5120 + - 5121 + - 5122 + - 5123 + - 5124 + - 5125 + - 5126 + - 5127 + - 5129 + - 5130 + - 5131 + - 5132 + - 5133 + - 5134 + - 5135 + - 5136 + - 5137 + - 5138 + - 5139 + - 5140 + - 5141 + - 5142 + - 5143 + - 5144 + - 5145 + - 5146 + - 5147 + - 5148 + - 5149 + - 5150 + - 5151 + - 5152 + - 5153 + - 5154 + - 5157 + - 5158 + - 5159 + - 5160 + - 5161 + - 5162 + - 5163 + - 5164 + - 5165 + - 5166 + - 5167 + - 5168 + - 5169 + - 5170 + - 5171 + - 5172 + - 5173 + - 5174 + - 5175 + - 5176 + - 5177 + - 5178 + - 5179 + - 5180 + - 5181 + - 5182 + - 5184 + - 5185 + - 5186 + - 5187 + - 5188 + - 5189 + - 5190 + - 5191 + - 5196 + - 5198 + - 5199 + - 5200 + - 5201 + - 5202 + - 5203 + - 5204 + - 5205 + - 5206 + - 5207 + - 5211 + - 5212 + - 90001 + - 90002 + - 90003 + - 90004 + - 90005 + - 90006 + - 90007 + - 90008 + - 90009 + - 90010 + - 90011 + type: number type: array + required: + - isMainImage + - moderationLabelList + - propertyAmenityList + - sortOrder + - tagList + - url type: object - _v1_property_get_post_200_response_property_transaction_externalList_inner: - example: - text: https://www.booking.com/ - languageCode: de + _properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner_amenityList_inner: + properties: + code: + description: The code indicating the room amenity type.

See also in + the appendix.

+ enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 111 + - 112 + - 113 + - 114 + - 115 + - 116 + - 117 + - 118 + - 119 + - 120 + - 121 + - 122 + - 123 + - 124 + - 125 + - 126 + - 127 + - 128 + - 129 + - 130 + - 131 + - 132 + - 133 + - 134 + - 135 + - 136 + - 137 + - 138 + - 139 + - 140 + - 141 + - 142 + - 143 + - 144 + - 145 + - 146 + - 147 + - 148 + - 149 + - 150 + - 151 + - 152 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 162 + - 163 + - 164 + - 165 + - 166 + - 167 + - 168 + - 169 + - 170 + - 171 + - 172 + - 173 + - 174 + - 175 + - 176 + - 177 + - 178 + - 179 + - 180 + - 181 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 200 + - 201 + - 202 + - 203 + - 204 + - 205 + - 206 + - 207 + - 208 + - 209 + - 210 + - 211 + - 212 + - 213 + - 214 + - 215 + - 216 + - 217 + - 218 + - 219 + - 220 + - 221 + - 222 + - 223 + - 224 + - 225 + - 226 + - 227 + - 228 + - 229 + - 230 + - 231 + - 232 + - 233 + - 234 + - 235 + - 236 + - 237 + - 238 + - 239 + - 240 + - 241 + - 242 + - 243 + - 244 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 274 + - 275 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5019 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5034 + - 5035 + - 5036 + - 5037 + - 5038 + - 5039 + - 5040 + - 5041 + - 5042 + - 5043 + - 5044 + - 5045 + - 5046 + - 5068 + - 5069 + - 5070 + - 5071 + - 5072 + - 5073 + - 5074 + - 5075 + - 5076 + - 5077 + - 5079 + - 5080 + - 5081 + - 5082 + - 5083 + - 5084 + - 5085 + - 5086 + - 5087 + - 5088 + - 5089 + - 5090 + - 5091 + - 5092 + - 5093 + - 5094 + - 5095 + - 5096 + - 5097 + - 5098 + - 5099 + - 5100 + - 5101 + - 5102 + - 5103 + - 5104 + - 5105 + - 5106 + - 5107 + - 5108 + - 5109 + - 5110 + - 5111 + - 5112 + - 5113 + - 5114 + - 5115 + - 5116 + - 5117 + - 5118 + - 5119 + - 5120 + - 5121 + - 5122 + - 5123 + - 5124 + - 5125 + - 5126 + - 5127 + - 5129 + - 5130 + - 5131 + - 5132 + - 5133 + - 5134 + - 5135 + - 5136 + - 5137 + - 5138 + - 5139 + - 5140 + - 5141 + - 5142 + - 5143 + - 5144 + - 5145 + - 5146 + - 5147 + - 5148 + - 5149 + - 5150 + - 5151 + - 5152 + - 5153 + - 5154 + - 5157 + - 5158 + - 5159 + - 5160 + - 5161 + - 5162 + - 5163 + - 5164 + - 5165 + - 5166 + - 5167 + - 5168 + - 5169 + - 5170 + - 5171 + - 5172 + - 5173 + - 5174 + - 5175 + - 5176 + - 5177 + - 5178 + - 5179 + - 5180 + - 5181 + - 5182 + - 5184 + - 5185 + - 5186 + - 5187 + - 5188 + - 5189 + - 5190 + - 5191 + - 5196 + - 5198 + - 5199 + - 5200 + - 5201 + - 5202 + - 5203 + - 5204 + - 5205 + - 5206 + - 5207 + - 5211 + - 5212 + - 90001 + - 90002 + - 90003 + - 90004 + - 90005 + - 90006 + - 90007 + - 90008 + - 90009 + - 90010 + - 90011 + type: number + quantity: + description: The quantity of this amenity type in this room. + example: 1 + type: number + required: + - code + - quantity + type: object + _properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner_messageList_inner: properties: languageCode: - example: de + description: The language code of the message.

Please note that beside + the general restrictions listed below only languages configured during + system setup for your respective tenant are allowed.

See also in the appendix.

+ enum: + - af + - ar + - bg + - ca + - cs + - da + - de + - el + - en + - es + - et + - fi + - fr + - he + - hi + - hr + - hu + - id + - is + - it + - ja + - ko + - lt + - lv + - nl + - "no" + - pl + - pt + - ro + - ru + - sk + - sl + - sr + - sv + - th + - tr + - vi + - zh type: string text: - example: https://www.booking.com/ + description: The message text. type: string + required: + - languageCode + - text type: object - _v1_property_get_post_200_response_property_transaction: + _properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner: + description: An object representing a room in the property. example: - method: MANDATORY_BOOKING - externalList: - - text: https://www.booking.com/ - languageCode: de - - text: https://www.booking.com/ - languageCode: de - contactTypeList: - - reservations - - reservations + roomTypeCode: 1 + mediaList: + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + isNonSmoking: false + messageList: + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious leather\ + \ seat, spacious dining table with chairs for 4 people, large cable flat\ + \ screen TV, DVD/BluRay player, music system with CD and docking station,\ + \ free Wi-Fi and telephone flat rate (German landline). Kitchen: branded\ + \ fitted kitchen with dishwasher, cooker with ceramic hob, Oven, microwave,\ + \ fridge/freezer, Nespresso coffee machine.Bedrooms: One double bedroom\ + \ including Treca box spring beds with fitted wardrobes with ample storage\ + \ space and with cable flat screen TV and safe.Bathroom: including spa\ + \ shower, bathtub, washbasin, underfloor heating, towel warmer, radio,\ + \ hairdryer, Cosmetic mirror, window.Balcony (south facing position):\ + \ with seating group.Other: Washer dryer, ironing station, private parking\ + \ in front of the house, bicycle storage with charging connection for\ + \ pedelecs... and fantastic location, right at the beach crossing!Maisonette\ + \ apartment up/attic living room: including spacious leather seating,\ + \ spacious dining table with chairs for 4 people, large cable flat screen\ + \ TV, DVD/Blueray player, music system with CD and docking station, free\ + \ Wi-Fi and telephone flat rate (German landline) .Kitchen: branded fitted\ + \ kitchen with dishwasher, cooker with ceramic hob, among others, oven,\ + \ microwave, fridge/freezer, Nespresso coffee machine.Bedrooms: One double\ + \ bedroom including Treca box spring beds with fitted wardrobes with ample\ + \ storage space and with cable flat screen TV and safe.Bathroom: including\ + \ spa shower, bathtub, washbasin, underfloor heating, towel warmer, radio,\ + \ hairdryer, Vanity mirror, window.Balcony (south facing position): with\ + \ seating group.Other: washer-dryer, ironing station, private parking\ + \ in front of the house, bicycle storage with charging connection for\ + \ pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig lædersæ\ + de, rummeligt spisebord med stole til 4 personer, stort kabel-fladskæ\ + rms TV, dvd/Bluray-afspiller, musiksystem med cd og dockingstation, gratis\ + \ trådløs internetadgang og telefon fast (tysk fastnet). Køkken: mærkevarer\ + \ udstyret køkken med opvaskemaskine, komfur med keramisk komfur, Ovn,\ + \ mikroovn, køleskab/fryser, Nespresso kaffemaskine.Soveværelser: Et sovevæ\ + relse med dobbeltseng herunder Treca box foråret senge med indbyggede\ + \ garderobeskabe med rigelig opbevaringsplads og med kabel-fladskærms\ + \ TV og sikker.Badeværelse: herunder spa-bruser, badekar, håndvask, gulvvarme,\ + \ håndklædevarmer, radio, hårtørrer, Kosmetiske spejl, vindue.Balkon (sydvendt\ + \ position): med siddepladser gruppe.Andre: Vaskemaskine tørretumbler,\ + \ strygestation, privat parkering foran huset, cykelopbevaring med opladningsforbindelse\ + \ for pedelecs... og fantastisk beliggenhed, lige ved siden af stranden\ + \ krydser!Maisonette lejlighed op/loftsrum stue: herunder rummelige læ\ + der siddepladser, rummelige spisebord med stole til 4 personer, stort\ + \ kabel fladskærms TV, DVD/Blueray afspiller, musikanlæg med cd og docking\ + \ station, gratis trådløs internetadgang og telefon fast (tysk fastnet)\ + \ .Køkken: mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, blandt andre ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et dobbeltværelse herunder Treca box foråret senge med indbyggede\ + \ garderobeskabe med rigelig opbevaringsplads og med kabel fladskærms\ + \ TV og penge.Badeværelse: herunder spa bruser, badekar, håndvask, gulvvarme,\ + \ håndklædevarmer, radio, hårtørrer, Vanity spejl, vindue.Balkon (sydvendt\ + \ position): med siddepladser gruppe.Andre: vaskemaskine-tørretumbler,\ + \ strygestation, privat parkering foran huset, cykel opbevaring med opladning\ + \ tilslutning til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een ruime\ + \ lederen stoel, ruime eettafel met stoelen voor 4 personen, grote flatscreen\ + \ tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie met cd en\ + \ docking station, gratis Wi-Fi en vaste telefoon (vaste lijn Duitsland).\ + \ Keuken: branded ingerichte keuken met vaatwasser, fornuis met keramische\ + \ kookplaat, oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met voldoende bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer,\ + \ radio, haardroger, cosmetische spiegel, venster.Balkon (op het zuiden\ + \ gelegen): met zitgroep.Overig: Wasdroger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs...\ + \ en fantastische locatie, direct aan De oversteek van het strand!Maisonnette\ + \ appartement boven/zolderwoonkamer: inclusief ruime lederen zitplaatsen,\ + \ ruime eettafel met stoelen voor 4 personen, grote flatscreen tv met\ + \ kabelkanalen, DVD/BlueRay speler, muziekinstallatie met CD en docking\ + \ station, gratis Wi-Fi en vaste telefoon vaatwasser, fornuis met keramische\ + \ kookplaat, o.a., oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met veel bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekwarmer,\ + \ radio, haardroger, make-upspiegel, raam.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: wasmachine-droger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszügiger\ + \ Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen, grossem\ + \ Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD und Docking-Station,\ + \ kostenfreies WLan sowie Telefon-Flatrate (dt. Festnetz).Küche: Marken-Einbaukü\ + che u.a. mit Geschirrspülmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle,\ + \ Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafräume: Ein\ + \ Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschränken\ + \ mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation, privater\ + \ Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit Aufladeanschluß\ + \ für Pedelecs ...... und traumhafte Lage, direkt am Strandübergang!Maisonettewohnung\ + \ Ober-/DachgeschoßWohnzimmer: u.a. mit grosszügiger Leder-Sitzguppe,\ + \ grosszügigem Eßtisch mit Stühlen für 4 Personen, grossem Kabel-Flat-TV,\ + \ DVD-/Blueray-Player, Musikanlage mit CD und Docking-Station, kostenfreies\ + \ WLan sowie Telefon-Flatrate (dt. Festnetz).Küche: Marken-Einbauküche\ + \ u.a. mit Geschirrspülmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle,\ + \ Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafräume: Ein\ + \ Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschränken\ + \ mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation, privater\ + \ Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit Aufladeanschluß\ + \ für Pedelecs." + name: Amrum + maxAdultOccupancy: 2 + maxOccupancy: 4 + isActive: true + amenityList: + - code: 5005 + quantity: 1 + - code: 13 + quantity: 1 + roomId: amrum + maxChildOccupancy: 4 properties: - method: - example: MANDATORY_BOOKING + isActive: + description: Indicates whether the room is active or not. + example: true + type: boolean + roomId: + description: The unique identifier for the room. + example: amrum type: string - contactTypeList: - items: - example: reservations - type: string + name: + description: The name of the room. + example: Amrum + type: string + mediaList: + description: A list of media objects for the room. + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner' + type: array + roomTypeCode: + description: The unit and room type code.

See also in + the appendix.

+ enum: + - 1 + - 4 + - 5 + - 7 + - 8 + - 9 + - 10 + - 12 + - 13 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 31 + - 32 + - 33 + example: 1 + type: number + isNonSmoking: + description: Indicates whether the room is designated as non-smoking. + example: false + type: boolean + amenityList: + description: A list of amenities provided in the room. + example: + - code: 5005 + quantity: 1 + - code: 13 + quantity: 1 + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner_amenityList_inner' + type: array + messageList: + description: A list of messages associated with the room. + example: + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious\ + \ leather seat, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/BluRay player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline).\ + \ Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, Oven, microwave, fridge/freezer, Nespresso coffee machine.Bedrooms:\ + \ One double bedroom including Treca box spring beds with fitted wardrobes\ + \ with ample storage space and with cable flat screen TV and safe.Bathroom:\ + \ including spa shower, bathtub, washbasin, underfloor heating, towel\ + \ warmer, radio, hairdryer, Cosmetic mirror, window.Balcony (south facing\ + \ position): with seating group.Other: Washer dryer, ironing station,\ + \ private parking in front of the house, bicycle storage with charging\ + \ connection for pedelecs... and fantastic location, right at the beach\ + \ crossing!Maisonette apartment up/attic living room: including spacious\ + \ leather seating, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/Blueray player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline)\ + \ .Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, among others, oven, microwave, fridge/freezer, Nespresso coffee\ + \ machine.Bedrooms: One double bedroom including Treca box spring beds\ + \ with fitted wardrobes with ample storage space and with cable flat\ + \ screen TV and safe.Bathroom: including spa shower, bathtub, washbasin,\ + \ underfloor heating, towel warmer, radio, hairdryer, Vanity mirror,\ + \ window.Balcony (south facing position): with seating group.Other:\ + \ washer-dryer, ironing station, private parking in front of the house,\ + \ bicycle storage with charging connection for pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig læ\ + dersæde, rummeligt spisebord med stole til 4 personer, stort kabel-fladskæ\ + rms TV, dvd/Bluray-afspiller, musiksystem med cd og dockingstation,\ + \ gratis trådløs internetadgang og telefon fast (tysk fastnet). Køkken:\ + \ mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, Ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et soveværelse med dobbeltseng herunder Treca box foråret senge\ + \ med indbyggede garderobeskabe med rigelig opbevaringsplads og med\ + \ kabel-fladskærms TV og sikker.Badeværelse: herunder spa-bruser, badekar,\ + \ håndvask, gulvvarme, håndklædevarmer, radio, hårtørrer, Kosmetiske\ + \ spejl, vindue.Balkon (sydvendt position): med siddepladser gruppe.Andre:\ + \ Vaskemaskine tørretumbler, strygestation, privat parkering foran huset,\ + \ cykelopbevaring med opladningsforbindelse for pedelecs... og fantastisk\ + \ beliggenhed, lige ved siden af stranden krydser!Maisonette lejlighed\ + \ op/loftsrum stue: herunder rummelige læder siddepladser, rummelige\ + \ spisebord med stole til 4 personer, stort kabel fladskærms TV, DVD/Blueray\ + \ afspiller, musikanlæg med cd og docking station, gratis trådløs internetadgang\ + \ og telefon fast (tysk fastnet) .Køkken: mærkevarer udstyret køkken\ + \ med opvaskemaskine, komfur med keramisk komfur, blandt andre ovn,\ + \ mikroovn, køleskab/fryser, Nespresso kaffemaskine.Soveværelser: Et\ + \ dobbeltværelse herunder Treca box foråret senge med indbyggede garderobeskabe\ + \ med rigelig opbevaringsplads og med kabel fladskærms TV og penge.Badevæ\ + relse: herunder spa bruser, badekar, håndvask, gulvvarme, håndklædevarmer,\ + \ radio, hårtørrer, Vanity spejl, vindue.Balkon (sydvendt position):\ + \ med siddepladser gruppe.Andre: vaskemaskine-tørretumbler, strygestation,\ + \ privat parkering foran huset, cykel opbevaring med opladning tilslutning\ + \ til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een ruime\ + \ lederen stoel, ruime eettafel met stoelen voor 4 personen, grote flatscreen\ + \ tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie met cd en\ + \ docking station, gratis Wi-Fi en vaste telefoon (vaste lijn Duitsland).\ + \ Keuken: branded ingerichte keuken met vaatwasser, fornuis met keramische\ + \ kookplaat, oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met voldoende bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer,\ + \ radio, haardroger, cosmetische spiegel, venster.Balkon (op het zuiden\ + \ gelegen): met zitgroep.Overig: Wasdroger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs...\ + \ en fantastische locatie, direct aan De oversteek van het strand!Maisonnette\ + \ appartement boven/zolderwoonkamer: inclusief ruime lederen zitplaatsen,\ + \ ruime eettafel met stoelen voor 4 personen, grote flatscreen tv met\ + \ kabelkanalen, DVD/BlueRay speler, muziekinstallatie met CD en docking\ + \ station, gratis Wi-Fi en vaste telefoon vaatwasser, fornuis met keramische\ + \ kookplaat, o.a., oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met veel bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekwarmer,\ + \ radio, haardroger, make-upspiegel, raam.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: wasmachine-droger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszü\ + giger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen,\ + \ grossem Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD und\ + \ Docking-Station, kostenfreies WLan sowie Telefon-Flatrate (dt. Festnetz).Kü\ + che: Marken-Einbauküche u.a. mit Geschirrspülmaschine, Herd mit Ceranfeld,\ + \ Backofen, Mikrowelle, Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafrä\ + ume: Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit\ + \ Aufladeanschluß für Pedelecs ...... und traumhafte Lage, direkt am\ + \ Strandübergang!Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a.\ + \ mit grosszügiger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen\ + \ für 4 Personen, grossem Kabel-Flat-TV, DVD-/Blueray-Player, Musikanlage\ + \ mit CD und Docking-Station, kostenfreies WLan sowie Telefon-Flatrate\ + \ (dt. Festnetz).Küche: Marken-Einbauküche u.a. mit Geschirrspülmaschine,\ + \ Herd mit Ceranfeld, Backofen, Mikrowelle, Kühl-/Gefrierkombination,\ + \ Nespresso-Kaffeemaschine.Schlafräume: Ein Doppelschlafraum u.a. mit\ + \ TRECA-Boxspringbetten mit Einbauschränken mit ausreichend Stauraum\ + \ sowie mit Kabel-Flat-TV und Safe.Badezimmer: u.a. mit Wellness-Dusche,\ + \ Badewanne, Waschtischanlage, Fußbodenheizung, Handtuchwärmer, Radioanlage,\ + \ Haartrockner, Kosmetikspiegel, Fenster.Balkon (Südlage): mit Sitzgruppe.Sonstiges:\ + \ Waschtrockner, Bügelstation, privater Parkplatz vor dem Haus, Fahrradunterstellmö\ + glichkeit mit Aufladeanschluß für Pedelecs." + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner_messageList_inner' type: array - externalList: + maxOccupancy: + description: The maximum occupancy of the room. + example: 4 + type: number + maxAdultOccupancy: + description: The maximum number of adults that can occupy the room. + example: 2 + type: number + maxChildOccupancy: + description: The maximum number of children that can occupy the room. + example: 4 + type: number + required: + - amenityList + - isActive + - isNonSmoking + - maxAdultOccupancy + - maxChildOccupancy + - maxOccupancy + - mediaList + - messageList + - name + - roomId + - roomTypeCode + type: object + _properties__propertyId__get_200_response_property_facilityInfo: + description: Further information regarding the facility. + example: + guestRoomList: + - roomTypeCode: 1 + mediaList: + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + isNonSmoking: false + messageList: + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious\ + \ leather seat, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/BluRay player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline).\ + \ Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, Oven, microwave, fridge/freezer, Nespresso coffee machine.Bedrooms:\ + \ One double bedroom including Treca box spring beds with fitted wardrobes\ + \ with ample storage space and with cable flat screen TV and safe.Bathroom:\ + \ including spa shower, bathtub, washbasin, underfloor heating, towel\ + \ warmer, radio, hairdryer, Cosmetic mirror, window.Balcony (south facing\ + \ position): with seating group.Other: Washer dryer, ironing station,\ + \ private parking in front of the house, bicycle storage with charging\ + \ connection for pedelecs... and fantastic location, right at the beach\ + \ crossing!Maisonette apartment up/attic living room: including spacious\ + \ leather seating, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/Blueray player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline)\ + \ .Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, among others, oven, microwave, fridge/freezer, Nespresso coffee\ + \ machine.Bedrooms: One double bedroom including Treca box spring beds\ + \ with fitted wardrobes with ample storage space and with cable flat\ + \ screen TV and safe.Bathroom: including spa shower, bathtub, washbasin,\ + \ underfloor heating, towel warmer, radio, hairdryer, Vanity mirror,\ + \ window.Balcony (south facing position): with seating group.Other:\ + \ washer-dryer, ironing station, private parking in front of the house,\ + \ bicycle storage with charging connection for pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig læ\ + dersæde, rummeligt spisebord med stole til 4 personer, stort kabel-fladskæ\ + rms TV, dvd/Bluray-afspiller, musiksystem med cd og dockingstation,\ + \ gratis trådløs internetadgang og telefon fast (tysk fastnet). Køkken:\ + \ mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, Ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et soveværelse med dobbeltseng herunder Treca box foråret senge\ + \ med indbyggede garderobeskabe med rigelig opbevaringsplads og med\ + \ kabel-fladskærms TV og sikker.Badeværelse: herunder spa-bruser, badekar,\ + \ håndvask, gulvvarme, håndklædevarmer, radio, hårtørrer, Kosmetiske\ + \ spejl, vindue.Balkon (sydvendt position): med siddepladser gruppe.Andre:\ + \ Vaskemaskine tørretumbler, strygestation, privat parkering foran huset,\ + \ cykelopbevaring med opladningsforbindelse for pedelecs... og fantastisk\ + \ beliggenhed, lige ved siden af stranden krydser!Maisonette lejlighed\ + \ op/loftsrum stue: herunder rummelige læder siddepladser, rummelige\ + \ spisebord med stole til 4 personer, stort kabel fladskærms TV, DVD/Blueray\ + \ afspiller, musikanlæg med cd og docking station, gratis trådløs internetadgang\ + \ og telefon fast (tysk fastnet) .Køkken: mærkevarer udstyret køkken\ + \ med opvaskemaskine, komfur med keramisk komfur, blandt andre ovn,\ + \ mikroovn, køleskab/fryser, Nespresso kaffemaskine.Soveværelser: Et\ + \ dobbeltværelse herunder Treca box foråret senge med indbyggede garderobeskabe\ + \ med rigelig opbevaringsplads og med kabel fladskærms TV og penge.Badevæ\ + relse: herunder spa bruser, badekar, håndvask, gulvvarme, håndklædevarmer,\ + \ radio, hårtørrer, Vanity spejl, vindue.Balkon (sydvendt position):\ + \ med siddepladser gruppe.Andre: vaskemaskine-tørretumbler, strygestation,\ + \ privat parkering foran huset, cykel opbevaring med opladning tilslutning\ + \ til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een ruime\ + \ lederen stoel, ruime eettafel met stoelen voor 4 personen, grote flatscreen\ + \ tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie met cd en\ + \ docking station, gratis Wi-Fi en vaste telefoon (vaste lijn Duitsland).\ + \ Keuken: branded ingerichte keuken met vaatwasser, fornuis met keramische\ + \ kookplaat, oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met voldoende bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer,\ + \ radio, haardroger, cosmetische spiegel, venster.Balkon (op het zuiden\ + \ gelegen): met zitgroep.Overig: Wasdroger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs...\ + \ en fantastische locatie, direct aan De oversteek van het strand!Maisonnette\ + \ appartement boven/zolderwoonkamer: inclusief ruime lederen zitplaatsen,\ + \ ruime eettafel met stoelen voor 4 personen, grote flatscreen tv met\ + \ kabelkanalen, DVD/BlueRay speler, muziekinstallatie met CD en docking\ + \ station, gratis Wi-Fi en vaste telefoon vaatwasser, fornuis met keramische\ + \ kookplaat, o.a., oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met veel bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekwarmer,\ + \ radio, haardroger, make-upspiegel, raam.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: wasmachine-droger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszü\ + giger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen,\ + \ grossem Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD und\ + \ Docking-Station, kostenfreies WLan sowie Telefon-Flatrate (dt. Festnetz).Kü\ + che: Marken-Einbauküche u.a. mit Geschirrspülmaschine, Herd mit Ceranfeld,\ + \ Backofen, Mikrowelle, Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafrä\ + ume: Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit\ + \ Aufladeanschluß für Pedelecs ...... und traumhafte Lage, direkt am\ + \ Strandübergang!Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a.\ + \ mit grosszügiger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen\ + \ für 4 Personen, grossem Kabel-Flat-TV, DVD-/Blueray-Player, Musikanlage\ + \ mit CD und Docking-Station, kostenfreies WLan sowie Telefon-Flatrate\ + \ (dt. Festnetz).Küche: Marken-Einbauküche u.a. mit Geschirrspülmaschine,\ + \ Herd mit Ceranfeld, Backofen, Mikrowelle, Kühl-/Gefrierkombination,\ + \ Nespresso-Kaffeemaschine.Schlafräume: Ein Doppelschlafraum u.a. mit\ + \ TRECA-Boxspringbetten mit Einbauschränken mit ausreichend Stauraum\ + \ sowie mit Kabel-Flat-TV und Safe.Badezimmer: u.a. mit Wellness-Dusche,\ + \ Badewanne, Waschtischanlage, Fußbodenheizung, Handtuchwärmer, Radioanlage,\ + \ Haartrockner, Kosmetikspiegel, Fenster.Balkon (Südlage): mit Sitzgruppe.Sonstiges:\ + \ Waschtrockner, Bügelstation, privater Parkplatz vor dem Haus, Fahrradunterstellmö\ + glichkeit mit Aufladeanschluß für Pedelecs." + name: Amrum + maxAdultOccupancy: 2 + maxOccupancy: 4 + isActive: true + amenityList: + - code: 5005 + quantity: 1 + - code: 13 + quantity: 1 + roomId: amrum + maxChildOccupancy: 4 + - roomTypeCode: 1 + mediaList: + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + isNonSmoking: false + messageList: + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious\ + \ leather seat, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/BluRay player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline).\ + \ Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, Oven, microwave, fridge/freezer, Nespresso coffee machine.Bedrooms:\ + \ One double bedroom including Treca box spring beds with fitted wardrobes\ + \ with ample storage space and with cable flat screen TV and safe.Bathroom:\ + \ including spa shower, bathtub, washbasin, underfloor heating, towel\ + \ warmer, radio, hairdryer, Cosmetic mirror, window.Balcony (south facing\ + \ position): with seating group.Other: Washer dryer, ironing station,\ + \ private parking in front of the house, bicycle storage with charging\ + \ connection for pedelecs... and fantastic location, right at the beach\ + \ crossing!Maisonette apartment up/attic living room: including spacious\ + \ leather seating, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/Blueray player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline)\ + \ .Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, among others, oven, microwave, fridge/freezer, Nespresso coffee\ + \ machine.Bedrooms: One double bedroom including Treca box spring beds\ + \ with fitted wardrobes with ample storage space and with cable flat\ + \ screen TV and safe.Bathroom: including spa shower, bathtub, washbasin,\ + \ underfloor heating, towel warmer, radio, hairdryer, Vanity mirror,\ + \ window.Balcony (south facing position): with seating group.Other:\ + \ washer-dryer, ironing station, private parking in front of the house,\ + \ bicycle storage with charging connection for pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig læ\ + dersæde, rummeligt spisebord med stole til 4 personer, stort kabel-fladskæ\ + rms TV, dvd/Bluray-afspiller, musiksystem med cd og dockingstation,\ + \ gratis trådløs internetadgang og telefon fast (tysk fastnet). Køkken:\ + \ mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, Ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et soveværelse med dobbeltseng herunder Treca box foråret senge\ + \ med indbyggede garderobeskabe med rigelig opbevaringsplads og med\ + \ kabel-fladskærms TV og sikker.Badeværelse: herunder spa-bruser, badekar,\ + \ håndvask, gulvvarme, håndklædevarmer, radio, hårtørrer, Kosmetiske\ + \ spejl, vindue.Balkon (sydvendt position): med siddepladser gruppe.Andre:\ + \ Vaskemaskine tørretumbler, strygestation, privat parkering foran huset,\ + \ cykelopbevaring med opladningsforbindelse for pedelecs... og fantastisk\ + \ beliggenhed, lige ved siden af stranden krydser!Maisonette lejlighed\ + \ op/loftsrum stue: herunder rummelige læder siddepladser, rummelige\ + \ spisebord med stole til 4 personer, stort kabel fladskærms TV, DVD/Blueray\ + \ afspiller, musikanlæg med cd og docking station, gratis trådløs internetadgang\ + \ og telefon fast (tysk fastnet) .Køkken: mærkevarer udstyret køkken\ + \ med opvaskemaskine, komfur med keramisk komfur, blandt andre ovn,\ + \ mikroovn, køleskab/fryser, Nespresso kaffemaskine.Soveværelser: Et\ + \ dobbeltværelse herunder Treca box foråret senge med indbyggede garderobeskabe\ + \ med rigelig opbevaringsplads og med kabel fladskærms TV og penge.Badevæ\ + relse: herunder spa bruser, badekar, håndvask, gulvvarme, håndklædevarmer,\ + \ radio, hårtørrer, Vanity spejl, vindue.Balkon (sydvendt position):\ + \ med siddepladser gruppe.Andre: vaskemaskine-tørretumbler, strygestation,\ + \ privat parkering foran huset, cykel opbevaring med opladning tilslutning\ + \ til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een ruime\ + \ lederen stoel, ruime eettafel met stoelen voor 4 personen, grote flatscreen\ + \ tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie met cd en\ + \ docking station, gratis Wi-Fi en vaste telefoon (vaste lijn Duitsland).\ + \ Keuken: branded ingerichte keuken met vaatwasser, fornuis met keramische\ + \ kookplaat, oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met voldoende bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer,\ + \ radio, haardroger, cosmetische spiegel, venster.Balkon (op het zuiden\ + \ gelegen): met zitgroep.Overig: Wasdroger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs...\ + \ en fantastische locatie, direct aan De oversteek van het strand!Maisonnette\ + \ appartement boven/zolderwoonkamer: inclusief ruime lederen zitplaatsen,\ + \ ruime eettafel met stoelen voor 4 personen, grote flatscreen tv met\ + \ kabelkanalen, DVD/BlueRay speler, muziekinstallatie met CD en docking\ + \ station, gratis Wi-Fi en vaste telefoon vaatwasser, fornuis met keramische\ + \ kookplaat, o.a., oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met ingebouwde\ + \ kasten met veel bergruimte en met kabel flatscreen TV en kluis.Badkamer:\ + \ inclusief spa douche, bad, wastafel, vloerverwarming, handdoekwarmer,\ + \ radio, haardroger, make-upspiegel, raam.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: wasmachine-droger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszü\ + giger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen,\ + \ grossem Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD und\ + \ Docking-Station, kostenfreies WLan sowie Telefon-Flatrate (dt. Festnetz).Kü\ + che: Marken-Einbauküche u.a. mit Geschirrspülmaschine, Herd mit Ceranfeld,\ + \ Backofen, Mikrowelle, Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafrä\ + ume: Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit\ + \ Aufladeanschluß für Pedelecs ...... und traumhafte Lage, direkt am\ + \ Strandübergang!Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a.\ + \ mit grosszügiger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen\ + \ für 4 Personen, grossem Kabel-Flat-TV, DVD-/Blueray-Player, Musikanlage\ + \ mit CD und Docking-Station, kostenfreies WLan sowie Telefon-Flatrate\ + \ (dt. Festnetz).Küche: Marken-Einbauküche u.a. mit Geschirrspülmaschine,\ + \ Herd mit Ceranfeld, Backofen, Mikrowelle, Kühl-/Gefrierkombination,\ + \ Nespresso-Kaffeemaschine.Schlafräume: Ein Doppelschlafraum u.a. mit\ + \ TRECA-Boxspringbetten mit Einbauschränken mit ausreichend Stauraum\ + \ sowie mit Kabel-Flat-TV und Safe.Badezimmer: u.a. mit Wellness-Dusche,\ + \ Badewanne, Waschtischanlage, Fußbodenheizung, Handtuchwärmer, Radioanlage,\ + \ Haartrockner, Kosmetikspiegel, Fenster.Balkon (Südlage): mit Sitzgruppe.Sonstiges:\ + \ Waschtrockner, Bügelstation, privater Parkplatz vor dem Haus, Fahrradunterstellmö\ + glichkeit mit Aufladeanschluß für Pedelecs." + name: Amrum + maxAdultOccupancy: 2 + maxOccupancy: 4 + isActive: true + amenityList: + - code: 5005 + quantity: 1 + - code: 13 + quantity: 1 + roomId: amrum + maxChildOccupancy: 4 + properties: + guestRoomList: + description: An array of objects representing a room in the property. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_transaction_externalList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner' type: array + required: + - guestRoomList type: object - _v1_property_get_post_200_response_property_cancellationGracePeriod: + _properties__propertyId__get_200_response_property_policyList_inner_cancellationPolicyList_inner: example: - weeksBeforeCheckIn: 0 - hoursAfterBooking: 24 + noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 properties: - hoursAfterBooking: - example: 24 + percentAfterReservation: + description: Percentage of refund after reservation. + example: 0 type: number - weeksBeforeCheckIn: + nightsAfterReservation: + description: Number of nights after reservation. + example: 0 + type: number + deadlineDays: + description: Deadline in days. + example: 0 + type: number + deadlineHours: + description: Deadline in hours. + example: 0 + type: number + percentAfterDeadline: + description: Percentage of refund after deadline. example: 0 type: number + nightsAfterDeadline: + description: Number of nights after deadline. + example: 0 + type: number + noShowPolicy: + description: No-show policy + example: Default + type: string + required: + - deadlineDays + - deadlineHours + - nightsAfterDeadline + - nightsAfterReservation + - noShowPolicy + - percentAfterDeadline + - percentAfterReservation type: object - _v1_property_get_post_200_response_property_serviceList_inner: + _properties__propertyId__get_200_response_property_policyList_inner_petsPolicy: + description: Contains information about the pets policy of the property example: - featureList: - - featureList - - featureList - operationTimeList: - - operationTimeList - - operationTimeList - code: 5015 - typeList: - - typeList - - typeList - price: 0 - name: Beach - exists: true - itemList: - - itemList - - itemList - included: true - currencyCode: EUR + byArrangement: false + allowed: false + freeOfCharge: false properties: - code: - example: 5015 + allowed: + description: Indicates if pets are allowed in the property. + example: false + type: boolean + byArrangement: + description: Indicates if pets are allowed by arrangement. + example: false + type: boolean + freeOfCharge: + description: Indicates if pets are allowed without any additional charge. + example: false + type: boolean + required: + - allowed + - byArrangement + - freeOfCharge + type: object + _properties__propertyId__get_200_response_property_policyList_inner_guaranteePolicy: + description: Defines the guarantee amount that has to be paid to the property. + example: + noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + properties: + percentAfterReservation: + description: Percentage of refund after reservation. + example: 0 type: number - price: + nightsAfterReservation: + description: Number of nights after reservation. example: 0 type: number - exists: - type: boolean - included: - type: boolean + deadlineDays: + description: Deadline in days. + example: 0 + type: number + deadlineHours: + description: Deadline in hours. + example: 0 + type: number + percentAfterDeadline: + description: Percentage of refund after deadline. + example: 0 + type: number + nightsAfterDeadline: + description: Number of nights after deadline. + example: 0 + type: number + noShowPolicy: + description: No-show policy + example: Default + type: string + required: + - deadlineDays + - deadlineHours + - nightsAfterDeadline + - nightsAfterReservation + - noShowPolicy + - percentAfterDeadline + - percentAfterReservation + type: object + _properties__propertyId__get_200_response_property_policyList_inner_taxPolicyList_inner: + example: + conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + properties: + typeCode: + description: The code that represents the type of tax.

See also in + the appendix.

+ enum: + - 1 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 10 + - 13 + - 15 + - 17 + - 18 + - 19 + - 28 + - 30 + - 35 + - 36 + - 39 + - 43 + - 46 + - 5001 + - 5002 + - 5004 + - 5007 + - 5008 + example: 36 + type: number + percent: + description: The charged percentage if applicable. + example: 19 + type: number + chargeType: + description: The type of charge. + enum: + - included + - excluded + - conditional + example: included + type: string + chargeFrequencyCode: + description: The code that represents the frequency of charge.

See also + in the appendix.

+ enum: + - 1 + - 2 + - 7 + - 10 + - 12 + - 17 + - 19 + - 20 + - 21 + - 25 + - 31 + - 5000 + - 5001 + - 5002 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 90010 + - 90011 + - 90012 + - 90013 + example: 12 + type: number currencyCode: + description: The currency code of the currency in that the charge is applied.

See + also in the appendix.

+ enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR example: EUR type: string - featureList: - items: - type: string - type: array - typeList: - items: - type: string - type: array - itemList: + conditionList: + description: A list of conditions for the tax. Is empty if chargeType + is not conditional. + example: [] items: + enum: + - guest_brings_pet + - guest_doesnt_clean_before_checkout + - guest_smokes type: string type: array - operationTimeList: + required: + - chargeFrequencyCode + - chargeType + - conditionList + - currencyCode + - typeCode + type: object + _properties__propertyId__get_200_response_property_policyList_inner_feePolicyList_inner: + example: + conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + properties: + typeCode: + description: The code that represents the type of fee.

See also in + the appendix.

+ enum: + - 2 + - 9 + - 11 + - 12 + - 14 + - 16 + - 27 + - 29 + - 31 + - 32 + - 33 + - 34 + - 37 + - 38 + - 40 + - 41 + - 42 + - 44 + - 45 + - 47 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 5000 + - 5003 + - 5005 + - 5006 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5019 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5035 + - 5036 + - 20001 + example: 36 + type: number + percent: + description: The charged percentage if applicable. + example: 19 + type: number + chargeType: + description: The type of charge. + enum: + - included + - excluded + - conditional + example: included + type: string + chargeFrequencyCode: + description: The code that represents the frequency of charge.

See also + in the appendix.

+ enum: + - 1 + - 2 + - 7 + - 10 + - 12 + - 17 + - 19 + - 20 + - 21 + - 25 + - 31 + - 5000 + - 5001 + - 5002 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 90010 + - 90011 + - 90012 + - 90013 + example: 12 + type: number + currencyCode: + description: The currency code of the currency in that the charge is applied.

See + also in the appendix.

+ enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR + example: EUR + type: string + conditionList: + description: A list of conditions for the tax. Is empty if chargeType + is not conditional. + example: [] items: + enum: + - guest_brings_pet + - guest_doesnt_clean_before_checkout + - guest_smokes type: string type: array - name: - example: Beach - type: string + required: + - chargeFrequencyCode + - chargeType + - conditionList + - currencyCode + - typeCode type: object - _v1_property_get_post_200_response_property: + _properties__propertyId__get_200_response_property_policyList_inner: example: - facilityInfo: - guestRoomList: - - roomTypeCode: "1" - typeName: typeName - roomTypeName: roomTypeName - maxAdultOccupancy: "4" - descriptionText: descriptionText - isActive: true - amenityList: - - code: "5005" - quantity: 1 - - code: "5005" - quantity: 1 - roomId: amrum - maxChildOccupancy: "4" - isNonSmoking: true - mediaList: - - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs - isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs - isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - messageList: - - text: Maisonette apartment on ground floor - languageCode: en - - text: Maisonette apartment on ground floor - languageCode: en - name: Amrum - maxOccupancy: "4" - imageList: - - imageList - - imageList - - roomTypeCode: "1" - typeName: typeName - roomTypeName: roomTypeName - maxAdultOccupancy: "4" - descriptionText: descriptionText - isActive: true - amenityList: - - code: "5005" - quantity: 1 - - code: "5005" - quantity: 1 - roomId: amrum - maxChildOccupancy: "4" - isNonSmoking: true - mediaList: - - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs - isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room - roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs - isMainImage: true - detectionLabelList: - - furniture - - furniture - sortOrder: 1001 - moderationLabelList: - - moderationLabelList - - moderationLabelList - propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg - messageList: - - text: Maisonette apartment on ground floor - languageCode: en - - text: Maisonette apartment on ground floor - languageCode: en - name: Amrum - maxOccupancy: "4" - imageList: - - imageList - - imageList - code: strandresidenz-sylt - policyList: - - cancellationPolicyList: - - cancellationPolicyList - - cancellationPolicyList - checkOutTime: 43200000 - totalGuestCount: 10 + cancellationPolicyList: + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + checkOutTime: 43200000 + totalGuestCount: 10 + checkInTime: 54000000 + guaranteePolicy: + noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + taxPolicyList: + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy + feePolicyList: + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 + petsPolicy: + byArrangement: false + allowed: false + freeOfCharge: false + properties: + checkInTime: + description: Check-in time (unix timestamp in ms). + example: 54000000 + type: number + checkOutTime: + description: Check-out time (unix timestamp in ms). + example: 43200000 + type: number + totalGuestCount: + description: The maximum number of guests allowed. + example: 10 + type: number + cancellationPolicyList: + description: List of cancellation policies. + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_cancellationPolicyList_inner' + type: array + advanceBookingMin: + description: The minimum number of days in advance a booking must be made + example: 365 + type: number + advanceBookingMax: + description: The maximum number of days in advance a booking can be made + example: 1 + type: number + petsPolicy: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_petsPolicy' + prepaymentPolicy: + description: The type of the prepayment policy. + enum: + - after_cancellation_fee_begins + - after_reservation_is_made + example: after_reservation_is_made + type: string + guaranteePolicy: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_guaranteePolicy' + taxPolicyList: + description: A list of taxes and their policies. + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_taxPolicyList_inner' + type: array + feePolicyList: + description: A list of fees and their policies. + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_feePolicyList_inner' + type: array + name: + description: The name of this policy. + example: Standard Sylt Residenz Policy + type: string + required: + - advanceBookingMax + - advanceBookingMin + - cancellationPolicyList + - checkInTime + - checkOutTime + - feePolicyList + - taxPolicyList + type: object + _properties__propertyId__get_200_response_property_cancellationGracePeriod: + description: An object describing the cancellation grace periods. + example: + weeksBeforeCheckIn: 1.4658129805029452 + hoursAfterBooking: 6.027456183070403 + properties: + hoursAfterBooking: + description: The number of hours after booking that the cancellation grace + period starts. + type: number + weeksBeforeCheckIn: + description: The number of weeks before check-in that the cancellation grace + period starts. + type: number + required: + - hoursAfterBooking + - weeksBeforeCheckIn + type: object + _properties__propertyId__get_200_response_property_serviceList_inner_operationTimeList_inner: + example: + sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + properties: + start: + description: The start time of operation in milliseconds. + example: 25200000 + type: number + end: + description: The end time of operation in milliseconds. + example: 39600000 + type: number + monday: + description: Indicates whether the operation is open on Monday. + example: true + type: boolean + tuesday: + description: Indicates whether the operation is open on Tuesday. + example: true + type: boolean + wednesday: + description: Indicates whether the operation is open on Wednesday. + example: true + type: boolean + thursday: + description: Indicates whether the operation is open on Thursday. + example: true + type: boolean + friday: + description: Indicates whether the operation is open on Friday. + example: true + type: boolean + saturday: + description: Indicates whether the operation is open on Saturday. + example: false + type: boolean + sunday: + description: Indicates whether the operation is open on Sunday. + example: false + type: boolean + required: + - end + - friday + - monday + - saturday + - start + - sunday + - thursday + - tuesday + - wednesday + type: object + _properties__propertyId__get_200_response_property_serviceList_inner: + description: "An object describing the service, its pricing and its availability." + example: + featureList: [] + operationTimeList: + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + code: 173 + typeList: + - 5.962133916683182 + - 5.962133916683182 + price: 19.99 + name: Breakfast served in restaurant. + exists: true + itemList: + - 5.637376656633329 + - 5.637376656633329 + included: false + currencyCode: EUR + properties: + code: + description: The code of this service

See also in + the appendix.

+ enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + - 58 + - 59 + - 60 + - 61 + - 62 + - 63 + - 64 + - 65 + - 66 + - 67 + - 68 + - 69 + - 70 + - 71 + - 72 + - 73 + - 74 + - 75 + - 76 + - 77 + - 78 + - 79 + - 80 + - 81 + - 82 + - 83 + - 84 + - 85 + - 86 + - 87 + - 88 + - 89 + - 90 + - 91 + - 92 + - 93 + - 94 + - 95 + - 96 + - 97 + - 98 + - 99 + - 100 + - 101 + - 102 + - 103 + - 104 + - 105 + - 106 + - 107 + - 108 + - 109 + - 110 + - 111 + - 112 + - 113 + - 114 + - 115 + - 116 + - 117 + - 118 + - 119 + - 120 + - 121 + - 122 + - 123 + - 124 + - 125 + - 126 + - 127 + - 128 + - 129 + - 130 + - 131 + - 132 + - 133 + - 134 + - 135 + - 136 + - 137 + - 138 + - 139 + - 140 + - 141 + - 142 + - 143 + - 144 + - 145 + - 146 + - 147 + - 148 + - 149 + - 150 + - 151 + - 152 + - 153 + - 154 + - 155 + - 156 + - 157 + - 158 + - 159 + - 160 + - 161 + - 162 + - 163 + - 164 + - 165 + - 166 + - 167 + - 168 + - 169 + - 170 + - 171 + - 172 + - 173 + - 174 + - 175 + - 176 + - 177 + - 178 + - 179 + - 180 + - 181 + - 182 + - 183 + - 184 + - 185 + - 186 + - 187 + - 188 + - 189 + - 190 + - 191 + - 192 + - 193 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 200 + - 201 + - 202 + - 203 + - 204 + - 205 + - 206 + - 207 + - 208 + - 209 + - 210 + - 211 + - 212 + - 213 + - 214 + - 215 + - 216 + - 217 + - 218 + - 219 + - 220 + - 221 + - 222 + - 223 + - 224 + - 225 + - 226 + - 227 + - 228 + - 229 + - 230 + - 231 + - 232 + - 233 + - 234 + - 235 + - 236 + - 237 + - 238 + - 239 + - 240 + - 241 + - 242 + - 243 + - 244 + - 245 + - 246 + - 247 + - 248 + - 249 + - 250 + - 251 + - 252 + - 253 + - 254 + - 255 + - 256 + - 257 + - 258 + - 259 + - 260 + - 261 + - 262 + - 263 + - 264 + - 265 + - 266 + - 267 + - 268 + - 269 + - 270 + - 271 + - 272 + - 273 + - 274 + - 275 + - 276 + - 277 + - 278 + - 279 + - 280 + - 281 + - 282 + - 283 + - 284 + - 285 + - 286 + - 287 + - 288 + - 289 + - 290 + - 291 + - 292 + - 293 + - 294 + - 295 + - 296 + - 297 + - 298 + - 299 + - 300 + - 301 + - 302 + - 303 + - 304 + - 305 + - 306 + - 307 + - 308 + - 309 + - 310 + - 311 + - 312 + - 313 + - 314 + - 315 + - 316 + - 317 + - 318 + - 319 + - 320 + - 321 + - 322 + - 323 + - 324 + - 325 + - 326 + - 327 + - 328 + - 329 + - 331 + - 332 + - 333 + - 334 + - 335 + - 336 + - 337 + - 338 + - 339 + - 340 + - 341 + - 342 + - 343 + - 344 + - 345 + - 348 + - 349 + - 350 + - 351 + - 5000 + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5020 + - 5021 + - 5022 + - 5023 + - 5024 + - 5025 + - 5026 + - 5027 + - 5028 + - 5029 + - 5030 + - 5031 + - 5032 + - 5033 + - 5034 + - 5035 + - 5036 + - 5037 + - 5039 + - 5040 + - 5041 + - 5042 + - 5043 + - 5044 + - 5045 + - 5046 + - 5047 + - 5048 + - 5049 + - 5050 + - 5051 + - 5052 + - 5053 + - 5054 + - 5055 + - 5056 + - 5057 + - 5058 + - 5059 + - 5060 + - 5061 + - 5062 + - 5063 + - 5064 + - 5065 + - 5066 + - 5067 + - 5068 + - 5069 + - 5070 + - 5071 + - 5072 + - 5073 + - 5074 + - 5075 + - 5076 + - 5077 + - 5078 + - 5079 + - 5080 + - 5081 + - 5082 + - 5083 + - 5084 + - 5085 + - 5086 + - 5087 + - 5088 + - 5089 + - 5090 + - 5091 + - 5092 + - 5093 + - 5094 + - 5095 + - 5096 + - 5097 + - 5098 + - 5099 + - 5100 + - 5101 + - 5102 + - 5103 + - 5104 + - 5105 + - 5106 + - 5107 + - 5108 + - 5109 + - 5110 + - 5111 + - 5112 + - 5113 + - 5114 + - 5115 + - 5116 + - 5117 + - 5118 + - 5119 + - 5120 + - 5121 + - 5122 + - 5123 + - 5124 + - 5125 + - 5126 + - 5127 + - 5128 + - 5129 + - 5130 + - 5131 + - 5132 + - 5133 + - 5134 + - 5135 + - 5136 + - 5137 + - 5138 + - 5139 + - 5140 + - 5141 + - 5142 + - 5143 + - 5144 + - 5145 + - 5146 + - 5147 + - 5148 + - 5149 + - 5150 + - 5151 + - 5152 + - 5153 + - 5154 + - 5156 + - 5157 + - 5158 + - 5159 + - 5160 + - 5161 + - 5162 + - 5163 + - 5164 + - 5165 + - 5166 + - 5167 + - 5168 + - 5169 + - 5170 + - 5171 + - 5172 + - 5173 + - 5174 + - 5175 + - 5176 + - 5177 + - 5178 + - 6000 + - 6001 + - 90001 + example: 173 + type: number + price: + description: The surcharge for this service. + example: 19.99 + type: number + exists: + description: Whether this service is available. + example: true + type: boolean + included: + description: Whether this service is complementary. + example: false + type: boolean + currencyCode: + description: The currency of the surcharge for this service + enum: + - AED + - ARS + - AUD + - AZN + - BGN + - BHD + - BRL + - CAD + - CHF + - CLP + - CNY + - COP + - CZK + - DKK + - EGP + - EUR + - FJD + - GBP + - GEL + - HKD + - HUF + - IDR + - ILS + - INR + - JOD + - JPY + - KRW + - KWD + - KZT + - MDL + - MXN + - MYR + - NAD + - NOK + - NZD + - OMR + - PLN + - QAR + - RON + - RUB + - SAR + - SEK + - SGD + - THB + - TRY + - TWD + - UAH + - USD + - XOF + - ZAR + example: EUR + type: string + featureList: + description: A list of features. + example: [] + items: + enum: + - a_la_carte + - buffet + - guests_only + - accepts_reservations + - outdoor_seating + type: string + type: array + typeList: + description: A list of codes describing the available breakfast type.

See + also in the appendix.

+ items: + enum: + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + type: number + type: array + itemList: + description: A list of codes describing the available breakfast items.

See + also in the appendix.

+ items: + enum: + - 5001 + - 5002 + - 5003 + - 5004 + - 5005 + - 5006 + - 5007 + - 5008 + - 5009 + - 5010 + - 5011 + - 5012 + - 5013 + - 5014 + - 5015 + - 5016 + - 5017 + - 5018 + - 5019 + type: number + type: array + operationTimeList: + description: "A list of operation times, including start and end times,\ + \ and the days of the week on which the operation is open." + items: + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_serviceList_inner_operationTimeList_inner' + type: array + name: + description: The name of this service. + example: Breakfast served in restaurant. + type: string + required: + - code + - currencyCode + - exists + - featureList + - included + - itemList + - name + - operationTimeList + - price + - typeList + type: object + _properties__propertyId__get_200_response_property: + description: An object containing all available base data for the requested + property. + example: + facilityInfo: + guestRoomList: + - roomTypeCode: 1 + mediaList: + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + isNonSmoking: false + messageList: + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious\ + \ leather seat, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/BluRay player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline).\ + \ Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, Oven, microwave, fridge/freezer, Nespresso coffee machine.Bedrooms:\ + \ One double bedroom including Treca box spring beds with fitted wardrobes\ + \ with ample storage space and with cable flat screen TV and safe.Bathroom:\ + \ including spa shower, bathtub, washbasin, underfloor heating, towel\ + \ warmer, radio, hairdryer, Cosmetic mirror, window.Balcony (south\ + \ facing position): with seating group.Other: Washer dryer, ironing\ + \ station, private parking in front of the house, bicycle storage\ + \ with charging connection for pedelecs... and fantastic location,\ + \ right at the beach crossing!Maisonette apartment up/attic living\ + \ room: including spacious leather seating, spacious dining table\ + \ with chairs for 4 people, large cable flat screen TV, DVD/Blueray\ + \ player, music system with CD and docking station, free Wi-Fi and\ + \ telephone flat rate (German landline) .Kitchen: branded fitted kitchen\ + \ with dishwasher, cooker with ceramic hob, among others, oven, microwave,\ + \ fridge/freezer, Nespresso coffee machine.Bedrooms: One double bedroom\ + \ including Treca box spring beds with fitted wardrobes with ample\ + \ storage space and with cable flat screen TV and safe.Bathroom: including\ + \ spa shower, bathtub, washbasin, underfloor heating, towel warmer,\ + \ radio, hairdryer, Vanity mirror, window.Balcony (south facing position):\ + \ with seating group.Other: washer-dryer, ironing station, private\ + \ parking in front of the house, bicycle storage with charging connection\ + \ for pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig læ\ + dersæde, rummeligt spisebord med stole til 4 personer, stort kabel-fladskæ\ + rms TV, dvd/Bluray-afspiller, musiksystem med cd og dockingstation,\ + \ gratis trådløs internetadgang og telefon fast (tysk fastnet). Kø\ + kken: mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, Ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et soveværelse med dobbeltseng herunder Treca box foråret\ + \ senge med indbyggede garderobeskabe med rigelig opbevaringsplads\ + \ og med kabel-fladskærms TV og sikker.Badeværelse: herunder spa-bruser,\ + \ badekar, håndvask, gulvvarme, håndklædevarmer, radio, hårtørrer,\ + \ Kosmetiske spejl, vindue.Balkon (sydvendt position): med siddepladser\ + \ gruppe.Andre: Vaskemaskine tørretumbler, strygestation, privat parkering\ + \ foran huset, cykelopbevaring med opladningsforbindelse for pedelecs...\ + \ og fantastisk beliggenhed, lige ved siden af stranden krydser!Maisonette\ + \ lejlighed op/loftsrum stue: herunder rummelige læder siddepladser,\ + \ rummelige spisebord med stole til 4 personer, stort kabel fladskæ\ + rms TV, DVD/Blueray afspiller, musikanlæg med cd og docking station,\ + \ gratis trådløs internetadgang og telefon fast (tysk fastnet) .Kø\ + kken: mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, blandt andre ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et dobbeltværelse herunder Treca box foråret senge med indbyggede\ + \ garderobeskabe med rigelig opbevaringsplads og med kabel fladskæ\ + rms TV og penge.Badeværelse: herunder spa bruser, badekar, håndvask,\ + \ gulvvarme, håndklædevarmer, radio, hårtørrer, Vanity spejl, vindue.Balkon\ + \ (sydvendt position): med siddepladser gruppe.Andre: vaskemaskine-tø\ + rretumbler, strygestation, privat parkering foran huset, cykel opbevaring\ + \ med opladning tilslutning til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een\ + \ ruime lederen stoel, ruime eettafel met stoelen voor 4 personen,\ + \ grote flatscreen tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie\ + \ met cd en docking station, gratis Wi-Fi en vaste telefoon (vaste\ + \ lijn Duitsland). Keuken: branded ingerichte keuken met vaatwasser,\ + \ fornuis met keramische kookplaat, oven, magnetron, koelkast/vriezer,\ + \ Nespresso koffiemachine.Slaapkamers: Een tweepersoons slaapkamer\ + \ inclusief Treca boxspring bedden met ingebouwde kasten met voldoende\ + \ bergruimte en met kabel flatscreen TV en kluis.Badkamer: inclusief\ + \ spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer, radio,\ + \ haardroger, cosmetische spiegel, venster.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: Wasdroger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs...\ + \ en fantastische locatie, direct aan De oversteek van het strand!Maisonnette\ + \ appartement boven/zolderwoonkamer: inclusief ruime lederen zitplaatsen,\ + \ ruime eettafel met stoelen voor 4 personen, grote flatscreen tv\ + \ met kabelkanalen, DVD/BlueRay speler, muziekinstallatie met CD en\ + \ docking station, gratis Wi-Fi en vaste telefoon vaatwasser, fornuis\ + \ met keramische kookplaat, o.a., oven, magnetron, koelkast/vriezer,\ + \ Nespresso koffiemachine.Slaapkamers: Een tweepersoons slaapkamer\ + \ inclusief Treca boxspring bedden met ingebouwde kasten met veel\ + \ bergruimte en met kabel flatscreen TV en kluis.Badkamer: inclusief\ + \ spa douche, bad, wastafel, vloerverwarming, handdoekwarmer, radio,\ + \ haardroger, make-upspiegel, raam.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: wasmachine-droger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszü\ + giger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen,\ + \ grossem Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD und\ + \ Docking-Station, kostenfreies WLan sowie Telefon-Flatrate (dt. Festnetz).Kü\ + che: Marken-Einbauküche u.a. mit Geschirrspülmaschine, Herd mit Ceranfeld,\ + \ Backofen, Mikrowelle, Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafrä\ + ume: Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit\ + \ Aufladeanschluß für Pedelecs ...... und traumhafte Lage, direkt\ + \ am Strandübergang!Maisonettewohnung Ober-/DachgeschoßWohnzimmer:\ + \ u.a. mit grosszügiger Leder-Sitzguppe, grosszügigem Eßtisch mit\ + \ Stühlen für 4 Personen, grossem Kabel-Flat-TV, DVD-/Blueray-Player,\ + \ Musikanlage mit CD und Docking-Station, kostenfreies WLan sowie\ + \ Telefon-Flatrate (dt. Festnetz).Küche: Marken-Einbauküche u.a. mit\ + \ Geschirrspülmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle,\ + \ Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafräume:\ + \ Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit\ + \ Aufladeanschluß für Pedelecs." + name: Amrum + maxAdultOccupancy: 2 + maxOccupancy: 4 + isActive: true + amenityList: + - code: 5005 + quantity: 1 + - code: 13 + quantity: 1 + roomId: amrum + maxChildOccupancy: 4 + - roomTypeCode: 1 + mediaList: + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + - tagList: + - 3 + - 55 + roomAmenityList: + - 0.8008281904610115 + - 0.8008281904610115 + isMainImage: true + detectionLabelList: + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 + moderationLabelList: + - partial_nudity + - tobacco + propertyAmenityList: + - 1 + - 2 + url: 5e3d9d49e9480.jpg + isNonSmoking: false + messageList: + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious\ + \ leather seat, spacious dining table with chairs for 4 people, large\ + \ cable flat screen TV, DVD/BluRay player, music system with CD and\ + \ docking station, free Wi-Fi and telephone flat rate (German landline).\ + \ Kitchen: branded fitted kitchen with dishwasher, cooker with ceramic\ + \ hob, Oven, microwave, fridge/freezer, Nespresso coffee machine.Bedrooms:\ + \ One double bedroom including Treca box spring beds with fitted wardrobes\ + \ with ample storage space and with cable flat screen TV and safe.Bathroom:\ + \ including spa shower, bathtub, washbasin, underfloor heating, towel\ + \ warmer, radio, hairdryer, Cosmetic mirror, window.Balcony (south\ + \ facing position): with seating group.Other: Washer dryer, ironing\ + \ station, private parking in front of the house, bicycle storage\ + \ with charging connection for pedelecs... and fantastic location,\ + \ right at the beach crossing!Maisonette apartment up/attic living\ + \ room: including spacious leather seating, spacious dining table\ + \ with chairs for 4 people, large cable flat screen TV, DVD/Blueray\ + \ player, music system with CD and docking station, free Wi-Fi and\ + \ telephone flat rate (German landline) .Kitchen: branded fitted kitchen\ + \ with dishwasher, cooker with ceramic hob, among others, oven, microwave,\ + \ fridge/freezer, Nespresso coffee machine.Bedrooms: One double bedroom\ + \ including Treca box spring beds with fitted wardrobes with ample\ + \ storage space and with cable flat screen TV and safe.Bathroom: including\ + \ spa shower, bathtub, washbasin, underfloor heating, towel warmer,\ + \ radio, hairdryer, Vanity mirror, window.Balcony (south facing position):\ + \ with seating group.Other: washer-dryer, ironing station, private\ + \ parking in front of the house, bicycle storage with charging connection\ + \ for pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig læ\ + dersæde, rummeligt spisebord med stole til 4 personer, stort kabel-fladskæ\ + rms TV, dvd/Bluray-afspiller, musiksystem med cd og dockingstation,\ + \ gratis trådløs internetadgang og telefon fast (tysk fastnet). Kø\ + kken: mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, Ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et soveværelse med dobbeltseng herunder Treca box foråret\ + \ senge med indbyggede garderobeskabe med rigelig opbevaringsplads\ + \ og med kabel-fladskærms TV og sikker.Badeværelse: herunder spa-bruser,\ + \ badekar, håndvask, gulvvarme, håndklædevarmer, radio, hårtørrer,\ + \ Kosmetiske spejl, vindue.Balkon (sydvendt position): med siddepladser\ + \ gruppe.Andre: Vaskemaskine tørretumbler, strygestation, privat parkering\ + \ foran huset, cykelopbevaring med opladningsforbindelse for pedelecs...\ + \ og fantastisk beliggenhed, lige ved siden af stranden krydser!Maisonette\ + \ lejlighed op/loftsrum stue: herunder rummelige læder siddepladser,\ + \ rummelige spisebord med stole til 4 personer, stort kabel fladskæ\ + rms TV, DVD/Blueray afspiller, musikanlæg med cd og docking station,\ + \ gratis trådløs internetadgang og telefon fast (tysk fastnet) .Kø\ + kken: mærkevarer udstyret køkken med opvaskemaskine, komfur med keramisk\ + \ komfur, blandt andre ovn, mikroovn, køleskab/fryser, Nespresso kaffemaskine.Sovevæ\ + relser: Et dobbeltværelse herunder Treca box foråret senge med indbyggede\ + \ garderobeskabe med rigelig opbevaringsplads og med kabel fladskæ\ + rms TV og penge.Badeværelse: herunder spa bruser, badekar, håndvask,\ + \ gulvvarme, håndklædevarmer, radio, hårtørrer, Vanity spejl, vindue.Balkon\ + \ (sydvendt position): med siddepladser gruppe.Andre: vaskemaskine-tø\ + rretumbler, strygestation, privat parkering foran huset, cykel opbevaring\ + \ med opladning tilslutning til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een\ + \ ruime lederen stoel, ruime eettafel met stoelen voor 4 personen,\ + \ grote flatscreen tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie\ + \ met cd en docking station, gratis Wi-Fi en vaste telefoon (vaste\ + \ lijn Duitsland). Keuken: branded ingerichte keuken met vaatwasser,\ + \ fornuis met keramische kookplaat, oven, magnetron, koelkast/vriezer,\ + \ Nespresso koffiemachine.Slaapkamers: Een tweepersoons slaapkamer\ + \ inclusief Treca boxspring bedden met ingebouwde kasten met voldoende\ + \ bergruimte en met kabel flatscreen TV en kluis.Badkamer: inclusief\ + \ spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer, radio,\ + \ haardroger, cosmetische spiegel, venster.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: Wasdroger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs...\ + \ en fantastische locatie, direct aan De oversteek van het strand!Maisonnette\ + \ appartement boven/zolderwoonkamer: inclusief ruime lederen zitplaatsen,\ + \ ruime eettafel met stoelen voor 4 personen, grote flatscreen tv\ + \ met kabelkanalen, DVD/BlueRay speler, muziekinstallatie met CD en\ + \ docking station, gratis Wi-Fi en vaste telefoon vaatwasser, fornuis\ + \ met keramische kookplaat, o.a., oven, magnetron, koelkast/vriezer,\ + \ Nespresso koffiemachine.Slaapkamers: Een tweepersoons slaapkamer\ + \ inclusief Treca boxspring bedden met ingebouwde kasten met veel\ + \ bergruimte en met kabel flatscreen TV en kluis.Badkamer: inclusief\ + \ spa douche, bad, wastafel, vloerverwarming, handdoekwarmer, radio,\ + \ haardroger, make-upspiegel, raam.Balkon (op het zuiden gelegen):\ + \ met zitgroep.Overig: wasmachine-droger, strijkplank, eigen parkeerplaats\ + \ voor het huis, fietsenstalling met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszü\ + giger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen,\ + \ grossem Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD und\ + \ Docking-Station, kostenfreies WLan sowie Telefon-Flatrate (dt. Festnetz).Kü\ + che: Marken-Einbauküche u.a. mit Geschirrspülmaschine, Herd mit Ceranfeld,\ + \ Backofen, Mikrowelle, Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafrä\ + ume: Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit\ + \ Aufladeanschluß für Pedelecs ...... und traumhafte Lage, direkt\ + \ am Strandübergang!Maisonettewohnung Ober-/DachgeschoßWohnzimmer:\ + \ u.a. mit grosszügiger Leder-Sitzguppe, grosszügigem Eßtisch mit\ + \ Stühlen für 4 Personen, grossem Kabel-Flat-TV, DVD-/Blueray-Player,\ + \ Musikanlage mit CD und Docking-Station, kostenfreies WLan sowie\ + \ Telefon-Flatrate (dt. Festnetz).Küche: Marken-Einbauküche u.a. mit\ + \ Geschirrspülmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle,\ + \ Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafräume:\ + \ Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit mit\ + \ Aufladeanschluß für Pedelecs." + name: Amrum + maxAdultOccupancy: 2 + maxOccupancy: 4 + isActive: true + amenityList: + - code: 5005 + quantity: 1 + - code: 13 + quantity: 1 + roomId: amrum + maxChildOccupancy: 4 + code: strandresidenz-sylt + policyList: + - cancellationPolicyList: + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + checkOutTime: 43200000 + totalGuestCount: 10 checkInTime: 54000000 - guaranteePolicy: guaranteePolicy + guaranteePolicy: + noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false - cancellationPolicyList: - - cancellationPolicyList - - cancellationPolicyList + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 checkOutTime: 43200000 totalGuestCount: 10 checkInTime: 54000000 - guaranteePolicy: guaranteePolicy + guaranteePolicy: + noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false published: true guestInfo: guestNameListRequired: true @@ -2028,115 +8611,132 @@ components: uri: strandresidenz-sylt propertyInfo: messageList: - - text: More sea does not work! - languageCode: en - - text: More sea does not work! - languageCode: en + - languageCode: en + text: "More sea does not work! In a unique location just behind the dunes,\ + \ less than 100 steps from the beach and the spa promenade, in a prime\ + \ location on the beach “Nordhedig”, you can enjoy your stay in a small,\ + \ new 5-star luxury complex (DTV classification) with a total of 4 separate\ + \ apartments for 2-4 people. The interior has a modern rural style that\ + \ offers all the amenities. You can find films about the property and\ + \ individual apartments on our website. " + - languageCode: da + text: "Mere hav virker ikke! I en unik beliggenhed lige bag klitterne,\ + \ mindre end 100 skridt fra stranden og spa-promenaden, i en førsteklasses\ + \ beliggenhed på stranden „Nordhedig“, kan du nyde dit ophold i et lille,\ + \ nyt 5-stjernet luksuskompleks (DTV klassifikation) med i alt 4 separate\ + \ lejligheder til 2-4 personer. Interiøret har en moderne landlig stil,\ + \ der tilbyder alle bekvemmeligheder. Du kan finde film om ejendommen\ + \ og individuelle lejligheder på vores hjemmeside. " + - languageCode: nl + text: "Meer zee werkt niet! Op een unieke locatie net achter de duinen,\ + \ op minder dan 100 stappen van het strand en de spa-promenade, op een\ + \ toplocatie aan het strand „Nordhedig”, kunt u genieten van uw verblijf\ + \ in een klein, nieuw 5-sterren luxe complex (DTV classificatie) met\ + \ in totaal 4 aparte appartementen voor 2-4 personen. Het interieur\ + \ heeft een moderne landelijke stijl die alle voorzieningen biedt. U\ + \ kunt films over het pand en de individuele appartementen vinden op\ + \ onze website. " + - languageCode: de + text: "Mehr Meer geht nicht! In einer einzigartigen Lage direkt hinter\ + \ den Dünen, weniger als 100 Schritte vom Strand und der Kurpromenade\ + \ entfernt, in bester Lage am Strand „Nordhedig“, können Sie Ihren Aufenthalt\ + \ in einem kleinen, neuen 5-Sterne-Luxuskomplex (DTV-Klassifizierung)\ + \ mit insgesamt 4 separaten Apartments für 2-4 Personen genießen. Das\ + \ Interieur hat einen modernen ländlichen Stil, der alle Annehmlichkeiten\ + \ bietet. Filme über das Anwesen und einzelne Apartments finden Sie\ + \ auf unserer Website. " unitCount: 4 categoryList: - - code: 34 - name: Vacation home - exists: true - - code: 34 - name: Vacation home - exists: true + - 1 + - 14 + - 42 location: - latitude: 54.91574091463751 - longitude: 8.30486146909412 + lng: 8.304857 + lat: 54.9157118 languageList: - de - - de + - en-gb acceptedPaymentList: - code: eccard - name: EC-card type: debitcard - code: eccard - name: EC-card type: debitcard geo: de: - country: Deutschland - formatted_address: Nordhedig 20 25980 Sylt Deutschland - locality: Sylt - sublocality: Westerland - language: de - establishment: Sylt - country_code: DE - sublocality_level_1: Westerland - route: Nordhedig - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "20" location: - lng: 8.304857 lat: 54.9157118 - state_code: SH - postal_code: "25980" - natural_feature: Sylt + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Deutschland" place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - en: - country: Germany - formatted_address: Nordhedig 20 25980 Sylt Germany - locality: Sylt + street_number: "20" + route: Nordhedig sublocality: Westerland - language: en - establishment: Sylt - country_code: DE sublocality_level_1: Westerland - route: Nordhedig + locality: Sylt administrative_area_level_3: Nordfriesland administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 state_code: SH + country: Deutschland + country_code: DE postal_code: "25980" - natural_feature: Sylt + language: de + en: + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Germany" place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - da: - country: Tyskland - formatted_address: Nordhedig 20 25980 Sylt Tyskland - locality: Sylt + street_number: "20" + route: Nordhedig sublocality: Westerland - language: da - establishment: Sild - country_code: DE sublocality_level_1: Westerland - route: Nordhedig + locality: Sylt administrative_area_level_3: Nordfriesland administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 state_code: SH + country: Germany + country_code: DE postal_code: "25980" - natural_feature: Sild + language: en + da: + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Tyskland" place_id: ChIJVaxqTevetEcRyfs8PGHK6mw - nl: - country: Duitsland - formatted_address: Nordhedig 20 25980 Sylt Duitsland - locality: Sylt + street_number: "20" + route: Nordhedig sublocality: Westerland - language: nl - establishment: Sylt - country_code: DE sublocality_level_1: Westerland - route: Nordhedig + locality: Sylt administrative_area_level_3: Nordfriesland administrative_area_level_1: Schleswig-Holstein - street_number: "20" + state_code: SH + country: Tyskland + country_code: DE + postal_code: "25980" + language: da + nl: location: - lng: 8.304857 lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Duitsland" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig + sublocality: Westerland + sublocality_level_1: Westerland + locality: Sylt + administrative_area_level_3: Nordfriesland + administrative_area_level_1: Schleswig-Holstein state_code: SH + country: Duitsland + country_code: DE postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + language: nl cancellationGracePeriod: - weeksBeforeCheckIn: 0 - hoursAfterBooking: 24 + weeksBeforeCheckIn: 1.4658129805029452 + hoursAfterBooking: 6.027456183070403 recordModified: role: admin time: 1652091332815 @@ -2173,908 +8773,1336 @@ components: addressLine: Nordhedig 20 mediaList: - tagList: - - code: 3 - name: Property building - - code: 3 - name: Property building + - 3 + - 55 roomAmenityList: - - roomAmenityList - - roomAmenityList + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - roof - - roof + - room + - indoors + - kitchen + - interior_design sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: obj_1280x960_54620_001.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg - tagList: - - code: 3 - name: Property building - - code: 3 - name: Property building + - 3 + - 55 roomAmenityList: - - roomAmenityList - - roomAmenityList + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - roof - - roof + - room + - indoors + - kitchen + - interior_design sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: obj_1280x960_54620_001.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg name: Strandresidenz Sylt serviceList: - - featureList: - - featureList - - featureList + - featureList: [] operationTimeList: - - operationTimeList - - operationTimeList - code: 5015 + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + code: 173 typeList: - - typeList - - typeList - price: 0 - name: Beach + - 5.962133916683182 + - 5.962133916683182 + price: 19.99 + name: Breakfast served in restaurant. exists: true itemList: - - itemList - - itemList - included: true + - 5.637376656633329 + - 5.637376656633329 + included: false currencyCode: EUR - - featureList: - - featureList - - featureList + - featureList: [] operationTimeList: - - operationTimeList - - operationTimeList - code: 5015 + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + code: 173 typeList: - - typeList - - typeList - price: 0 - name: Beach + - 5.962133916683182 + - 5.962133916683182 + price: 19.99 + name: Breakfast served in restaurant. exists: true itemList: - - itemList - - itemList - included: true + - 5.637376656633329 + - 5.637376656633329 + included: false currencyCode: EUR recordCreated: role: admin - time: 1609411613660 + time: 1652091332815 user: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f tenant: dmo-demo - transaction: - method: MANDATORY_BOOKING - externalList: - - text: https://www.booking.com/ - languageCode: de - - text: https://www.booking.com/ - languageCode: de - contactTypeList: - - reservations - - reservations awardList: - provider: star-rating - rating: 0 + rating: 5 - provider: star-rating - rating: 0 - refinementDate: 1643706934194 + rating: 5 properties: code: + description: The properties unique identifier. example: strandresidenz-sylt type: string name: + description: The properties name. example: Strandresidenz Sylt type: string recordCreated: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_recordCreated' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_recordCreated' recordModified: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_recordModified' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_recordModified' propertyInfo: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_propertyInfo' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_propertyInfo' guestInfo: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_guestInfo' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_guestInfo' awardList: + description: A list of the ratings available for this property. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_awardList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_awardList_inner' type: array contactList: + description: A contact with a profile type and a list of addresses items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_contactList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_contactList_inner' type: array facilityInfo: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_facilityInfo' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_facilityInfo' mediaList: + description: A list of media objects for the property. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_mediaList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_facilityInfo_guestRoomList_inner_mediaList_inner' type: array geo: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_geo' - refinementDate: - example: 1643706934194 - type: number + additionalProperties: + $ref: '#/components/schemas/Available_Properties_inner_1_geo' + description: An object containing language codes as keys and objects describing + the properties geographical location as values. + example: + de: + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Deutschland" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig + sublocality: Westerland + sublocality_level_1: Westerland + locality: Sylt + administrative_area_level_3: Nordfriesland + administrative_area_level_1: Schleswig-Holstein + state_code: SH + country: Deutschland + country_code: DE + postal_code: "25980" + language: de + en: + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Germany" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig + sublocality: Westerland + sublocality_level_1: Westerland + locality: Sylt + administrative_area_level_3: Nordfriesland + administrative_area_level_1: Schleswig-Holstein + state_code: SH + country: Germany + country_code: DE + postal_code: "25980" + language: en + da: + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Tyskland" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig + sublocality: Westerland + sublocality_level_1: Westerland + locality: Sylt + administrative_area_level_3: Nordfriesland + administrative_area_level_1: Schleswig-Holstein + state_code: SH + country: Tyskland + country_code: DE + postal_code: "25980" + language: da + nl: + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Duitsland" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig + sublocality: Westerland + sublocality_level_1: Westerland + locality: Sylt + administrative_area_level_3: Nordfriesland + administrative_area_level_1: Schleswig-Holstein + state_code: SH + country: Duitsland + country_code: DE + postal_code: "25980" + language: nl + type: object published: + description: Indicates whether the policy has been published or not. + example: true type: boolean policyList: + description: A list of policies associated with the property. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_policyList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner' type: array uri: + description: A unique identifier for the accommodation. example: strandresidenz-sylt type: string - transaction: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_transaction' cancellationGracePeriod: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_cancellationGracePeriod' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_cancellationGracePeriod' serviceList: + description: "A list of objects each describing an available service, its\ + \ pricing and its availability." items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_serviceList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_serviceList_inner' type: array + required: + - awardList + - code + - contactList + - mediaList + - name + - policyList + - propertyInfo + - published + - recordCreated + - recordModified + - serviceList type: object - _v1_property_get_post_200_response_productList_inner_mealPlanList_inner: - example: - code: 14 - name: Room only - properties: - code: - example: 14 - type: number - name: - example: Room only - type: string - type: object - _v1_property_get_post_200_response_productList_inner_roomTypeList_inner: - example: - typeCode: amrum - properties: - typeCode: - example: amrum - type: string - type: object - _v1_property_get_post_200_response_productList_inner_ratePlanList_inner_pricingList_inner_priceList: + _properties__propertyId__get_200_response_productList_inner_ratePlanList_inner_pricingList_inner: example: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - properties: - "4": - example: 516 - type: number - "5": - example: 645 - type: number - "6": - example: 774 - type: number - "7": - example: 903 - type: number - "8": - example: 1032 - type: number - "9": - example: 1161 - type: number - "10": - example: 1290 - type: number - "11": - example: 1419 - type: number - "12": - example: 1548 - type: number - "13": - example: 1677 - type: number - "14": - example: 1806 - type: number - "15": - example: 1935 - type: number - "16": - example: 2064 - type: number - "17": - example: 2193 - type: number - "18": - example: 2322 - type: number - "19": - example: 2451 - type: number - "20": - example: 2580 - type: number - "21": - example: 2709 - type: number - "22": - example: 2838 - type: number - "23": - example: 2967 - type: number - type: object - _v1_property_get_post_200_response_productList_inner_ratePlanList_inner_pricingList_inner: - example: - dateTime: 1614556800000 + dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 properties: dateTime: - example: 1614556800000 + description: The timestamp of the pricing information. + example: 1662595200000 type: number occupancy: + description: The number of occupants for which the pricing applies. example: 1 type: number priceList: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_ratePlanList_inner_pricingList_inner_priceList' + additionalProperties: + type: number + description: A mapping of number of days of stay to prices. + example: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + type: object currencyCode: + description: The currency code for the prices. example: EUR type: string + required: + - currencyCode + - dateTime + - occupancy + - priceList type: object - _v1_property_get_post_200_response_productList_inner_ratePlanList_inner: + _properties__propertyId__get_200_response_productList_inner_ratePlanList_inner: example: - code: standard-amrum - name: Standard Amrum - active: true - propertyId: strandresidenz-sylt + code: standard-8436 + name: Standard 8436 + active: false pricingList: - - dateTime: 1614556800000 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - dateTime: 1614556800000 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 properties: active: + description: Whether the rate plan is active. + example: false type: boolean name: - example: Standard Amrum + description: The name of the rate plan. + example: Standard 8436 type: string code: - example: standard-amrum - type: string - propertyId: - example: strandresidenz-sylt + description: The code identifying the rate plan. + example: standard-8436 type: string pricingList: items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_ratePlanList_inner_pricingList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_productList_inner_ratePlanList_inner_pricingList_inner' type: array + required: + - active + - code + - name + - pricingList type: object - _v1_property_get_post_200_response_productList_inner_policyInfo_cancellationPolicyList_inner: - example: - code: 152 - noShowPolicy: default - nightsAfterReservation: 0 - nightsAfterDeadline: 0 - percentAfterDeadline: 0 - percentAfterReservation: 0 - deadlineDays: 0 - deadlineHours: 0 - properties: - code: - example: 152 - type: number - percentAfterReservation: - example: 0 - type: number - nightsAfterReservation: - example: 0 - type: number - deadlineDays: - example: 0 - type: number - deadlineHours: - example: 0 - type: number - percentAfterDeadline: - example: 0 - type: number - nightsAfterDeadline: - example: 0 - type: number - noShowPolicy: - example: default - type: string - type: object - _v1_property_get_post_200_response_productList_inner_policyInfo: + _properties__propertyId__get_200_response_productList_inner_policyInfo: + description: The policy info for this product. example: cancellationPolicyList: - - code: 152 - noShowPolicy: default + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - - code: 152 - noShowPolicy: default + checkOutTime: 43200000 + totalGuestCount: 10 + checkInTime: 54000000 + guaranteePolicy: + noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - checkOutTime: 39600000 - totalGuestCount: 0 - checkInTime: 50400000 - guaranteePolicy: guaranteePolicy taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - prepaymentPolicy: prepaymentPolicy - name: Standard Amrum Policy + prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false properties: checkInTime: - example: 50400000 + description: Check-in time (unix timestamp in ms). + example: 54000000 type: number checkOutTime: - example: 39600000 + description: Check-out time (unix timestamp in ms). + example: 43200000 type: number totalGuestCount: - example: 0 + description: The maximum number of guests allowed. + example: 10 type: number cancellationPolicyList: + description: List of cancellation policies. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_policyInfo_cancellationPolicyList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_cancellationPolicyList_inner' type: array advanceBookingMin: - example: 34560000 + description: The minimum number of days in advance a booking must be made + example: 365 type: number advanceBookingMax: - example: 0 + description: The maximum number of days in advance a booking can be made + example: 1 type: number petsPolicy: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_policyList_inner_petsPolicy' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_petsPolicy' prepaymentPolicy: + description: The type of the prepayment policy. + enum: + - after_cancellation_fee_begins + - after_reservation_is_made + example: after_reservation_is_made type: string guaranteePolicy: - format: nullable - type: string + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_guaranteePolicy' taxPolicyList: + description: A list of taxes and their policies. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property_policyList_inner_taxPolicyList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_taxPolicyList_inner' type: array feePolicyList: + description: A list of fees and their policies. items: - type: string + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property_policyList_inner_feePolicyList_inner' type: array name: - example: Standard Amrum Policy - type: string + description: The name of this policy. + example: Standard Sylt Residenz Policy + type: string + required: + - advanceBookingMax + - advanceBookingMin + - cancellationPolicyList + - checkInTime + - checkOutTime + - feePolicyList + - taxPolicyList type: object - _v1_property_get_post_200_response_productList_inner: + _properties__propertyId__get_200_response_productList_inner: + description: A list of available products for this property. example: roomTypeList: - - typeCode: amrum - - typeCode: amrum + - amrum + - amrum isOBPPricing: true ratePlanList: - - code: standard-amrum - name: Standard Amrum - active: true - propertyId: strandresidenz-sylt + - code: standard-8436 + name: Standard 8436 + active: false pricingList: - - dateTime: 1614556800000 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - dateTime: 1614556800000 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - code: standard-amrum - name: Standard Amrum - active: true - propertyId: strandresidenz-sylt + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - code: standard-8436 + name: Standard 8436 + active: false pricingList: - - dateTime: 1614556800000 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - dateTime: 1614556800000 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 policyInfo: cancellationPolicyList: - - code: 152 - noShowPolicy: default + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - - code: 152 - noShowPolicy: default + checkOutTime: 43200000 + totalGuestCount: 10 + checkInTime: 54000000 + guaranteePolicy: + noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - checkOutTime: 39600000 - totalGuestCount: 0 - checkInTime: 50400000 - guaranteePolicy: guaranteePolicy taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - prepaymentPolicy: prepaymentPolicy - name: Standard Amrum Policy + prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false isLOSPricing: true name: Standard Amrum propertyId: strandresidenz-sylt mealPlanList: - - code: 14 - name: Room only - - code: 14 - name: Room only + - 14 + - 14 properties: propertyId: + description: The ID of the property. example: strandresidenz-sylt type: string name: + description: The name of the product. example: Standard Amrum type: string mealPlanList: + description: A list of meal type codes included in this product. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_mealPlanList_inner' + description: The code of the meal plan.

See also in + the appendix.

+ enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 90001 + example: 14 + type: number type: array roomTypeList: + description: An array of strings describing the room types included in this + product. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_roomTypeList_inner' + description: The type code of the room. + example: amrum + type: string type: array isLOSPricing: + description: Whether this product is length of stay pricing. type: boolean isOBPPricing: + description: Whether this product is occupancy based pricing. type: boolean ratePlanList: + description: The rate plans for this product. items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_ratePlanList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_productList_inner_ratePlanList_inner' type: array policyInfo: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_policyInfo' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_productList_inner_policyInfo' + required: + - mealPlanList + - name + - propertyId + - ratePlanList + - roomTypeList type: object - _v1_property_get_post_200_response: + _properties__propertyId__get_200_response: example: - versionId: versionId property: facilityInfo: guestRoomList: - - roomTypeCode: "1" - typeName: typeName - roomTypeName: roomTypeName - maxAdultOccupancy: "4" - descriptionText: descriptionText - isActive: true - amenityList: - - code: "5005" - quantity: 1 - - code: "5005" - quantity: 1 - roomId: amrum - maxChildOccupancy: "4" - isNonSmoking: true + - roomTypeCode: 1 mediaList: - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room + - 3 + - 55 roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - furniture - - furniture - sortOrder: 1001 + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room + - 3 + - 55 roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - furniture - - furniture - sortOrder: 1001 + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg + isNonSmoking: false messageList: - - text: Maisonette apartment on ground floor - languageCode: en - - text: Maisonette apartment on ground floor - languageCode: en + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious\ + \ leather seat, spacious dining table with chairs for 4 people,\ + \ large cable flat screen TV, DVD/BluRay player, music system with\ + \ CD and docking station, free Wi-Fi and telephone flat rate (German\ + \ landline). Kitchen: branded fitted kitchen with dishwasher, cooker\ + \ with ceramic hob, Oven, microwave, fridge/freezer, Nespresso coffee\ + \ machine.Bedrooms: One double bedroom including Treca box spring\ + \ beds with fitted wardrobes with ample storage space and with cable\ + \ flat screen TV and safe.Bathroom: including spa shower, bathtub,\ + \ washbasin, underfloor heating, towel warmer, radio, hairdryer,\ + \ Cosmetic mirror, window.Balcony (south facing position): with\ + \ seating group.Other: Washer dryer, ironing station, private parking\ + \ in front of the house, bicycle storage with charging connection\ + \ for pedelecs... and fantastic location, right at the beach crossing!Maisonette\ + \ apartment up/attic living room: including spacious leather seating,\ + \ spacious dining table with chairs for 4 people, large cable flat\ + \ screen TV, DVD/Blueray player, music system with CD and docking\ + \ station, free Wi-Fi and telephone flat rate (German landline)\ + \ .Kitchen: branded fitted kitchen with dishwasher, cooker with\ + \ ceramic hob, among others, oven, microwave, fridge/freezer, Nespresso\ + \ coffee machine.Bedrooms: One double bedroom including Treca box\ + \ spring beds with fitted wardrobes with ample storage space and\ + \ with cable flat screen TV and safe.Bathroom: including spa shower,\ + \ bathtub, washbasin, underfloor heating, towel warmer, radio, hairdryer,\ + \ Vanity mirror, window.Balcony (south facing position): with seating\ + \ group.Other: washer-dryer, ironing station, private parking in\ + \ front of the house, bicycle storage with charging connection for\ + \ pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig\ + \ lædersæde, rummeligt spisebord med stole til 4 personer, stort\ + \ kabel-fladskærms TV, dvd/Bluray-afspiller, musiksystem med cd\ + \ og dockingstation, gratis trådløs internetadgang og telefon fast\ + \ (tysk fastnet). Køkken: mærkevarer udstyret køkken med opvaskemaskine,\ + \ komfur med keramisk komfur, Ovn, mikroovn, køleskab/fryser, Nespresso\ + \ kaffemaskine.Soveværelser: Et soveværelse med dobbeltseng herunder\ + \ Treca box foråret senge med indbyggede garderobeskabe med rigelig\ + \ opbevaringsplads og med kabel-fladskærms TV og sikker.Badeværelse:\ + \ herunder spa-bruser, badekar, håndvask, gulvvarme, håndklædevarmer,\ + \ radio, hårtørrer, Kosmetiske spejl, vindue.Balkon (sydvendt position):\ + \ med siddepladser gruppe.Andre: Vaskemaskine tørretumbler, strygestation,\ + \ privat parkering foran huset, cykelopbevaring med opladningsforbindelse\ + \ for pedelecs... og fantastisk beliggenhed, lige ved siden af stranden\ + \ krydser!Maisonette lejlighed op/loftsrum stue: herunder rummelige\ + \ læder siddepladser, rummelige spisebord med stole til 4 personer,\ + \ stort kabel fladskærms TV, DVD/Blueray afspiller, musikanlæg med\ + \ cd og docking station, gratis trådløs internetadgang og telefon\ + \ fast (tysk fastnet) .Køkken: mærkevarer udstyret køkken med opvaskemaskine,\ + \ komfur med keramisk komfur, blandt andre ovn, mikroovn, køleskab/fryser,\ + \ Nespresso kaffemaskine.Soveværelser: Et dobbeltværelse herunder\ + \ Treca box foråret senge med indbyggede garderobeskabe med rigelig\ + \ opbevaringsplads og med kabel fladskærms TV og penge.Badeværelse:\ + \ herunder spa bruser, badekar, håndvask, gulvvarme, håndklædevarmer,\ + \ radio, hårtørrer, Vanity spejl, vindue.Balkon (sydvendt position):\ + \ med siddepladser gruppe.Andre: vaskemaskine-tørretumbler, strygestation,\ + \ privat parkering foran huset, cykel opbevaring med opladning tilslutning\ + \ til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een\ + \ ruime lederen stoel, ruime eettafel met stoelen voor 4 personen,\ + \ grote flatscreen tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie\ + \ met cd en docking station, gratis Wi-Fi en vaste telefoon (vaste\ + \ lijn Duitsland). Keuken: branded ingerichte keuken met vaatwasser,\ + \ fornuis met keramische kookplaat, oven, magnetron, koelkast/vriezer,\ + \ Nespresso koffiemachine.Slaapkamers: Een tweepersoons slaapkamer\ + \ inclusief Treca boxspring bedden met ingebouwde kasten met voldoende\ + \ bergruimte en met kabel flatscreen TV en kluis.Badkamer: inclusief\ + \ spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer,\ + \ radio, haardroger, cosmetische spiegel, venster.Balkon (op het\ + \ zuiden gelegen): met zitgroep.Overig: Wasdroger, strijkplank,\ + \ eigen parkeerplaats voor het huis, fietsenstalling met oplaadaansluiting\ + \ voor pedelecs... en fantastische locatie, direct aan De oversteek\ + \ van het strand!Maisonnette appartement boven/zolderwoonkamer:\ + \ inclusief ruime lederen zitplaatsen, ruime eettafel met stoelen\ + \ voor 4 personen, grote flatscreen tv met kabelkanalen, DVD/BlueRay\ + \ speler, muziekinstallatie met CD en docking station, gratis Wi-Fi\ + \ en vaste telefoon vaatwasser, fornuis met keramische kookplaat,\ + \ o.a., oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met\ + \ ingebouwde kasten met veel bergruimte en met kabel flatscreen\ + \ TV en kluis.Badkamer: inclusief spa douche, bad, wastafel, vloerverwarming,\ + \ handdoekwarmer, radio, haardroger, make-upspiegel, raam.Balkon\ + \ (op het zuiden gelegen): met zitgroep.Overig: wasmachine-droger,\ + \ strijkplank, eigen parkeerplaats voor het huis, fietsenstalling\ + \ met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszü\ + giger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen,\ + \ grossem Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD\ + \ und Docking-Station, kostenfreies WLan sowie Telefon-Flatrate\ + \ (dt. Festnetz).Küche: Marken-Einbauküche u.a. mit Geschirrspü\ + lmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle, Kühl-/Gefrierkombination,\ + \ Nespresso-Kaffeemaschine.Schlafräume: Ein Doppelschlafraum u.a.\ + \ mit TRECA-Boxspringbetten mit Einbauschränken mit ausreichend\ + \ Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer: u.a. mit\ + \ Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit\ + \ mit Aufladeanschluß für Pedelecs ...... und traumhafte Lage, direkt\ + \ am Strandübergang!Maisonettewohnung Ober-/DachgeschoßWohnzimmer:\ + \ u.a. mit grosszügiger Leder-Sitzguppe, grosszügigem Eßtisch mit\ + \ Stühlen für 4 Personen, grossem Kabel-Flat-TV, DVD-/Blueray-Player,\ + \ Musikanlage mit CD und Docking-Station, kostenfreies WLan sowie\ + \ Telefon-Flatrate (dt. Festnetz).Küche: Marken-Einbauküche u.a.\ + \ mit Geschirrspülmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle,\ + \ Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafräume:\ + \ Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit\ + \ mit Aufladeanschluß für Pedelecs." name: Amrum - maxOccupancy: "4" - imageList: - - imageList - - imageList - - roomTypeCode: "1" - typeName: typeName - roomTypeName: roomTypeName - maxAdultOccupancy: "4" - descriptionText: descriptionText + maxAdultOccupancy: 2 + maxOccupancy: 4 isActive: true amenityList: - - code: "5005" + - code: 5005 quantity: 1 - - code: "5005" + - code: 13 quantity: 1 roomId: amrum - maxChildOccupancy: "4" - isNonSmoking: true + maxChildOccupancy: 4 + - roomTypeCode: 1 mediaList: - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room + - 3 + - 55 roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - furniture - - furniture - sortOrder: 1001 + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg - tagList: - - code: 159 - name: Living room - - code: 159 - name: Living room + - 3 + - 55 roomAmenityList: - - code: 146 - name: Tables and chairs - - code: 146 - name: Tables and chairs + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - furniture - - furniture - sortOrder: 1001 + - room + - indoors + - kitchen + - interior_design + sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: zim_1280x960_164357_002.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg + isNonSmoking: false messageList: - - text: Maisonette apartment on ground floor - languageCode: en - - text: Maisonette apartment on ground floor - languageCode: en + - languageCode: en + text: "Maisonette apartment up/attic Living room: including a spacious\ + \ leather seat, spacious dining table with chairs for 4 people,\ + \ large cable flat screen TV, DVD/BluRay player, music system with\ + \ CD and docking station, free Wi-Fi and telephone flat rate (German\ + \ landline). Kitchen: branded fitted kitchen with dishwasher, cooker\ + \ with ceramic hob, Oven, microwave, fridge/freezer, Nespresso coffee\ + \ machine.Bedrooms: One double bedroom including Treca box spring\ + \ beds with fitted wardrobes with ample storage space and with cable\ + \ flat screen TV and safe.Bathroom: including spa shower, bathtub,\ + \ washbasin, underfloor heating, towel warmer, radio, hairdryer,\ + \ Cosmetic mirror, window.Balcony (south facing position): with\ + \ seating group.Other: Washer dryer, ironing station, private parking\ + \ in front of the house, bicycle storage with charging connection\ + \ for pedelecs... and fantastic location, right at the beach crossing!Maisonette\ + \ apartment up/attic living room: including spacious leather seating,\ + \ spacious dining table with chairs for 4 people, large cable flat\ + \ screen TV, DVD/Blueray player, music system with CD and docking\ + \ station, free Wi-Fi and telephone flat rate (German landline)\ + \ .Kitchen: branded fitted kitchen with dishwasher, cooker with\ + \ ceramic hob, among others, oven, microwave, fridge/freezer, Nespresso\ + \ coffee machine.Bedrooms: One double bedroom including Treca box\ + \ spring beds with fitted wardrobes with ample storage space and\ + \ with cable flat screen TV and safe.Bathroom: including spa shower,\ + \ bathtub, washbasin, underfloor heating, towel warmer, radio, hairdryer,\ + \ Vanity mirror, window.Balcony (south facing position): with seating\ + \ group.Other: washer-dryer, ironing station, private parking in\ + \ front of the house, bicycle storage with charging connection for\ + \ pedelecs." + - languageCode: da + text: "Maisonette lejlighed op/loftsrum Stue: herunder en rummelig\ + \ lædersæde, rummeligt spisebord med stole til 4 personer, stort\ + \ kabel-fladskærms TV, dvd/Bluray-afspiller, musiksystem med cd\ + \ og dockingstation, gratis trådløs internetadgang og telefon fast\ + \ (tysk fastnet). Køkken: mærkevarer udstyret køkken med opvaskemaskine,\ + \ komfur med keramisk komfur, Ovn, mikroovn, køleskab/fryser, Nespresso\ + \ kaffemaskine.Soveværelser: Et soveværelse med dobbeltseng herunder\ + \ Treca box foråret senge med indbyggede garderobeskabe med rigelig\ + \ opbevaringsplads og med kabel-fladskærms TV og sikker.Badeværelse:\ + \ herunder spa-bruser, badekar, håndvask, gulvvarme, håndklædevarmer,\ + \ radio, hårtørrer, Kosmetiske spejl, vindue.Balkon (sydvendt position):\ + \ med siddepladser gruppe.Andre: Vaskemaskine tørretumbler, strygestation,\ + \ privat parkering foran huset, cykelopbevaring med opladningsforbindelse\ + \ for pedelecs... og fantastisk beliggenhed, lige ved siden af stranden\ + \ krydser!Maisonette lejlighed op/loftsrum stue: herunder rummelige\ + \ læder siddepladser, rummelige spisebord med stole til 4 personer,\ + \ stort kabel fladskærms TV, DVD/Blueray afspiller, musikanlæg med\ + \ cd og docking station, gratis trådløs internetadgang og telefon\ + \ fast (tysk fastnet) .Køkken: mærkevarer udstyret køkken med opvaskemaskine,\ + \ komfur med keramisk komfur, blandt andre ovn, mikroovn, køleskab/fryser,\ + \ Nespresso kaffemaskine.Soveværelser: Et dobbeltværelse herunder\ + \ Treca box foråret senge med indbyggede garderobeskabe med rigelig\ + \ opbevaringsplads og med kabel fladskærms TV og penge.Badeværelse:\ + \ herunder spa bruser, badekar, håndvask, gulvvarme, håndklædevarmer,\ + \ radio, hårtørrer, Vanity spejl, vindue.Balkon (sydvendt position):\ + \ med siddepladser gruppe.Andre: vaskemaskine-tørretumbler, strygestation,\ + \ privat parkering foran huset, cykel opbevaring med opladning tilslutning\ + \ til pedelecs." + - languageCode: nl + text: "Maisonnette appartement boven/zolder Woonkamer: inclusief een\ + \ ruime lederen stoel, ruime eettafel met stoelen voor 4 personen,\ + \ grote flatscreen tv met kabelzenders, dvd/Bluray-speler, muziekinstallatie\ + \ met cd en docking station, gratis Wi-Fi en vaste telefoon (vaste\ + \ lijn Duitsland). Keuken: branded ingerichte keuken met vaatwasser,\ + \ fornuis met keramische kookplaat, oven, magnetron, koelkast/vriezer,\ + \ Nespresso koffiemachine.Slaapkamers: Een tweepersoons slaapkamer\ + \ inclusief Treca boxspring bedden met ingebouwde kasten met voldoende\ + \ bergruimte en met kabel flatscreen TV en kluis.Badkamer: inclusief\ + \ spa douche, bad, wastafel, vloerverwarming, handdoekverwarmer,\ + \ radio, haardroger, cosmetische spiegel, venster.Balkon (op het\ + \ zuiden gelegen): met zitgroep.Overig: Wasdroger, strijkplank,\ + \ eigen parkeerplaats voor het huis, fietsenstalling met oplaadaansluiting\ + \ voor pedelecs... en fantastische locatie, direct aan De oversteek\ + \ van het strand!Maisonnette appartement boven/zolderwoonkamer:\ + \ inclusief ruime lederen zitplaatsen, ruime eettafel met stoelen\ + \ voor 4 personen, grote flatscreen tv met kabelkanalen, DVD/BlueRay\ + \ speler, muziekinstallatie met CD en docking station, gratis Wi-Fi\ + \ en vaste telefoon vaatwasser, fornuis met keramische kookplaat,\ + \ o.a., oven, magnetron, koelkast/vriezer, Nespresso koffiemachine.Slaapkamers:\ + \ Een tweepersoons slaapkamer inclusief Treca boxspring bedden met\ + \ ingebouwde kasten met veel bergruimte en met kabel flatscreen\ + \ TV en kluis.Badkamer: inclusief spa douche, bad, wastafel, vloerverwarming,\ + \ handdoekwarmer, radio, haardroger, make-upspiegel, raam.Balkon\ + \ (op het zuiden gelegen): met zitgroep.Overig: wasmachine-droger,\ + \ strijkplank, eigen parkeerplaats voor het huis, fietsenstalling\ + \ met oplaadaansluiting voor pedelecs." + - languageCode: de + text: "Maisonettewohnung Ober-/DachgeschoßWohnzimmer: u.a. mit grosszü\ + giger Leder-Sitzguppe, grosszügigem Eßtisch mit Stühlen für 4 Personen,\ + \ grossem Kabel-Flat-TV, DVD-/Bluray-Player, Musikanlage mit CD\ + \ und Docking-Station, kostenfreies WLan sowie Telefon-Flatrate\ + \ (dt. Festnetz).Küche: Marken-Einbauküche u.a. mit Geschirrspü\ + lmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle, Kühl-/Gefrierkombination,\ + \ Nespresso-Kaffeemaschine.Schlafräume: Ein Doppelschlafraum u.a.\ + \ mit TRECA-Boxspringbetten mit Einbauschränken mit ausreichend\ + \ Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer: u.a. mit\ + \ Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit\ + \ mit Aufladeanschluß für Pedelecs ...... und traumhafte Lage, direkt\ + \ am Strandübergang!Maisonettewohnung Ober-/DachgeschoßWohnzimmer:\ + \ u.a. mit grosszügiger Leder-Sitzguppe, grosszügigem Eßtisch mit\ + \ Stühlen für 4 Personen, grossem Kabel-Flat-TV, DVD-/Blueray-Player,\ + \ Musikanlage mit CD und Docking-Station, kostenfreies WLan sowie\ + \ Telefon-Flatrate (dt. Festnetz).Küche: Marken-Einbauküche u.a.\ + \ mit Geschirrspülmaschine, Herd mit Ceranfeld, Backofen, Mikrowelle,\ + \ Kühl-/Gefrierkombination, Nespresso-Kaffeemaschine.Schlafräume:\ + \ Ein Doppelschlafraum u.a. mit TRECA-Boxspringbetten mit Einbauschrä\ + nken mit ausreichend Stauraum sowie mit Kabel-Flat-TV und Safe.Badezimmer:\ + \ u.a. mit Wellness-Dusche, Badewanne, Waschtischanlage, Fußbodenheizung,\ + \ Handtuchwärmer, Radioanlage, Haartrockner, Kosmetikspiegel, Fenster.Balkon\ + \ (Südlage): mit Sitzgruppe.Sonstiges: Waschtrockner, Bügelstation,\ + \ privater Parkplatz vor dem Haus, Fahrradunterstellmöglichkeit\ + \ mit Aufladeanschluß für Pedelecs." name: Amrum - maxOccupancy: "4" - imageList: - - imageList - - imageList + maxAdultOccupancy: 2 + maxOccupancy: 4 + isActive: true + amenityList: + - code: 5005 + quantity: 1 + - code: 13 + quantity: 1 + roomId: amrum + maxChildOccupancy: 4 code: strandresidenz-sylt policyList: - cancellationPolicyList: - - cancellationPolicyList - - cancellationPolicyList + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 checkOutTime: 43200000 totalGuestCount: 10 checkInTime: 54000000 - guaranteePolicy: guaranteePolicy + guaranteePolicy: + noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false - cancellationPolicyList: - - cancellationPolicyList - - cancellationPolicyList + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 checkOutTime: 43200000 totalGuestCount: 10 checkInTime: 54000000 - guaranteePolicy: guaranteePolicy + guaranteePolicy: + noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false published: true guestInfo: guestNameListRequired: true @@ -3083,115 +10111,132 @@ components: uri: strandresidenz-sylt propertyInfo: messageList: - - text: More sea does not work! - languageCode: en - - text: More sea does not work! - languageCode: en + - languageCode: en + text: "More sea does not work! In a unique location just behind the\ + \ dunes, less than 100 steps from the beach and the spa promenade,\ + \ in a prime location on the beach “Nordhedig”, you can enjoy your\ + \ stay in a small, new 5-star luxury complex (DTV classification)\ + \ with a total of 4 separate apartments for 2-4 people. The interior\ + \ has a modern rural style that offers all the amenities. You can\ + \ find films about the property and individual apartments on our website. " + - languageCode: da + text: "Mere hav virker ikke! I en unik beliggenhed lige bag klitterne,\ + \ mindre end 100 skridt fra stranden og spa-promenaden, i en førsteklasses\ + \ beliggenhed på stranden „Nordhedig“, kan du nyde dit ophold i et\ + \ lille, nyt 5-stjernet luksuskompleks (DTV klassifikation) med i\ + \ alt 4 separate lejligheder til 2-4 personer. Interiøret har en moderne\ + \ landlig stil, der tilbyder alle bekvemmeligheder. Du kan finde film\ + \ om ejendommen og individuelle lejligheder på vores hjemmeside. " + - languageCode: nl + text: "Meer zee werkt niet! Op een unieke locatie net achter de duinen,\ + \ op minder dan 100 stappen van het strand en de spa-promenade, op\ + \ een toplocatie aan het strand „Nordhedig”, kunt u genieten van uw\ + \ verblijf in een klein, nieuw 5-sterren luxe complex (DTV classificatie)\ + \ met in totaal 4 aparte appartementen voor 2-4 personen. Het interieur\ + \ heeft een moderne landelijke stijl die alle voorzieningen biedt.\ + \ U kunt films over het pand en de individuele appartementen vinden\ + \ op onze website. " + - languageCode: de + text: "Mehr Meer geht nicht! In einer einzigartigen Lage direkt hinter\ + \ den Dünen, weniger als 100 Schritte vom Strand und der Kurpromenade\ + \ entfernt, in bester Lage am Strand „Nordhedig“, können Sie Ihren\ + \ Aufenthalt in einem kleinen, neuen 5-Sterne-Luxuskomplex (DTV-Klassifizierung)\ + \ mit insgesamt 4 separaten Apartments für 2-4 Personen genießen.\ + \ Das Interieur hat einen modernen ländlichen Stil, der alle Annehmlichkeiten\ + \ bietet. Filme über das Anwesen und einzelne Apartments finden Sie\ + \ auf unserer Website. " unitCount: 4 categoryList: - - code: 34 - name: Vacation home - exists: true - - code: 34 - name: Vacation home - exists: true + - 1 + - 14 + - 42 location: - latitude: 54.91574091463751 - longitude: 8.30486146909412 + lng: 8.304857 + lat: 54.9157118 languageList: - de - - de + - en-gb acceptedPaymentList: - code: eccard - name: EC-card type: debitcard - code: eccard - name: EC-card type: debitcard geo: de: - country: Deutschland - formatted_address: Nordhedig 20 25980 Sylt Deutschland - locality: Sylt + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Deutschland" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig sublocality: Westerland - language: de - establishment: Sylt - country_code: DE sublocality_level_1: Westerland - route: Nordhedig + locality: Sylt administrative_area_level_3: Nordfriesland administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 state_code: SH + country: Deutschland + country_code: DE postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + language: de en: - country: Germany - formatted_address: Nordhedig 20 25980 Sylt Germany - locality: Sylt + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Germany" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig sublocality: Westerland - language: en - establishment: Sylt - country_code: DE sublocality_level_1: Westerland - route: Nordhedig + locality: Sylt administrative_area_level_3: Nordfriesland administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 state_code: SH + country: Germany + country_code: DE postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + language: en da: - country: Tyskland - formatted_address: Nordhedig 20 25980 Sylt Tyskland - locality: Sylt + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Tyskland" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig sublocality: Westerland - language: da - establishment: Sild - country_code: DE sublocality_level_1: Westerland - route: Nordhedig + locality: Sylt administrative_area_level_3: Nordfriesland administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 state_code: SH + country: Tyskland + country_code: DE postal_code: "25980" - natural_feature: Sild - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + language: da nl: - country: Duitsland - formatted_address: Nordhedig 20 25980 Sylt Duitsland - locality: Sylt + location: + lat: 54.9157118 + lng: 8.304857 + formatted_address: "Nordhedig 20, 25980 Sylt, Duitsland" + place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + street_number: "20" + route: Nordhedig sublocality: Westerland - language: nl - establishment: Sylt - country_code: DE sublocality_level_1: Westerland - route: Nordhedig + locality: Sylt administrative_area_level_3: Nordfriesland administrative_area_level_1: Schleswig-Holstein - street_number: "20" - location: - lng: 8.304857 - lat: 54.9157118 state_code: SH + country: Duitsland + country_code: DE postal_code: "25980" - natural_feature: Sylt - place_id: ChIJVaxqTevetEcRyfs8PGHK6mw + language: nl cancellationGracePeriod: - weeksBeforeCheckIn: 0 - hoursAfterBooking: 24 + weeksBeforeCheckIn: 1.4658129805029452 + hoursAfterBooking: 6.027456183070403 recordModified: role: admin time: 1652091332815 @@ -3228,1311 +10273,1096 @@ components: addressLine: Nordhedig 20 mediaList: - tagList: - - code: 3 - name: Property building - - code: 3 - name: Property building + - 3 + - 55 roomAmenityList: - - roomAmenityList - - roomAmenityList + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - roof - - roof + - room + - indoors + - kitchen + - interior_design sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: obj_1280x960_54620_001.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg - tagList: - - code: 3 - name: Property building - - code: 3 - name: Property building + - 3 + - 55 roomAmenityList: - - roomAmenityList - - roomAmenityList + - 0.8008281904610115 + - 0.8008281904610115 isMainImage: true detectionLabelList: - - roof - - roof + - room + - indoors + - kitchen + - interior_design sortOrder: 1000 moderationLabelList: - - moderationLabelList - - moderationLabelList + - partial_nudity + - tobacco propertyAmenityList: - - propertyAmenityList - - propertyAmenityList - url: obj_1280x960_54620_001.jpg + - 1 + - 2 + url: 5e3d9d49e9480.jpg name: Strandresidenz Sylt serviceList: - - featureList: - - featureList - - featureList + - featureList: [] operationTimeList: - - operationTimeList - - operationTimeList - code: 5015 + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + code: 173 typeList: - - typeList - - typeList - price: 0 - name: Beach + - 5.962133916683182 + - 5.962133916683182 + price: 19.99 + name: Breakfast served in restaurant. exists: true itemList: - - itemList - - itemList - included: true + - 5.637376656633329 + - 5.637376656633329 + included: false currencyCode: EUR - - featureList: - - featureList - - featureList + - featureList: [] operationTimeList: - - operationTimeList - - operationTimeList - code: 5015 + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + - sunday: false + saturday: false + tuesday: true + start: 25200000 + wednesday: true + thursday: true + friday: true + end: 39600000 + monday: true + code: 173 typeList: - - typeList - - typeList - price: 0 - name: Beach + - 5.962133916683182 + - 5.962133916683182 + price: 19.99 + name: Breakfast served in restaurant. exists: true itemList: - - itemList - - itemList - included: true + - 5.637376656633329 + - 5.637376656633329 + included: false currencyCode: EUR recordCreated: role: admin - time: 1609411613660 + time: 1652091332815 user: microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f tenant: dmo-demo - transaction: - method: MANDATORY_BOOKING - externalList: - - text: https://www.booking.com/ - languageCode: de - - text: https://www.booking.com/ - languageCode: de - contactTypeList: - - reservations - - reservations awardList: - provider: star-rating - rating: 0 + rating: 5 - provider: star-rating - rating: 0 - refinementDate: 1643706934194 + rating: 5 productList: - roomTypeList: - - typeCode: amrum - - typeCode: amrum + - amrum + - amrum isOBPPricing: true ratePlanList: - - code: standard-amrum - name: Standard Amrum - active: true - propertyId: strandresidenz-sylt + - code: standard-8436 + name: Standard 8436 + active: false pricingList: - - dateTime: 1614556800000 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - dateTime: 1614556800000 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - code: standard-amrum - name: Standard Amrum - active: true - propertyId: strandresidenz-sylt + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - code: standard-8436 + name: Standard 8436 + active: false pricingList: - - dateTime: 1614556800000 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - dateTime: 1614556800000 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 policyInfo: cancellationPolicyList: - - code: 152 - noShowPolicy: default + - noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - - code: 152 - noShowPolicy: default + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + checkOutTime: 43200000 + totalGuestCount: 10 + checkInTime: 54000000 + guaranteePolicy: + noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - checkOutTime: 39600000 - totalGuestCount: 0 - checkInTime: 50400000 - guaranteePolicy: guaranteePolicy taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - prepaymentPolicy: prepaymentPolicy - name: Standard Amrum Policy + prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false isLOSPricing: true name: Standard Amrum propertyId: strandresidenz-sylt mealPlanList: - - code: 14 - name: Room only - - code: 14 - name: Room only + - 14 + - 14 - roomTypeList: - - typeCode: amrum - - typeCode: amrum + - amrum + - amrum isOBPPricing: true ratePlanList: - - code: standard-amrum - name: Standard Amrum - active: true - propertyId: strandresidenz-sylt + - code: standard-8436 + name: Standard 8436 + active: false pricingList: - - dateTime: 1614556800000 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - dateTime: 1614556800000 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - code: standard-amrum - name: Standard Amrum - active: true - propertyId: strandresidenz-sylt + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - code: standard-8436 + name: Standard 8436 + active: false pricingList: - - dateTime: 1614556800000 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 - - dateTime: 1614556800000 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 1419 - "22": 2838 - "12": 1548 - "23": 2967 - "13": 1677 - "14": 1806 - "15": 1935 - "16": 2064 - "17": 2193 - "18": 2322 - "19": 2451 - "4": 516 - "5": 645 - "6": 774 - "7": 903 - "8": 1032 - "9": 1161 - "20": 2580 - "10": 1290 - "21": 2709 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 policyInfo: cancellationPolicyList: - - code: 152 - noShowPolicy: default + - noShowPolicy: Default + nightsAfterReservation: 0 + nightsAfterDeadline: 0 + percentAfterDeadline: 0 + percentAfterReservation: 0 + deadlineDays: 0 + deadlineHours: 0 + - noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - - code: 152 - noShowPolicy: default + checkOutTime: 43200000 + totalGuestCount: 10 + checkInTime: 54000000 + guaranteePolicy: + noShowPolicy: Default nightsAfterReservation: 0 nightsAfterDeadline: 0 percentAfterDeadline: 0 percentAfterReservation: 0 deadlineDays: 0 deadlineHours: 0 - checkOutTime: 39600000 - totalGuestCount: 0 - checkInTime: 50400000 - guaranteePolicy: guaranteePolicy taxPolicyList: - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - - conditionList: - - conditionList - - conditionList + - conditionList: [] chargeType: included percent: 19 currencyCode: EUR typeCode: 36 chargeFrequencyCode: 12 - prepaymentPolicy: prepaymentPolicy - name: Standard Amrum Policy + prepaymentPolicy: after_reservation_is_made + name: Standard Sylt Residenz Policy feePolicyList: - - feePolicyList - - feePolicyList - advanceBookingMin: 34560000 - advanceBookingMax: 0 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + - conditionList: [] + chargeType: included + percent: 19 + currencyCode: EUR + typeCode: 36 + chargeFrequencyCode: 12 + advanceBookingMin: 365 + advanceBookingMax: 1 petsPolicy: - byArrangement: true - allowed: true - freeOfCharge: true + byArrangement: false + allowed: false + freeOfCharge: false isLOSPricing: true name: Standard Amrum propertyId: strandresidenz-sylt mealPlanList: - - code: 14 - name: Room only - - code: 14 - name: Room only + - 14 + - 14 properties: - versionId: - format: nullable - type: string property: - $ref: '#/components/schemas/_v1_property_get_post_200_response_property' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_property' productList: items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_productList_inner' type: array + required: + - productList + - property type: object - _v1_property_list_post_200_response_list_inner: - example: - image: obj_1280x960_54620_001.jpg - lastUpdated: 1652091337389 - address: Nordhedig 20 25980 Sylt Germany - name: Strandresidenz Sylt - published: true - propertyId: strandresidenz-sylt - properties: - published: - type: boolean - name: - example: Strandresidenz Sylt - type: string - propertyId: - example: strandresidenz-sylt - type: string - image: - example: obj_1280x960_54620_001.jpg - type: string - address: - example: Nordhedig 20 25980 Sylt Germany - type: string - lastUpdated: - example: 1652091337389 - type: number - type: object - _v1_property_list_post_200_response: - example: - pageToken: pageToken - list: - - image: obj_1280x960_54620_001.jpg - lastUpdated: 1652091337389 - address: Nordhedig 20 25980 Sylt Germany - name: Strandresidenz Sylt - published: true - propertyId: strandresidenz-sylt - - image: obj_1280x960_54620_001.jpg - lastUpdated: 1652091337389 - address: Nordhedig 20 25980 Sylt Germany - name: Strandresidenz Sylt - published: true - propertyId: strandresidenz-sylt - properties: - list: - items: - $ref: '#/components/schemas/_v1_property_list_post_200_response_list_inner' - type: array - pageToken: - type: string - type: object - _v1_availability_get_post_200_response_ratePlanList_inner_pricingList_inner_priceList: - example: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 - properties: - "3": - example: 179.97 - type: number - "4": - example: 239.96 - type: number - "5": - example: 299.95 - type: number - "6": - example: 359.94 - type: number - "7": - example: 419.93 - type: number - "8": - example: 479.92 - type: number - "9": - example: 539.91 - type: number - "10": - example: 599.9 - type: number - "11": - example: 659.89 - type: number - "12": - example: 719.88 - type: number - "13": - example: 779.87 - type: number - "14": - example: 839.86 - type: number - "15": - example: 899.85 - type: number - "16": - example: 959.84 - type: number - "17": - example: 1019.83 - type: number - "18": - example: 1079.82 - type: number - "19": - example: 1139.81 - type: number - "20": - example: 1199.8 - type: number - type: object - _v1_availability_get_post_200_response_ratePlanList_inner_pricingList_inner: - example: - dateTime: 1662595200000 - occupancy: 1 - currencyCode: EUR - priceList: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 - properties: - dateTime: - example: 1662595200000 - type: number - occupancy: - example: 1 - type: number - priceList: - $ref: '#/components/schemas/_v1_availability_get_post_200_response_ratePlanList_inner_pricingList_inner_priceList' - currencyCode: - example: EUR - type: string - type: object - _v1_availability_get_post_200_response_ratePlanList_inner: - example: - code: standard-8436 - name: Standard 8436 - active: true - pricingList: - - dateTime: 1662595200000 - occupancy: 1 - currencyCode: EUR - priceList: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 - - dateTime: 1662595200000 - occupancy: 1 - currencyCode: EUR - priceList: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 - properties: - active: - type: boolean - name: - example: Standard 8436 - type: string - code: - example: standard-8436 - type: string - pricingList: - items: - $ref: '#/components/schemas/_v1_availability_get_post_200_response_ratePlanList_inner_pricingList_inner' - type: array - type: object - _v1_availability_get_post_200_response_roomTypeList_inner: - example: - typeCode: strandresidenz-sylt - properties: - typeCode: - example: strandresidenz-sylt - type: string - type: object - _v1_availability_get_post_200_response: + _properties__propertyId__availability_get_200_response_availabilityList_inner: example: roomTypeList: - - typeCode: strandresidenz-sylt - - typeCode: strandresidenz-sylt + - amrum + - amrum ratePlanList: - code: standard-8436 name: Standard 8436 - active: true + active: false pricingList: - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 - code: standard-8436 name: Standard 8436 - active: true + active: false pricingList: - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 - dateTime: 1662595200000 occupancy: 1 currencyCode: EUR priceList: - "11": 659.89 - "12": 719.88 - "13": 779.87 - "14": 839.86 - "15": 899.85 - "16": 959.84 - "17": 1019.83 - "18": 1079.82 - "19": 1139.81 - "3": 179.97 - "4": 239.96 - "5": 299.95 - "6": 359.94 - "7": 419.93 - "8": 479.92 - "9": 539.91 - "20": 1199.8 - "10": 599.9 + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 name: Standard mealPlanList: - - code: 14 - name: Room only - - code: 14 - name: Room only + - 14 + - 14 properties: ratePlanList: + description: A list of available rate plans. items: - $ref: '#/components/schemas/_v1_availability_get_post_200_response_ratePlanList_inner' + $ref: '#/components/schemas/_properties__propertyId__get_200_response_productList_inner_ratePlanList_inner' type: array name: + description: The name of the rate plan group. example: Standard type: string mealPlanList: + description: The available meal plans.

See also in + the appendix.

items: - $ref: '#/components/schemas/_v1_property_get_post_200_response_productList_inner_mealPlanList_inner' - type: array - roomTypeList: - items: - $ref: '#/components/schemas/_v1_availability_get_post_200_response_roomTypeList_inner' - type: array - type: object - _v1_availability_search_post_200_response_list_inner_geo_location: - example: - lng: 8.3339872 - lat: 54.8962436 - properties: - lng: - example: 8.3339872 - type: number - lat: - example: 54.8962436 - type: number - type: object - _v1_availability_search_post_200_response_list_inner_geo: - example: - country: Deutschland - formatted_address: Westertresker 2 25980 Sylt Deutschland - locality: Sylt - sublocality: Tinnum - language: de - establishment: Sylt - country_code: DE - sublocality_level_1: Tinnum - route: Westertresker - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "2" - location: - lng: 8.3339872 - lat: 54.8962436 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJ5fZnV2TdtEcRHUC697Z0nhw - properties: - country: - example: Deutschland - type: string - formatted_address: - example: Westertresker 2 25980 Sylt Deutschland - type: string - locality: - example: Sylt - type: string - sublocality: - example: Tinnum - type: string - language: - example: de - type: string - establishment: - example: Sylt - type: string - country_code: - example: DE - type: string - sublocality_level_1: - example: Tinnum - type: string - route: - example: Westertresker - type: string - administrative_area_level_3: - example: Nordfriesland - type: string - administrative_area_level_1: - example: Schleswig-Holstein - type: string - street_number: - example: "2" - type: string - location: - $ref: '#/components/schemas/_v1_availability_search_post_200_response_list_inner_geo_location' - state_code: - example: SH - type: string - postal_code: - example: "25980" - type: string - natural_feature: - example: Sylt - type: string - place_id: - example: ChIJ5fZnV2TdtEcRHUC697Z0nhw - type: string - type: object - _v1_availability_search_post_200_response_list_inner_mediaList_inner: - example: - tagCodeList: - - 3 - - 3 - isMainImage: true - sortOrder: 1004 - url: obj_1280x960_55480_005.jpg - properties: - tagCodeList: - items: - example: 3 - type: number - type: array - isMainImage: - type: boolean - url: - example: obj_1280x960_55480_005.jpg - type: string - sortOrder: - example: 1004 - type: number - type: object - _v1_availability_search_post_200_response_list_inner_attractionList_inner_distance: - example: - unit: m - value: 2800 - properties: - value: - example: 2800 - type: number - unit: - example: m - type: string - type: object - _v1_availability_search_post_200_response_list_inner_attractionList_inner: - example: - distance: - unit: m - value: 2800 - name: Flughafen Sylt - typeCode: 1 - properties: - typeCode: - example: 1 - type: number - name: - example: Flughafen Sylt - type: string - distance: - $ref: '#/components/schemas/_v1_availability_search_post_200_response_list_inner_attractionList_inner_distance' - type: object - _v1_availability_search_post_200_response_list_inner_lowestPrice: - example: - lengthOfStay: 1 - amount: 49 - returnDate: 1660867200 - currencyCode: EUR - arrivalDate: 1660780800 - properties: - amount: - example: 49 - type: number - currencyCode: - example: EUR - type: string - arrivalDate: - example: 1660780800 - type: number - returnDate: - example: 1660867200 - type: number - lengthOfStay: - example: 1 - type: number - type: object - _v1_availability_search_post_200_response_list_inner: - example: - lowestPrice: - lengthOfStay: 1 - amount: 49 - returnDate: 1660867200 - currencyCode: EUR - arrivalDate: 1660780800 - code: landhaus-treskersand - languageCode: de - uri: landhaus-treskersand - geo: - country: Deutschland - formatted_address: Westertresker 2 25980 Sylt Deutschland - locality: Sylt - sublocality: Tinnum - language: de - establishment: Sylt - country_code: DE - sublocality_level_1: Tinnum - route: Westertresker - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "2" - location: - lng: 8.3339872 - lat: 54.8962436 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJ5fZnV2TdtEcRHUC697Z0nhw - mediaList: - - tagCodeList: - - 3 - - 3 - isMainImage: true - sortOrder: 1004 - url: obj_1280x960_55480_005.jpg - - tagCodeList: - - 3 - - 3 - isMainImage: true - sortOrder: 1004 - url: obj_1280x960_55480_005.jpg - name: Landhaus Treskersand - serviceList: - - 5001 - - 5001 - categoryList: - - 5006 - - 5006 - attractionList: - - distance: - unit: m - value: 2800 - name: Flughafen Sylt - typeCode: 1 - - distance: - unit: m - value: 2800 - name: Flughafen Sylt - typeCode: 1 - unitSystem: metric - text: Im Herzen der Insel-im Süden von Tinnum in einer ruhigen Seitenstrasse - unmittelbar an den Tinnumer Wiesen liegt das wunderschöne Landhaus Treskersand - mit seiner Wohnung unter Reet. - currencyCode: EUR - uriPath: deutschland/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand - properties: - code: - example: landhaus-treskersand - type: string - languageCode: - example: de - type: string - currencyCode: - example: EUR - type: string - unitSystem: - example: metric - type: string - name: - example: Landhaus Treskersand - type: string - uri: - example: landhaus-treskersand - type: string - serviceList: - items: - example: 5001 - type: number - type: array - categoryList: - items: - example: 5006 + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 90001 + example: 14 type: number type: array - uriPath: - example: deutschland/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand - type: string - text: - example: Im Herzen der Insel-im Süden von Tinnum in einer ruhigen Seitenstrasse - unmittelbar an den Tinnumer Wiesen liegt das wunderschöne Landhaus Treskersand - mit seiner Wohnung unter Reet. - type: string - geo: - $ref: '#/components/schemas/_v1_availability_search_post_200_response_list_inner_geo' - mediaList: - items: - $ref: '#/components/schemas/_v1_availability_search_post_200_response_list_inner_mediaList_inner' - type: array - attractionList: - items: - $ref: '#/components/schemas/_v1_availability_search_post_200_response_list_inner_attractionList_inner' - type: array - lowestPrice: - $ref: '#/components/schemas/_v1_availability_search_post_200_response_list_inner_lowestPrice' - type: object - _v1_availability_search_post_200_response: - example: - languageCode: de - list: - - lowestPrice: - lengthOfStay: 1 - amount: 49 - returnDate: 1660867200 - currencyCode: EUR - arrivalDate: 1660780800 - code: landhaus-treskersand - languageCode: de - uri: landhaus-treskersand - geo: - country: Deutschland - formatted_address: Westertresker 2 25980 Sylt Deutschland - locality: Sylt - sublocality: Tinnum - language: de - establishment: Sylt - country_code: DE - sublocality_level_1: Tinnum - route: Westertresker - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "2" - location: - lng: 8.3339872 - lat: 54.8962436 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJ5fZnV2TdtEcRHUC697Z0nhw - mediaList: - - tagCodeList: - - 3 - - 3 - isMainImage: true - sortOrder: 1004 - url: obj_1280x960_55480_005.jpg - - tagCodeList: - - 3 - - 3 - isMainImage: true - sortOrder: 1004 - url: obj_1280x960_55480_005.jpg - name: Landhaus Treskersand - serviceList: - - 5001 - - 5001 - categoryList: - - 5006 - - 5006 - attractionList: - - distance: - unit: m - value: 2800 - name: Flughafen Sylt - typeCode: 1 - - distance: - unit: m - value: 2800 - name: Flughafen Sylt - typeCode: 1 - unitSystem: metric - text: Im Herzen der Insel-im Süden von Tinnum in einer ruhigen Seitenstrasse - unmittelbar an den Tinnumer Wiesen liegt das wunderschöne Landhaus Treskersand - mit seiner Wohnung unter Reet. - currencyCode: EUR - uriPath: deutschland/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand - - lowestPrice: - lengthOfStay: 1 - amount: 49 - returnDate: 1660867200 - currencyCode: EUR - arrivalDate: 1660780800 - code: landhaus-treskersand - languageCode: de - uri: landhaus-treskersand - geo: - country: Deutschland - formatted_address: Westertresker 2 25980 Sylt Deutschland - locality: Sylt - sublocality: Tinnum - language: de - establishment: Sylt - country_code: DE - sublocality_level_1: Tinnum - route: Westertresker - administrative_area_level_3: Nordfriesland - administrative_area_level_1: Schleswig-Holstein - street_number: "2" - location: - lng: 8.3339872 - lat: 54.8962436 - state_code: SH - postal_code: "25980" - natural_feature: Sylt - place_id: ChIJ5fZnV2TdtEcRHUC697Z0nhw - mediaList: - - tagCodeList: - - 3 - - 3 - isMainImage: true - sortOrder: 1004 - url: obj_1280x960_55480_005.jpg - - tagCodeList: - - 3 - - 3 - isMainImage: true - sortOrder: 1004 - url: obj_1280x960_55480_005.jpg - name: Landhaus Treskersand - serviceList: - - 5001 - - 5001 - categoryList: - - 5006 - - 5006 - attractionList: - - distance: - unit: m - value: 2800 - name: Flughafen Sylt - typeCode: 1 - - distance: - unit: m - value: 2800 - name: Flughafen Sylt - typeCode: 1 - unitSystem: metric - text: Im Herzen der Insel-im Süden von Tinnum in einer ruhigen Seitenstrasse - unmittelbar an den Tinnumer Wiesen liegt das wunderschöne Landhaus Treskersand - mit seiner Wohnung unter Reet. - currencyCode: EUR - uriPath: deutschland/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand - properties: - languageCode: - example: de - type: string - list: + roomTypeList: + description: The rooms this availability is for. items: - $ref: '#/components/schemas/_v1_availability_search_post_200_response_list_inner' + description: The code identifying the room type. + example: amrum + type: string type: array + required: + - mealPlanList + - name + - ratePlanList + - roomTypeList type: object - _v1_location_search_post_200_response_list_inner: + _properties__propertyId__availability_get_200_response: example: - lowestPrice: 49 - propertyUriName: landhaus-treskersand - name: Landhaus Treskersand - type: property - currencyCode: EUR - propertyId: dmo-demo:landhaus-treskersand - propertyUriPath: en:germany/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand - properties: - name: - example: Landhaus Treskersand - type: string - type: - example: property - type: string - currencyCode: - example: EUR - type: string - lowestPrice: - example: 49 - type: number - propertyId: - example: dmo-demo:landhaus-treskersand - type: string - propertyUriName: - example: landhaus-treskersand - type: string - propertyUriPath: - example: en:germany/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand - type: string - type: object - _v1_location_search_post_200_response: - example: - languageCode: en - list: - - lowestPrice: 49 - propertyUriName: landhaus-treskersand - name: Landhaus Treskersand - type: property - currencyCode: EUR - propertyId: dmo-demo:landhaus-treskersand - propertyUriPath: en:germany/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand - - lowestPrice: 49 - propertyUriName: landhaus-treskersand - name: Landhaus Treskersand - type: property - currencyCode: EUR - propertyId: dmo-demo:landhaus-treskersand - propertyUriPath: en:germany/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand + availabilityList: + - roomTypeList: + - amrum + - amrum + ratePlanList: + - code: standard-8436 + name: Standard 8436 + active: false + pricingList: + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - code: standard-8436 + name: Standard 8436 + active: false + pricingList: + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + name: Standard + mealPlanList: + - 14 + - 14 + - roomTypeList: + - amrum + - amrum + ratePlanList: + - code: standard-8436 + name: Standard 8436 + active: false + pricingList: + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - code: standard-8436 + name: Standard 8436 + active: false + pricingList: + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + - dateTime: 1662595200000 + occupancy: 1 + currencyCode: EUR + priceList: + "1": 182 + "2": 364 + "3": 546 + "4": 728 + "5": 910 + "6": 1092 + "7": 1274 + "8": 1456 + "9": 1638 + "10": 1820 + "11": 2002 + "12": 2184 + "13": 2366 + "14": 2548 + "15": 2730 + "16": 2912 + "17": 3094 + "18": 3276 + "19": 3458 + "20": 3640 + "21": 3822 + "22": 4004 + "23": 4186 + "24": 4368 + "25": 4550 + "26": 4732 + "27": 4914 + "28": 5096 + "29": 5278 + "30": 5460 + name: Standard + mealPlanList: + - 14 + - 14 properties: - languageCode: - example: en - type: string - list: + availabilityList: + description: An array of objects describing the available booking options. items: - $ref: '#/components/schemas/_v1_location_search_post_200_response_list_inner' + $ref: '#/components/schemas/_properties__propertyId__availability_get_200_response_availabilityList_inner' type: array + required: + - availabilityList type: object securitySchemes: ApiKeyAuth: + description: "API key for the API, managed in self service by the tenant via\ + \ the LODGEA Management Console." in: header name: apiKey type: apiKey -x-tagGroups: -- name: Availability - tags: - - availability -- name: Location - tags: - - location -- name: Property - tags: - - property diff --git a/build.gradle b/build.gradle index 1276466..828d451 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'com.lodgea' -version = '1.0.2' +version = '1.1.5' buildscript { repositories { @@ -13,7 +13,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:2.3.+' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' - classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.3.0' + classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.11.0' } } @@ -65,7 +65,7 @@ if(hasProperty('target') && target == 'android') { task.from variant.javaCompile.destinationDir task.destinationDir = project.file("${project.buildDir}/outputs/jar") task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" - artifacts.add('archives', task); + artifacts.add('archives', task) } } @@ -106,20 +106,20 @@ ext { } dependencies { - implementation 'io.swagger:swagger-annotations:1.6.5' + implementation 'io.swagger:swagger-annotations:1.6.8' implementation "com.google.code.findbugs:jsr305:3.0.2" - implementation 'com.squareup.okhttp3:okhttp:4.9.3' - implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' - implementation 'com.google.code.gson:gson:2.9.0' + implementation 'com.squareup.okhttp3:okhttp:4.10.0' + implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0' + implementation 'com.google.code.gson:gson:2.9.1' implementation 'io.gsonfire:gson-fire:1.8.5' implementation 'javax.ws.rs:jsr311-api:1.1.1' implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' - implementation 'org.openapitools:jackson-databind-nullable:0.2.3' + implementation 'org.openapitools:jackson-databind-nullable:0.2.4' implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1' testImplementation 'org.mockito:mockito-core:3.12.4' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1' } javadoc { diff --git a/build.sbt b/build.sbt index 96054f0..34a47aa 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "com.lodgea", name := "lodgea", - version := "1.0.2", + version := "1.1.5", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), @@ -10,18 +10,19 @@ lazy val root = (project in file(".")). resolvers += Resolver.mavenLocal, libraryDependencies ++= Seq( "io.swagger" % "swagger-annotations" % "1.6.5", - "com.squareup.okhttp3" % "okhttp" % "4.9.3", - "com.squareup.okhttp3" % "logging-interceptor" % "4.9.3", - "com.google.code.gson" % "gson" % "2.9.0", + "com.squareup.okhttp3" % "okhttp" % "4.10.0", + "com.squareup.okhttp3" % "logging-interceptor" % "4.10.0", + "com.google.code.gson" % "gson" % "2.9.1", "org.apache.commons" % "commons-lang3" % "3.12.0", "javax.ws.rs" % "jsr311-api" % "1.1.1", "javax.ws.rs" % "javax.ws.rs-api" % "2.1.1", - "org.openapitools" % "jackson-databind-nullable" % "0.2.3", + "org.openapitools" % "jackson-databind-nullable" % "0.2.4", "io.gsonfire" % "gson-fire" % "1.8.5" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", - "org.junit.jupiter" % "junit-jupiter-api" % "5.8.2" % "test", - "com.novocode" % "junit-interface" % "0.10" % "test" + "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test", + "com.novocode" % "junit-interface" % "0.10" % "test", + "org.mockito" % "mockito-core" % "3.12.4" % "test" ) ) diff --git a/docs/AvailabilityApi.md b/docs/AvailabilityApi.md deleted file mode 100644 index ac56778..0000000 --- a/docs/AvailabilityApi.md +++ /dev/null @@ -1,164 +0,0 @@ -# AvailabilityApi - -All URIs are relative to *https://api.eu.lodgea.io* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**v1AvailabilityGetPost**](AvailabilityApi.md#v1AvailabilityGetPost) | **POST** /v1/availability/get | Get Availability for Property | -| [**v1AvailabilitySearchPost**](AvailabilityApi.md#v1AvailabilitySearchPost) | **POST** /v1/availability/search | Search for Availability | - - - -# **v1AvailabilityGetPost** -> V1AvailabilityGetPost200Response v1AvailabilityGetPost(availabilityGet) - -Get Availability for Property - -Get availability information based on a specific property. - -### Example -```java -// Import classes: -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.Configuration; -import com.lodgea.auth.*; -import com.lodgea.models.*; -import com.lodgea.controllers.AvailabilityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.eu.lodgea.io"); - - // Configure API key authorization: ApiKeyAuth - ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); - ApiKeyAuth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //ApiKeyAuth.setApiKeyPrefix("Token"); - - AvailabilityApi apiInstance = new AvailabilityApi(defaultClient); - AvailabilityGet availabilityGet = new AvailabilityGet(); // AvailabilityGet | Availability get parameter - try { - V1AvailabilityGetPost200Response result = apiInstance.v1AvailabilityGetPost(availabilityGet); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AvailabilityApi#v1AvailabilityGetPost"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **availabilityGet** | [**AvailabilityGet**](AvailabilityGet.md)| Availability get parameter | | - -### Return type - -[**V1AvailabilityGetPost200Response**](V1AvailabilityGetPost200Response.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Successful operation | - | -| **400** | Bad request - missing parameter | * apiKey -
| -| **401** | API Key is missing or invalid | * apiKey -
| -| **403** | Forbidden | * apiKey -
| -| **404** | Not Found | * apiKey -
| -| **405** | Invalid input | * apiKey -
| -| **429** | Rate Limiting | * apiKey -
| -| **500** | Internal server error | * apiKey -
| -| **503** | Server error | * apiKey -
| - - -# **v1AvailabilitySearchPost** -> V1AvailabilitySearchPost200Response v1AvailabilitySearchPost(availabilitySearch) - -Search for Availability - -Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - -### Example -```java -// Import classes: -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.Configuration; -import com.lodgea.auth.*; -import com.lodgea.models.*; -import com.lodgea.controllers.AvailabilityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.eu.lodgea.io"); - - // Configure API key authorization: ApiKeyAuth - ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); - ApiKeyAuth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //ApiKeyAuth.setApiKeyPrefix("Token"); - - AvailabilityApi apiInstance = new AvailabilityApi(defaultClient); - AvailabilitySearch availabilitySearch = new AvailabilitySearch(); // AvailabilitySearch | Search Criteria, all parameters are optional - try { - V1AvailabilitySearchPost200Response result = apiInstance.v1AvailabilitySearchPost(availabilitySearch); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AvailabilityApi#v1AvailabilitySearchPost"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **availabilitySearch** | [**AvailabilitySearch**](AvailabilitySearch.md)| Search Criteria, all parameters are optional | [optional] | - -### Return type - -[**V1AvailabilitySearchPost200Response**](V1AvailabilitySearchPost200Response.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Successful operation | - | -| **400** | Bad request - missing parameter | * apiKey -
| -| **401** | API Key is missing or invalid | * apiKey -
| -| **403** | Forbidden | * apiKey -
| -| **404** | Not Found | * apiKey -
| -| **405** | Invalid input | * apiKey -
| -| **429** | Rate Limiting | * apiKey -
| -| **500** | Internal server error | * apiKey -
| -| **503** | Server error | * apiKey -
| - diff --git a/docs/AvailabilityGet.md b/docs/AvailabilityGet.md deleted file mode 100644 index 70dce85..0000000 --- a/docs/AvailabilityGet.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# AvailabilityGet - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**propertyCode** | **String** | | [optional] | -|**currencyCode** | **String** | | [optional] | - - - diff --git a/docs/AvailabilitySearch.md b/docs/AvailabilitySearch.md deleted file mode 100644 index a051665..0000000 --- a/docs/AvailabilitySearch.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# AvailabilitySearch - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**adultCount** | **BigDecimal** | | [optional] | -|**childCount** | **BigDecimal** | | [optional] | -|**childAgeList** | **List<BigDecimal>** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**minLengthOfStay** | **BigDecimal** | | [optional] | -|**maxLengthOfStay** | **BigDecimal** | | [optional] | -|**locationName** | **String** | | [optional] | -|**locationType** | **String** | | [optional] | -|**earliestArrival** | **LocalDate** | | [optional] | -|**latestReturn** | **LocalDate** | | [optional] | -|**sort** | **String** | | [optional] | -|**serviceList** | **List<BigDecimal>** | | [optional] | -|**typeList** | **List<BigDecimal>** | | [optional] | -|**unitTypeList** | **List<BigDecimal>** | | [optional] | -|**unitAmenityList** | **List<BigDecimal>** | | [optional] | -|**mealPlanList** | **List<BigDecimal>** | | [optional] | - - - diff --git a/docs/AvailabilitySearchPost200Response.md b/docs/AvailabilitySearchPost200Response.md new file mode 100644 index 0000000..2c2fb12 --- /dev/null +++ b/docs/AvailabilitySearchPost200Response.md @@ -0,0 +1,59 @@ + + +# AvailabilitySearchPost200Response + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**languageCode** | [**LanguageCodeEnum**](#LanguageCodeEnum) | The language code of the language in which the descriptive texts for each found property are returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | +|**_list** | [**List<AvailablePropertiesInner1>**](AvailablePropertiesInner1.md) | A list of available properties matching the given criteria. | | + + + +## Enum: LanguageCodeEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + diff --git a/docs/AvailabilitySearchPostRequest.md b/docs/AvailabilitySearchPostRequest.md new file mode 100644 index 0000000..fd29020 --- /dev/null +++ b/docs/AvailabilitySearchPostRequest.md @@ -0,0 +1,1328 @@ + + +# AvailabilitySearchPostRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**adultCount** | **Integer** | The amount of adults that will stay at the property. | [optional] | +|**childCount** | **Integer** | The amount of children that will stay at the property. | [optional] | +|**childAgeList** | **List<Integer>** | A list describing the ages of the children that will stay at the property. If <code>childAgeList</code> is set <code>childCount</code> has to be set as well. If <code>childAgeList</code> and <code>childCount</code> are set, <code>childCount</code> must be equal to the length of <code>childAgeList</code>. | [optional] | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency code of the currency in which the lowest price for each found location should be returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> | | +|**languageCode** | [**LanguageCodeEnum**](#LanguageCodeEnum) | The language code of the language in which the descriptive texts for each found property should be returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | +|**unitSystem** | [**UnitSystemEnum**](#UnitSystemEnum) | The unit system to use in the result. | [optional] | +|**minLengthOfStay** | **Integer** | The desired minimum length of stay in nights. | [optional] | +|**maxLengthOfStay** | **Integer** | The desired maximum length of stay in nights. | [optional] | +|**locationName** | **String** | The name of a location the properties should be located in.If <code>locationType</code> is set, <code>locationName</code> has to bet set as well. | [optional] | +|**locationType** | [**LocationTypeEnum**](#LocationTypeEnum) | Defines the type of<code>locationName</code>. If <code>locationType</code> is set, <code>locationName</code> has to bet set as well.<p>See also <a href=\"#locationtypes\">in the appendix</a>.</p> | [optional] | +|**earliestArrival** | **String** | The earliest possible arrival date. Expects exactly the format of \"YYYY-MM-DD\". | [optional] | +|**latestReturn** | **String** | The latest possible departure date. Expects exactly the format of \"YYYY-MM-DD\". | [optional] | +|**sort** | [**SortEnum**](#SortEnum) | The criteria to order the results by. Sort order for price is ascending, sort order for quality is always descending. Quality is an internally calculated score for the property.', )} | [optional] | +|**serviceList** | [**List<ServiceListEnum>**](#List<ServiceListEnum>) | A list of service codes indicating which services and amenities the entire property should offer. The codes are AND chained.<p>See also <a href=\"#servicecodes\">in the appendix</a>.</p> | [optional] | +|**typeList** | [**List<TypeListEnum>**](#List<TypeListEnum>) | A list of property class type codes specifying the desired property classes. The codes are OR chained.<p>See also <a href=\"#propertyclass-type-codes\">in the appendix</a>.</p> | [optional] | +|**unitTypeList** | [**List<UnitTypeListEnum>**](#List<UnitTypeListEnum>) | A list of unit and room type codes indicating which kinds of unit/room type is desired.<p>See also <a href=\"#unitand-room-type-codes\">in the appendix</a>.</p> | [optional] | +|**unitAmenityList** | [**List<UnitAmenityListEnum>**](#List<UnitAmenityListEnum>) | A list of room amenity type codes indicating which room level amenities are desired. The codes are AND chained.<p>See also <a href=\"#unitand-room-amenity-type-codes\">in the appendix</a>.</p> | [optional] | +|**mealPlanList** | [**List<MealPlanListEnum>**](#List<MealPlanListEnum>) | A list of meal plan type codes indicating which kinds of meal plan type is desired.<p>See also <a href=\"#mealplan-type-codes\">in the appendix</a>.</p> | [optional] | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + +## Enum: LanguageCodeEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + +## Enum: UnitSystemEnum + +| Name | Value | +|---- | -----| +| METRIC | "metric" | +| IMPERIAL | "imperial" | + + + +## Enum: LocationTypeEnum + +| Name | Value | +|---- | -----| +| FORMATTED_ADDRESS | "formatted_address" | +| PLACE_ID | "place_id" | +| LOCALITY | "locality" | +| ADMINISTRATIVE_AREA_LEVEL_1 | "administrative_area_level_1" | +| ADMINISTRATIVE_AREA_LEVEL_2 | "administrative_area_level_2" | +| ADMINISTRATIVE_AREA_LEVEL_3 | "administrative_area_level_3" | +| ADMINISTRATIVE_AREA_LEVEL_4 | "administrative_area_level_4" | +| ADMINISTRATIVE_AREA_LEVEL_5 | "administrative_area_level_5" | +| STATE_CODE | "state_code" | +| COUNTRY | "country" | +| COUNTRY_CODE | "country_code" | +| POSTAL_CODE | "postal_code" | +| LANGUAGE | "language" | +| NATURAL_FEATURE | "natural_feature" | +| ESTABLISHMENT | "establishment" | +| SUBLOCALITY | "sublocality" | +| SUBLOCALITY_LEVEL_1 | "sublocality_level_1" | +| SUBLOCALITY_LEVEL_2 | "sublocality_level_2" | +| SUBLOCALITY_LEVEL_3 | "sublocality_level_3" | +| SUBLOCALITY_LEVEL_4 | "sublocality_level_4" | +| SUBLOCALITY_LEVEL_5 | "sublocality_level_5" | +| STREETNUMBER | "streetNumber" | + + + +## Enum: SortEnum + +| Name | Value | +|---- | -----| +| QUALITY | "quality" | +| PRICE | "price" | + + + +## Enum: List<ServiceListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_111 | new BigDecimal("111") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_117 | new BigDecimal("117") | +| NUMBER_118 | new BigDecimal("118") | +| NUMBER_119 | new BigDecimal("119") | +| NUMBER_120 | new BigDecimal("120") | +| NUMBER_121 | new BigDecimal("121") | +| NUMBER_122 | new BigDecimal("122") | +| NUMBER_123 | new BigDecimal("123") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_126 | new BigDecimal("126") | +| NUMBER_127 | new BigDecimal("127") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_129 | new BigDecimal("129") | +| NUMBER_130 | new BigDecimal("130") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_132 | new BigDecimal("132") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_135 | new BigDecimal("135") | +| NUMBER_136 | new BigDecimal("136") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_138 | new BigDecimal("138") | +| NUMBER_139 | new BigDecimal("139") | +| NUMBER_140 | new BigDecimal("140") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_142 | new BigDecimal("142") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_144 | new BigDecimal("144") | +| NUMBER_145 | new BigDecimal("145") | +| NUMBER_146 | new BigDecimal("146") | +| NUMBER_147 | new BigDecimal("147") | +| NUMBER_148 | new BigDecimal("148") | +| NUMBER_149 | new BigDecimal("149") | +| NUMBER_150 | new BigDecimal("150") | +| NUMBER_151 | new BigDecimal("151") | +| NUMBER_152 | new BigDecimal("152") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_162 | new BigDecimal("162") | +| NUMBER_163 | new BigDecimal("163") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_166 | new BigDecimal("166") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_168 | new BigDecimal("168") | +| NUMBER_169 | new BigDecimal("169") | +| NUMBER_170 | new BigDecimal("170") | +| NUMBER_171 | new BigDecimal("171") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_174 | new BigDecimal("174") | +| NUMBER_175 | new BigDecimal("175") | +| NUMBER_176 | new BigDecimal("176") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_180 | new BigDecimal("180") | +| NUMBER_181 | new BigDecimal("181") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_195 | new BigDecimal("195") | +| NUMBER_196 | new BigDecimal("196") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_200 | new BigDecimal("200") | +| NUMBER_201 | new BigDecimal("201") | +| NUMBER_202 | new BigDecimal("202") | +| NUMBER_203 | new BigDecimal("203") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_206 | new BigDecimal("206") | +| NUMBER_207 | new BigDecimal("207") | +| NUMBER_208 | new BigDecimal("208") | +| NUMBER_209 | new BigDecimal("209") | +| NUMBER_210 | new BigDecimal("210") | +| NUMBER_211 | new BigDecimal("211") | +| NUMBER_212 | new BigDecimal("212") | +| NUMBER_213 | new BigDecimal("213") | +| NUMBER_214 | new BigDecimal("214") | +| NUMBER_215 | new BigDecimal("215") | +| NUMBER_216 | new BigDecimal("216") | +| NUMBER_217 | new BigDecimal("217") | +| NUMBER_218 | new BigDecimal("218") | +| NUMBER_219 | new BigDecimal("219") | +| NUMBER_220 | new BigDecimal("220") | +| NUMBER_221 | new BigDecimal("221") | +| NUMBER_222 | new BigDecimal("222") | +| NUMBER_223 | new BigDecimal("223") | +| NUMBER_224 | new BigDecimal("224") | +| NUMBER_225 | new BigDecimal("225") | +| NUMBER_226 | new BigDecimal("226") | +| NUMBER_227 | new BigDecimal("227") | +| NUMBER_228 | new BigDecimal("228") | +| NUMBER_229 | new BigDecimal("229") | +| NUMBER_230 | new BigDecimal("230") | +| NUMBER_231 | new BigDecimal("231") | +| NUMBER_232 | new BigDecimal("232") | +| NUMBER_233 | new BigDecimal("233") | +| NUMBER_234 | new BigDecimal("234") | +| NUMBER_235 | new BigDecimal("235") | +| NUMBER_236 | new BigDecimal("236") | +| NUMBER_237 | new BigDecimal("237") | +| NUMBER_238 | new BigDecimal("238") | +| NUMBER_239 | new BigDecimal("239") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_243 | new BigDecimal("243") | +| NUMBER_244 | new BigDecimal("244") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_274 | new BigDecimal("274") | +| NUMBER_275 | new BigDecimal("275") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_284 | new BigDecimal("284") | +| NUMBER_285 | new BigDecimal("285") | +| NUMBER_286 | new BigDecimal("286") | +| NUMBER_287 | new BigDecimal("287") | +| NUMBER_288 | new BigDecimal("288") | +| NUMBER_289 | new BigDecimal("289") | +| NUMBER_290 | new BigDecimal("290") | +| NUMBER_291 | new BigDecimal("291") | +| NUMBER_292 | new BigDecimal("292") | +| NUMBER_293 | new BigDecimal("293") | +| NUMBER_294 | new BigDecimal("294") | +| NUMBER_295 | new BigDecimal("295") | +| NUMBER_296 | new BigDecimal("296") | +| NUMBER_297 | new BigDecimal("297") | +| NUMBER_298 | new BigDecimal("298") | +| NUMBER_299 | new BigDecimal("299") | +| NUMBER_300 | new BigDecimal("300") | +| NUMBER_301 | new BigDecimal("301") | +| NUMBER_302 | new BigDecimal("302") | +| NUMBER_303 | new BigDecimal("303") | +| NUMBER_304 | new BigDecimal("304") | +| NUMBER_305 | new BigDecimal("305") | +| NUMBER_306 | new BigDecimal("306") | +| NUMBER_307 | new BigDecimal("307") | +| NUMBER_308 | new BigDecimal("308") | +| NUMBER_309 | new BigDecimal("309") | +| NUMBER_310 | new BigDecimal("310") | +| NUMBER_311 | new BigDecimal("311") | +| NUMBER_312 | new BigDecimal("312") | +| NUMBER_313 | new BigDecimal("313") | +| NUMBER_314 | new BigDecimal("314") | +| NUMBER_315 | new BigDecimal("315") | +| NUMBER_316 | new BigDecimal("316") | +| NUMBER_317 | new BigDecimal("317") | +| NUMBER_318 | new BigDecimal("318") | +| NUMBER_319 | new BigDecimal("319") | +| NUMBER_320 | new BigDecimal("320") | +| NUMBER_321 | new BigDecimal("321") | +| NUMBER_322 | new BigDecimal("322") | +| NUMBER_323 | new BigDecimal("323") | +| NUMBER_324 | new BigDecimal("324") | +| NUMBER_325 | new BigDecimal("325") | +| NUMBER_326 | new BigDecimal("326") | +| NUMBER_327 | new BigDecimal("327") | +| NUMBER_328 | new BigDecimal("328") | +| NUMBER_329 | new BigDecimal("329") | +| NUMBER_331 | new BigDecimal("331") | +| NUMBER_332 | new BigDecimal("332") | +| NUMBER_333 | new BigDecimal("333") | +| NUMBER_334 | new BigDecimal("334") | +| NUMBER_335 | new BigDecimal("335") | +| NUMBER_336 | new BigDecimal("336") | +| NUMBER_337 | new BigDecimal("337") | +| NUMBER_338 | new BigDecimal("338") | +| NUMBER_339 | new BigDecimal("339") | +| NUMBER_340 | new BigDecimal("340") | +| NUMBER_341 | new BigDecimal("341") | +| NUMBER_342 | new BigDecimal("342") | +| NUMBER_343 | new BigDecimal("343") | +| NUMBER_344 | new BigDecimal("344") | +| NUMBER_345 | new BigDecimal("345") | +| NUMBER_348 | new BigDecimal("348") | +| NUMBER_349 | new BigDecimal("349") | +| NUMBER_350 | new BigDecimal("350") | +| NUMBER_351 | new BigDecimal("351") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5034 | new BigDecimal("5034") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_5037 | new BigDecimal("5037") | +| NUMBER_5039 | new BigDecimal("5039") | +| NUMBER_5040 | new BigDecimal("5040") | +| NUMBER_5041 | new BigDecimal("5041") | +| NUMBER_5042 | new BigDecimal("5042") | +| NUMBER_5043 | new BigDecimal("5043") | +| NUMBER_5044 | new BigDecimal("5044") | +| NUMBER_5045 | new BigDecimal("5045") | +| NUMBER_5046 | new BigDecimal("5046") | +| NUMBER_5047 | new BigDecimal("5047") | +| NUMBER_5048 | new BigDecimal("5048") | +| NUMBER_5049 | new BigDecimal("5049") | +| NUMBER_5050 | new BigDecimal("5050") | +| NUMBER_5051 | new BigDecimal("5051") | +| NUMBER_5052 | new BigDecimal("5052") | +| NUMBER_5053 | new BigDecimal("5053") | +| NUMBER_5054 | new BigDecimal("5054") | +| NUMBER_5055 | new BigDecimal("5055") | +| NUMBER_5056 | new BigDecimal("5056") | +| NUMBER_5057 | new BigDecimal("5057") | +| NUMBER_5058 | new BigDecimal("5058") | +| NUMBER_5059 | new BigDecimal("5059") | +| NUMBER_5060 | new BigDecimal("5060") | +| NUMBER_5061 | new BigDecimal("5061") | +| NUMBER_5062 | new BigDecimal("5062") | +| NUMBER_5063 | new BigDecimal("5063") | +| NUMBER_5064 | new BigDecimal("5064") | +| NUMBER_5065 | new BigDecimal("5065") | +| NUMBER_5066 | new BigDecimal("5066") | +| NUMBER_5067 | new BigDecimal("5067") | +| NUMBER_5068 | new BigDecimal("5068") | +| NUMBER_5069 | new BigDecimal("5069") | +| NUMBER_5070 | new BigDecimal("5070") | +| NUMBER_5071 | new BigDecimal("5071") | +| NUMBER_5072 | new BigDecimal("5072") | +| NUMBER_5073 | new BigDecimal("5073") | +| NUMBER_5074 | new BigDecimal("5074") | +| NUMBER_5075 | new BigDecimal("5075") | +| NUMBER_5076 | new BigDecimal("5076") | +| NUMBER_5077 | new BigDecimal("5077") | +| NUMBER_5078 | new BigDecimal("5078") | +| NUMBER_5079 | new BigDecimal("5079") | +| NUMBER_5080 | new BigDecimal("5080") | +| NUMBER_5081 | new BigDecimal("5081") | +| NUMBER_5082 | new BigDecimal("5082") | +| NUMBER_5083 | new BigDecimal("5083") | +| NUMBER_5084 | new BigDecimal("5084") | +| NUMBER_5085 | new BigDecimal("5085") | +| NUMBER_5086 | new BigDecimal("5086") | +| NUMBER_5087 | new BigDecimal("5087") | +| NUMBER_5088 | new BigDecimal("5088") | +| NUMBER_5089 | new BigDecimal("5089") | +| NUMBER_5090 | new BigDecimal("5090") | +| NUMBER_5091 | new BigDecimal("5091") | +| NUMBER_5092 | new BigDecimal("5092") | +| NUMBER_5093 | new BigDecimal("5093") | +| NUMBER_5094 | new BigDecimal("5094") | +| NUMBER_5095 | new BigDecimal("5095") | +| NUMBER_5096 | new BigDecimal("5096") | +| NUMBER_5097 | new BigDecimal("5097") | +| NUMBER_5098 | new BigDecimal("5098") | +| NUMBER_5099 | new BigDecimal("5099") | +| NUMBER_5100 | new BigDecimal("5100") | +| NUMBER_5101 | new BigDecimal("5101") | +| NUMBER_5102 | new BigDecimal("5102") | +| NUMBER_5103 | new BigDecimal("5103") | +| NUMBER_5104 | new BigDecimal("5104") | +| NUMBER_5105 | new BigDecimal("5105") | +| NUMBER_5106 | new BigDecimal("5106") | +| NUMBER_5107 | new BigDecimal("5107") | +| NUMBER_5108 | new BigDecimal("5108") | +| NUMBER_5109 | new BigDecimal("5109") | +| NUMBER_5110 | new BigDecimal("5110") | +| NUMBER_5111 | new BigDecimal("5111") | +| NUMBER_5112 | new BigDecimal("5112") | +| NUMBER_5113 | new BigDecimal("5113") | +| NUMBER_5114 | new BigDecimal("5114") | +| NUMBER_5115 | new BigDecimal("5115") | +| NUMBER_5116 | new BigDecimal("5116") | +| NUMBER_5117 | new BigDecimal("5117") | +| NUMBER_5118 | new BigDecimal("5118") | +| NUMBER_5119 | new BigDecimal("5119") | +| NUMBER_5120 | new BigDecimal("5120") | +| NUMBER_5121 | new BigDecimal("5121") | +| NUMBER_5122 | new BigDecimal("5122") | +| NUMBER_5123 | new BigDecimal("5123") | +| NUMBER_5124 | new BigDecimal("5124") | +| NUMBER_5125 | new BigDecimal("5125") | +| NUMBER_5126 | new BigDecimal("5126") | +| NUMBER_5127 | new BigDecimal("5127") | +| NUMBER_5128 | new BigDecimal("5128") | +| NUMBER_5129 | new BigDecimal("5129") | +| NUMBER_5130 | new BigDecimal("5130") | +| NUMBER_5131 | new BigDecimal("5131") | +| NUMBER_5132 | new BigDecimal("5132") | +| NUMBER_5133 | new BigDecimal("5133") | +| NUMBER_5134 | new BigDecimal("5134") | +| NUMBER_5135 | new BigDecimal("5135") | +| NUMBER_5136 | new BigDecimal("5136") | +| NUMBER_5137 | new BigDecimal("5137") | +| NUMBER_5138 | new BigDecimal("5138") | +| NUMBER_5139 | new BigDecimal("5139") | +| NUMBER_5140 | new BigDecimal("5140") | +| NUMBER_5141 | new BigDecimal("5141") | +| NUMBER_5142 | new BigDecimal("5142") | +| NUMBER_5143 | new BigDecimal("5143") | +| NUMBER_5144 | new BigDecimal("5144") | +| NUMBER_5145 | new BigDecimal("5145") | +| NUMBER_5146 | new BigDecimal("5146") | +| NUMBER_5147 | new BigDecimal("5147") | +| NUMBER_5148 | new BigDecimal("5148") | +| NUMBER_5149 | new BigDecimal("5149") | +| NUMBER_5150 | new BigDecimal("5150") | +| NUMBER_5151 | new BigDecimal("5151") | +| NUMBER_5152 | new BigDecimal("5152") | +| NUMBER_5153 | new BigDecimal("5153") | +| NUMBER_5154 | new BigDecimal("5154") | +| NUMBER_5156 | new BigDecimal("5156") | +| NUMBER_5157 | new BigDecimal("5157") | +| NUMBER_5158 | new BigDecimal("5158") | +| NUMBER_5159 | new BigDecimal("5159") | +| NUMBER_5160 | new BigDecimal("5160") | +| NUMBER_5161 | new BigDecimal("5161") | +| NUMBER_5162 | new BigDecimal("5162") | +| NUMBER_5163 | new BigDecimal("5163") | +| NUMBER_5164 | new BigDecimal("5164") | +| NUMBER_5165 | new BigDecimal("5165") | +| NUMBER_5166 | new BigDecimal("5166") | +| NUMBER_5167 | new BigDecimal("5167") | +| NUMBER_5168 | new BigDecimal("5168") | +| NUMBER_5169 | new BigDecimal("5169") | +| NUMBER_5170 | new BigDecimal("5170") | +| NUMBER_5171 | new BigDecimal("5171") | +| NUMBER_5172 | new BigDecimal("5172") | +| NUMBER_5173 | new BigDecimal("5173") | +| NUMBER_5174 | new BigDecimal("5174") | +| NUMBER_5175 | new BigDecimal("5175") | +| NUMBER_5176 | new BigDecimal("5176") | +| NUMBER_5177 | new BigDecimal("5177") | +| NUMBER_5178 | new BigDecimal("5178") | +| NUMBER_6000 | new BigDecimal("6000") | +| NUMBER_6001 | new BigDecimal("6001") | +| NUMBER_90001 | new BigDecimal("90001") | + + + +## Enum: List<TypeListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | + + + +## Enum: List<UnitTypeListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | + + + +## Enum: List<UnitAmenityListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_111 | new BigDecimal("111") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_117 | new BigDecimal("117") | +| NUMBER_118 | new BigDecimal("118") | +| NUMBER_119 | new BigDecimal("119") | +| NUMBER_120 | new BigDecimal("120") | +| NUMBER_121 | new BigDecimal("121") | +| NUMBER_122 | new BigDecimal("122") | +| NUMBER_123 | new BigDecimal("123") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_126 | new BigDecimal("126") | +| NUMBER_127 | new BigDecimal("127") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_129 | new BigDecimal("129") | +| NUMBER_130 | new BigDecimal("130") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_132 | new BigDecimal("132") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_135 | new BigDecimal("135") | +| NUMBER_136 | new BigDecimal("136") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_138 | new BigDecimal("138") | +| NUMBER_139 | new BigDecimal("139") | +| NUMBER_140 | new BigDecimal("140") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_142 | new BigDecimal("142") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_144 | new BigDecimal("144") | +| NUMBER_145 | new BigDecimal("145") | +| NUMBER_146 | new BigDecimal("146") | +| NUMBER_147 | new BigDecimal("147") | +| NUMBER_148 | new BigDecimal("148") | +| NUMBER_149 | new BigDecimal("149") | +| NUMBER_150 | new BigDecimal("150") | +| NUMBER_151 | new BigDecimal("151") | +| NUMBER_152 | new BigDecimal("152") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_162 | new BigDecimal("162") | +| NUMBER_163 | new BigDecimal("163") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_166 | new BigDecimal("166") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_168 | new BigDecimal("168") | +| NUMBER_169 | new BigDecimal("169") | +| NUMBER_170 | new BigDecimal("170") | +| NUMBER_171 | new BigDecimal("171") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_174 | new BigDecimal("174") | +| NUMBER_175 | new BigDecimal("175") | +| NUMBER_176 | new BigDecimal("176") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_180 | new BigDecimal("180") | +| NUMBER_181 | new BigDecimal("181") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_195 | new BigDecimal("195") | +| NUMBER_196 | new BigDecimal("196") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_200 | new BigDecimal("200") | +| NUMBER_201 | new BigDecimal("201") | +| NUMBER_202 | new BigDecimal("202") | +| NUMBER_203 | new BigDecimal("203") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_206 | new BigDecimal("206") | +| NUMBER_207 | new BigDecimal("207") | +| NUMBER_208 | new BigDecimal("208") | +| NUMBER_209 | new BigDecimal("209") | +| NUMBER_210 | new BigDecimal("210") | +| NUMBER_211 | new BigDecimal("211") | +| NUMBER_212 | new BigDecimal("212") | +| NUMBER_213 | new BigDecimal("213") | +| NUMBER_214 | new BigDecimal("214") | +| NUMBER_215 | new BigDecimal("215") | +| NUMBER_216 | new BigDecimal("216") | +| NUMBER_217 | new BigDecimal("217") | +| NUMBER_218 | new BigDecimal("218") | +| NUMBER_219 | new BigDecimal("219") | +| NUMBER_220 | new BigDecimal("220") | +| NUMBER_221 | new BigDecimal("221") | +| NUMBER_222 | new BigDecimal("222") | +| NUMBER_223 | new BigDecimal("223") | +| NUMBER_224 | new BigDecimal("224") | +| NUMBER_225 | new BigDecimal("225") | +| NUMBER_226 | new BigDecimal("226") | +| NUMBER_227 | new BigDecimal("227") | +| NUMBER_228 | new BigDecimal("228") | +| NUMBER_229 | new BigDecimal("229") | +| NUMBER_230 | new BigDecimal("230") | +| NUMBER_231 | new BigDecimal("231") | +| NUMBER_232 | new BigDecimal("232") | +| NUMBER_233 | new BigDecimal("233") | +| NUMBER_234 | new BigDecimal("234") | +| NUMBER_235 | new BigDecimal("235") | +| NUMBER_236 | new BigDecimal("236") | +| NUMBER_237 | new BigDecimal("237") | +| NUMBER_238 | new BigDecimal("238") | +| NUMBER_239 | new BigDecimal("239") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_243 | new BigDecimal("243") | +| NUMBER_244 | new BigDecimal("244") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_274 | new BigDecimal("274") | +| NUMBER_275 | new BigDecimal("275") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5019 | new BigDecimal("5019") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5034 | new BigDecimal("5034") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_5037 | new BigDecimal("5037") | +| NUMBER_5038 | new BigDecimal("5038") | +| NUMBER_5039 | new BigDecimal("5039") | +| NUMBER_5040 | new BigDecimal("5040") | +| NUMBER_5041 | new BigDecimal("5041") | +| NUMBER_5042 | new BigDecimal("5042") | +| NUMBER_5043 | new BigDecimal("5043") | +| NUMBER_5044 | new BigDecimal("5044") | +| NUMBER_5045 | new BigDecimal("5045") | +| NUMBER_5046 | new BigDecimal("5046") | +| NUMBER_5068 | new BigDecimal("5068") | +| NUMBER_5069 | new BigDecimal("5069") | +| NUMBER_5070 | new BigDecimal("5070") | +| NUMBER_5071 | new BigDecimal("5071") | +| NUMBER_5072 | new BigDecimal("5072") | +| NUMBER_5073 | new BigDecimal("5073") | +| NUMBER_5074 | new BigDecimal("5074") | +| NUMBER_5075 | new BigDecimal("5075") | +| NUMBER_5076 | new BigDecimal("5076") | +| NUMBER_5077 | new BigDecimal("5077") | +| NUMBER_5079 | new BigDecimal("5079") | +| NUMBER_5080 | new BigDecimal("5080") | +| NUMBER_5081 | new BigDecimal("5081") | +| NUMBER_5082 | new BigDecimal("5082") | +| NUMBER_5083 | new BigDecimal("5083") | +| NUMBER_5084 | new BigDecimal("5084") | +| NUMBER_5085 | new BigDecimal("5085") | +| NUMBER_5086 | new BigDecimal("5086") | +| NUMBER_5087 | new BigDecimal("5087") | +| NUMBER_5088 | new BigDecimal("5088") | +| NUMBER_5089 | new BigDecimal("5089") | +| NUMBER_5090 | new BigDecimal("5090") | +| NUMBER_5091 | new BigDecimal("5091") | +| NUMBER_5092 | new BigDecimal("5092") | +| NUMBER_5093 | new BigDecimal("5093") | +| NUMBER_5094 | new BigDecimal("5094") | +| NUMBER_5095 | new BigDecimal("5095") | +| NUMBER_5096 | new BigDecimal("5096") | +| NUMBER_5097 | new BigDecimal("5097") | +| NUMBER_5098 | new BigDecimal("5098") | +| NUMBER_5099 | new BigDecimal("5099") | +| NUMBER_5100 | new BigDecimal("5100") | +| NUMBER_5101 | new BigDecimal("5101") | +| NUMBER_5102 | new BigDecimal("5102") | +| NUMBER_5103 | new BigDecimal("5103") | +| NUMBER_5104 | new BigDecimal("5104") | +| NUMBER_5105 | new BigDecimal("5105") | +| NUMBER_5106 | new BigDecimal("5106") | +| NUMBER_5107 | new BigDecimal("5107") | +| NUMBER_5108 | new BigDecimal("5108") | +| NUMBER_5109 | new BigDecimal("5109") | +| NUMBER_5110 | new BigDecimal("5110") | +| NUMBER_5111 | new BigDecimal("5111") | +| NUMBER_5112 | new BigDecimal("5112") | +| NUMBER_5113 | new BigDecimal("5113") | +| NUMBER_5114 | new BigDecimal("5114") | +| NUMBER_5115 | new BigDecimal("5115") | +| NUMBER_5116 | new BigDecimal("5116") | +| NUMBER_5117 | new BigDecimal("5117") | +| NUMBER_5118 | new BigDecimal("5118") | +| NUMBER_5119 | new BigDecimal("5119") | +| NUMBER_5120 | new BigDecimal("5120") | +| NUMBER_5121 | new BigDecimal("5121") | +| NUMBER_5122 | new BigDecimal("5122") | +| NUMBER_5123 | new BigDecimal("5123") | +| NUMBER_5124 | new BigDecimal("5124") | +| NUMBER_5125 | new BigDecimal("5125") | +| NUMBER_5126 | new BigDecimal("5126") | +| NUMBER_5127 | new BigDecimal("5127") | +| NUMBER_5129 | new BigDecimal("5129") | +| NUMBER_5130 | new BigDecimal("5130") | +| NUMBER_5131 | new BigDecimal("5131") | +| NUMBER_5132 | new BigDecimal("5132") | +| NUMBER_5133 | new BigDecimal("5133") | +| NUMBER_5134 | new BigDecimal("5134") | +| NUMBER_5135 | new BigDecimal("5135") | +| NUMBER_5136 | new BigDecimal("5136") | +| NUMBER_5137 | new BigDecimal("5137") | +| NUMBER_5138 | new BigDecimal("5138") | +| NUMBER_5139 | new BigDecimal("5139") | +| NUMBER_5140 | new BigDecimal("5140") | +| NUMBER_5141 | new BigDecimal("5141") | +| NUMBER_5142 | new BigDecimal("5142") | +| NUMBER_5143 | new BigDecimal("5143") | +| NUMBER_5144 | new BigDecimal("5144") | +| NUMBER_5145 | new BigDecimal("5145") | +| NUMBER_5146 | new BigDecimal("5146") | +| NUMBER_5147 | new BigDecimal("5147") | +| NUMBER_5148 | new BigDecimal("5148") | +| NUMBER_5149 | new BigDecimal("5149") | +| NUMBER_5150 | new BigDecimal("5150") | +| NUMBER_5151 | new BigDecimal("5151") | +| NUMBER_5152 | new BigDecimal("5152") | +| NUMBER_5153 | new BigDecimal("5153") | +| NUMBER_5154 | new BigDecimal("5154") | +| NUMBER_5157 | new BigDecimal("5157") | +| NUMBER_5158 | new BigDecimal("5158") | +| NUMBER_5159 | new BigDecimal("5159") | +| NUMBER_5160 | new BigDecimal("5160") | +| NUMBER_5161 | new BigDecimal("5161") | +| NUMBER_5162 | new BigDecimal("5162") | +| NUMBER_5163 | new BigDecimal("5163") | +| NUMBER_5164 | new BigDecimal("5164") | +| NUMBER_5165 | new BigDecimal("5165") | +| NUMBER_5166 | new BigDecimal("5166") | +| NUMBER_5167 | new BigDecimal("5167") | +| NUMBER_5168 | new BigDecimal("5168") | +| NUMBER_5169 | new BigDecimal("5169") | +| NUMBER_5170 | new BigDecimal("5170") | +| NUMBER_5171 | new BigDecimal("5171") | +| NUMBER_5172 | new BigDecimal("5172") | +| NUMBER_5173 | new BigDecimal("5173") | +| NUMBER_5174 | new BigDecimal("5174") | +| NUMBER_5175 | new BigDecimal("5175") | +| NUMBER_5176 | new BigDecimal("5176") | +| NUMBER_5177 | new BigDecimal("5177") | +| NUMBER_5178 | new BigDecimal("5178") | +| NUMBER_5179 | new BigDecimal("5179") | +| NUMBER_5180 | new BigDecimal("5180") | +| NUMBER_5181 | new BigDecimal("5181") | +| NUMBER_5182 | new BigDecimal("5182") | +| NUMBER_5184 | new BigDecimal("5184") | +| NUMBER_5185 | new BigDecimal("5185") | +| NUMBER_5186 | new BigDecimal("5186") | +| NUMBER_5187 | new BigDecimal("5187") | +| NUMBER_5188 | new BigDecimal("5188") | +| NUMBER_5189 | new BigDecimal("5189") | +| NUMBER_5190 | new BigDecimal("5190") | +| NUMBER_5191 | new BigDecimal("5191") | +| NUMBER_5196 | new BigDecimal("5196") | +| NUMBER_5198 | new BigDecimal("5198") | +| NUMBER_5199 | new BigDecimal("5199") | +| NUMBER_5200 | new BigDecimal("5200") | +| NUMBER_5201 | new BigDecimal("5201") | +| NUMBER_5202 | new BigDecimal("5202") | +| NUMBER_5203 | new BigDecimal("5203") | +| NUMBER_5204 | new BigDecimal("5204") | +| NUMBER_5205 | new BigDecimal("5205") | +| NUMBER_5206 | new BigDecimal("5206") | +| NUMBER_5207 | new BigDecimal("5207") | +| NUMBER_5211 | new BigDecimal("5211") | +| NUMBER_5212 | new BigDecimal("5212") | +| NUMBER_90001 | new BigDecimal("90001") | +| NUMBER_90002 | new BigDecimal("90002") | +| NUMBER_90003 | new BigDecimal("90003") | +| NUMBER_90004 | new BigDecimal("90004") | +| NUMBER_90005 | new BigDecimal("90005") | +| NUMBER_90006 | new BigDecimal("90006") | +| NUMBER_90007 | new BigDecimal("90007") | +| NUMBER_90008 | new BigDecimal("90008") | +| NUMBER_90009 | new BigDecimal("90009") | +| NUMBER_90010 | new BigDecimal("90010") | +| NUMBER_90011 | new BigDecimal("90011") | + + + +## Enum: List<MealPlanListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_0 | new BigDecimal("0") | +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_90001 | new BigDecimal("90001") | + + + diff --git a/docs/AvailablePropertiesInner.md b/docs/AvailablePropertiesInner.md new file mode 100644 index 0000000..c35b9ce --- /dev/null +++ b/docs/AvailablePropertiesInner.md @@ -0,0 +1,102 @@ + + +# AvailablePropertiesInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | The name of the location. | | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency code of the currency of the lowest price. | | +|**lowestPrice** | **BigDecimal** | The lowest price available for this location. | | +|**type** | [**TypeEnum**](#TypeEnum) | The type of the found location.<p>See also <a href=\"#locationtypes\">in the appendix</a>.</p> | | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| FORMATTED_ADDRESS | "formatted_address" | +| PLACE_ID | "place_id" | +| LOCALITY | "locality" | +| ADMINISTRATIVE_AREA_LEVEL_1 | "administrative_area_level_1" | +| ADMINISTRATIVE_AREA_LEVEL_2 | "administrative_area_level_2" | +| ADMINISTRATIVE_AREA_LEVEL_3 | "administrative_area_level_3" | +| ADMINISTRATIVE_AREA_LEVEL_4 | "administrative_area_level_4" | +| ADMINISTRATIVE_AREA_LEVEL_5 | "administrative_area_level_5" | +| STATE_CODE | "state_code" | +| COUNTRY | "country" | +| COUNTRY_CODE | "country_code" | +| POSTAL_CODE | "postal_code" | +| LANGUAGE | "language" | +| NATURAL_FEATURE | "natural_feature" | +| ESTABLISHMENT | "establishment" | +| SUBLOCALITY | "sublocality" | +| SUBLOCALITY_LEVEL_1 | "sublocality_level_1" | +| SUBLOCALITY_LEVEL_2 | "sublocality_level_2" | +| SUBLOCALITY_LEVEL_3 | "sublocality_level_3" | +| SUBLOCALITY_LEVEL_4 | "sublocality_level_4" | +| SUBLOCALITY_LEVEL_5 | "sublocality_level_5" | +| STREETNUMBER | "streetNumber" | + + + diff --git a/docs/AvailablePropertiesInner1.md b/docs/AvailablePropertiesInner1.md new file mode 100644 index 0000000..494b55f --- /dev/null +++ b/docs/AvailablePropertiesInner1.md @@ -0,0 +1,750 @@ + + +# AvailablePropertiesInner1 + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | **String** | The properties unique code/ID. | | +|**languageCode** | [**LanguageCodeEnum**](#LanguageCodeEnum) | The language code of the language in which the property description is written.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency code for the currency in which prices are returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> | | +|**unitSystem** | [**UnitSystemEnum**](#UnitSystemEnum) | The unit system (either \"metric\" or \"imperial\") used for measurements. | | +|**name** | **String** | The name of the property. | | +|**uri** | **String** | A URI for the property. | | +|**serviceList** | [**List<ServiceListEnum>**](#List<ServiceListEnum>) | A list of service codes indicating the services and amenities the property has.<p>See also <a href=\"#servicecodes\">in the appendix</a>.</p> | | +|**categoryList** | [**List<CategoryListEnum>**](#List<CategoryListEnum>) | A list of property class type codes indicating the types of the property.<p>See also <a href=\"#propertyclass-type-codes\">in the appendix</a>.</p> | | +|**uriPath** | **String** | A URI path for the property. | | +|**text** | **String** | A description of the property. | | +|**geo** | [**AvailablePropertiesInner1Geo**](AvailablePropertiesInner1Geo.md) | | [optional] | +|**mediaList** | [**List<AvailablePropertiesInner1MediaListInner>**](AvailablePropertiesInner1MediaListInner.md) | A list of media objects for the property. | | +|**attractionList** | [**List<AvailablePropertiesInner1AttractionListInner>**](AvailablePropertiesInner1AttractionListInner.md) | A list of objects describing the attractions available at the property. | | +|**lowestPrice** | [**AvailablePropertiesInner1LowestPrice**](AvailablePropertiesInner1LowestPrice.md) | | | + + + +## Enum: LanguageCodeEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + +## Enum: UnitSystemEnum + +| Name | Value | +|---- | -----| +| METRIC | "metric" | +| IMPERIAL | "imperial" | + + + +## Enum: List<ServiceListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_111 | new BigDecimal("111") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_117 | new BigDecimal("117") | +| NUMBER_118 | new BigDecimal("118") | +| NUMBER_119 | new BigDecimal("119") | +| NUMBER_120 | new BigDecimal("120") | +| NUMBER_121 | new BigDecimal("121") | +| NUMBER_122 | new BigDecimal("122") | +| NUMBER_123 | new BigDecimal("123") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_126 | new BigDecimal("126") | +| NUMBER_127 | new BigDecimal("127") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_129 | new BigDecimal("129") | +| NUMBER_130 | new BigDecimal("130") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_132 | new BigDecimal("132") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_135 | new BigDecimal("135") | +| NUMBER_136 | new BigDecimal("136") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_138 | new BigDecimal("138") | +| NUMBER_139 | new BigDecimal("139") | +| NUMBER_140 | new BigDecimal("140") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_142 | new BigDecimal("142") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_144 | new BigDecimal("144") | +| NUMBER_145 | new BigDecimal("145") | +| NUMBER_146 | new BigDecimal("146") | +| NUMBER_147 | new BigDecimal("147") | +| NUMBER_148 | new BigDecimal("148") | +| NUMBER_149 | new BigDecimal("149") | +| NUMBER_150 | new BigDecimal("150") | +| NUMBER_151 | new BigDecimal("151") | +| NUMBER_152 | new BigDecimal("152") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_162 | new BigDecimal("162") | +| NUMBER_163 | new BigDecimal("163") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_166 | new BigDecimal("166") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_168 | new BigDecimal("168") | +| NUMBER_169 | new BigDecimal("169") | +| NUMBER_170 | new BigDecimal("170") | +| NUMBER_171 | new BigDecimal("171") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_174 | new BigDecimal("174") | +| NUMBER_175 | new BigDecimal("175") | +| NUMBER_176 | new BigDecimal("176") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_180 | new BigDecimal("180") | +| NUMBER_181 | new BigDecimal("181") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_195 | new BigDecimal("195") | +| NUMBER_196 | new BigDecimal("196") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_200 | new BigDecimal("200") | +| NUMBER_201 | new BigDecimal("201") | +| NUMBER_202 | new BigDecimal("202") | +| NUMBER_203 | new BigDecimal("203") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_206 | new BigDecimal("206") | +| NUMBER_207 | new BigDecimal("207") | +| NUMBER_208 | new BigDecimal("208") | +| NUMBER_209 | new BigDecimal("209") | +| NUMBER_210 | new BigDecimal("210") | +| NUMBER_211 | new BigDecimal("211") | +| NUMBER_212 | new BigDecimal("212") | +| NUMBER_213 | new BigDecimal("213") | +| NUMBER_214 | new BigDecimal("214") | +| NUMBER_215 | new BigDecimal("215") | +| NUMBER_216 | new BigDecimal("216") | +| NUMBER_217 | new BigDecimal("217") | +| NUMBER_218 | new BigDecimal("218") | +| NUMBER_219 | new BigDecimal("219") | +| NUMBER_220 | new BigDecimal("220") | +| NUMBER_221 | new BigDecimal("221") | +| NUMBER_222 | new BigDecimal("222") | +| NUMBER_223 | new BigDecimal("223") | +| NUMBER_224 | new BigDecimal("224") | +| NUMBER_225 | new BigDecimal("225") | +| NUMBER_226 | new BigDecimal("226") | +| NUMBER_227 | new BigDecimal("227") | +| NUMBER_228 | new BigDecimal("228") | +| NUMBER_229 | new BigDecimal("229") | +| NUMBER_230 | new BigDecimal("230") | +| NUMBER_231 | new BigDecimal("231") | +| NUMBER_232 | new BigDecimal("232") | +| NUMBER_233 | new BigDecimal("233") | +| NUMBER_234 | new BigDecimal("234") | +| NUMBER_235 | new BigDecimal("235") | +| NUMBER_236 | new BigDecimal("236") | +| NUMBER_237 | new BigDecimal("237") | +| NUMBER_238 | new BigDecimal("238") | +| NUMBER_239 | new BigDecimal("239") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_243 | new BigDecimal("243") | +| NUMBER_244 | new BigDecimal("244") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_274 | new BigDecimal("274") | +| NUMBER_275 | new BigDecimal("275") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_284 | new BigDecimal("284") | +| NUMBER_285 | new BigDecimal("285") | +| NUMBER_286 | new BigDecimal("286") | +| NUMBER_287 | new BigDecimal("287") | +| NUMBER_288 | new BigDecimal("288") | +| NUMBER_289 | new BigDecimal("289") | +| NUMBER_290 | new BigDecimal("290") | +| NUMBER_291 | new BigDecimal("291") | +| NUMBER_292 | new BigDecimal("292") | +| NUMBER_293 | new BigDecimal("293") | +| NUMBER_294 | new BigDecimal("294") | +| NUMBER_295 | new BigDecimal("295") | +| NUMBER_296 | new BigDecimal("296") | +| NUMBER_297 | new BigDecimal("297") | +| NUMBER_298 | new BigDecimal("298") | +| NUMBER_299 | new BigDecimal("299") | +| NUMBER_300 | new BigDecimal("300") | +| NUMBER_301 | new BigDecimal("301") | +| NUMBER_302 | new BigDecimal("302") | +| NUMBER_303 | new BigDecimal("303") | +| NUMBER_304 | new BigDecimal("304") | +| NUMBER_305 | new BigDecimal("305") | +| NUMBER_306 | new BigDecimal("306") | +| NUMBER_307 | new BigDecimal("307") | +| NUMBER_308 | new BigDecimal("308") | +| NUMBER_309 | new BigDecimal("309") | +| NUMBER_310 | new BigDecimal("310") | +| NUMBER_311 | new BigDecimal("311") | +| NUMBER_312 | new BigDecimal("312") | +| NUMBER_313 | new BigDecimal("313") | +| NUMBER_314 | new BigDecimal("314") | +| NUMBER_315 | new BigDecimal("315") | +| NUMBER_316 | new BigDecimal("316") | +| NUMBER_317 | new BigDecimal("317") | +| NUMBER_318 | new BigDecimal("318") | +| NUMBER_319 | new BigDecimal("319") | +| NUMBER_320 | new BigDecimal("320") | +| NUMBER_321 | new BigDecimal("321") | +| NUMBER_322 | new BigDecimal("322") | +| NUMBER_323 | new BigDecimal("323") | +| NUMBER_324 | new BigDecimal("324") | +| NUMBER_325 | new BigDecimal("325") | +| NUMBER_326 | new BigDecimal("326") | +| NUMBER_327 | new BigDecimal("327") | +| NUMBER_328 | new BigDecimal("328") | +| NUMBER_329 | new BigDecimal("329") | +| NUMBER_331 | new BigDecimal("331") | +| NUMBER_332 | new BigDecimal("332") | +| NUMBER_333 | new BigDecimal("333") | +| NUMBER_334 | new BigDecimal("334") | +| NUMBER_335 | new BigDecimal("335") | +| NUMBER_336 | new BigDecimal("336") | +| NUMBER_337 | new BigDecimal("337") | +| NUMBER_338 | new BigDecimal("338") | +| NUMBER_339 | new BigDecimal("339") | +| NUMBER_340 | new BigDecimal("340") | +| NUMBER_341 | new BigDecimal("341") | +| NUMBER_342 | new BigDecimal("342") | +| NUMBER_343 | new BigDecimal("343") | +| NUMBER_344 | new BigDecimal("344") | +| NUMBER_345 | new BigDecimal("345") | +| NUMBER_348 | new BigDecimal("348") | +| NUMBER_349 | new BigDecimal("349") | +| NUMBER_350 | new BigDecimal("350") | +| NUMBER_351 | new BigDecimal("351") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5034 | new BigDecimal("5034") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_5037 | new BigDecimal("5037") | +| NUMBER_5039 | new BigDecimal("5039") | +| NUMBER_5040 | new BigDecimal("5040") | +| NUMBER_5041 | new BigDecimal("5041") | +| NUMBER_5042 | new BigDecimal("5042") | +| NUMBER_5043 | new BigDecimal("5043") | +| NUMBER_5044 | new BigDecimal("5044") | +| NUMBER_5045 | new BigDecimal("5045") | +| NUMBER_5046 | new BigDecimal("5046") | +| NUMBER_5047 | new BigDecimal("5047") | +| NUMBER_5048 | new BigDecimal("5048") | +| NUMBER_5049 | new BigDecimal("5049") | +| NUMBER_5050 | new BigDecimal("5050") | +| NUMBER_5051 | new BigDecimal("5051") | +| NUMBER_5052 | new BigDecimal("5052") | +| NUMBER_5053 | new BigDecimal("5053") | +| NUMBER_5054 | new BigDecimal("5054") | +| NUMBER_5055 | new BigDecimal("5055") | +| NUMBER_5056 | new BigDecimal("5056") | +| NUMBER_5057 | new BigDecimal("5057") | +| NUMBER_5058 | new BigDecimal("5058") | +| NUMBER_5059 | new BigDecimal("5059") | +| NUMBER_5060 | new BigDecimal("5060") | +| NUMBER_5061 | new BigDecimal("5061") | +| NUMBER_5062 | new BigDecimal("5062") | +| NUMBER_5063 | new BigDecimal("5063") | +| NUMBER_5064 | new BigDecimal("5064") | +| NUMBER_5065 | new BigDecimal("5065") | +| NUMBER_5066 | new BigDecimal("5066") | +| NUMBER_5067 | new BigDecimal("5067") | +| NUMBER_5068 | new BigDecimal("5068") | +| NUMBER_5069 | new BigDecimal("5069") | +| NUMBER_5070 | new BigDecimal("5070") | +| NUMBER_5071 | new BigDecimal("5071") | +| NUMBER_5072 | new BigDecimal("5072") | +| NUMBER_5073 | new BigDecimal("5073") | +| NUMBER_5074 | new BigDecimal("5074") | +| NUMBER_5075 | new BigDecimal("5075") | +| NUMBER_5076 | new BigDecimal("5076") | +| NUMBER_5077 | new BigDecimal("5077") | +| NUMBER_5078 | new BigDecimal("5078") | +| NUMBER_5079 | new BigDecimal("5079") | +| NUMBER_5080 | new BigDecimal("5080") | +| NUMBER_5081 | new BigDecimal("5081") | +| NUMBER_5082 | new BigDecimal("5082") | +| NUMBER_5083 | new BigDecimal("5083") | +| NUMBER_5084 | new BigDecimal("5084") | +| NUMBER_5085 | new BigDecimal("5085") | +| NUMBER_5086 | new BigDecimal("5086") | +| NUMBER_5087 | new BigDecimal("5087") | +| NUMBER_5088 | new BigDecimal("5088") | +| NUMBER_5089 | new BigDecimal("5089") | +| NUMBER_5090 | new BigDecimal("5090") | +| NUMBER_5091 | new BigDecimal("5091") | +| NUMBER_5092 | new BigDecimal("5092") | +| NUMBER_5093 | new BigDecimal("5093") | +| NUMBER_5094 | new BigDecimal("5094") | +| NUMBER_5095 | new BigDecimal("5095") | +| NUMBER_5096 | new BigDecimal("5096") | +| NUMBER_5097 | new BigDecimal("5097") | +| NUMBER_5098 | new BigDecimal("5098") | +| NUMBER_5099 | new BigDecimal("5099") | +| NUMBER_5100 | new BigDecimal("5100") | +| NUMBER_5101 | new BigDecimal("5101") | +| NUMBER_5102 | new BigDecimal("5102") | +| NUMBER_5103 | new BigDecimal("5103") | +| NUMBER_5104 | new BigDecimal("5104") | +| NUMBER_5105 | new BigDecimal("5105") | +| NUMBER_5106 | new BigDecimal("5106") | +| NUMBER_5107 | new BigDecimal("5107") | +| NUMBER_5108 | new BigDecimal("5108") | +| NUMBER_5109 | new BigDecimal("5109") | +| NUMBER_5110 | new BigDecimal("5110") | +| NUMBER_5111 | new BigDecimal("5111") | +| NUMBER_5112 | new BigDecimal("5112") | +| NUMBER_5113 | new BigDecimal("5113") | +| NUMBER_5114 | new BigDecimal("5114") | +| NUMBER_5115 | new BigDecimal("5115") | +| NUMBER_5116 | new BigDecimal("5116") | +| NUMBER_5117 | new BigDecimal("5117") | +| NUMBER_5118 | new BigDecimal("5118") | +| NUMBER_5119 | new BigDecimal("5119") | +| NUMBER_5120 | new BigDecimal("5120") | +| NUMBER_5121 | new BigDecimal("5121") | +| NUMBER_5122 | new BigDecimal("5122") | +| NUMBER_5123 | new BigDecimal("5123") | +| NUMBER_5124 | new BigDecimal("5124") | +| NUMBER_5125 | new BigDecimal("5125") | +| NUMBER_5126 | new BigDecimal("5126") | +| NUMBER_5127 | new BigDecimal("5127") | +| NUMBER_5128 | new BigDecimal("5128") | +| NUMBER_5129 | new BigDecimal("5129") | +| NUMBER_5130 | new BigDecimal("5130") | +| NUMBER_5131 | new BigDecimal("5131") | +| NUMBER_5132 | new BigDecimal("5132") | +| NUMBER_5133 | new BigDecimal("5133") | +| NUMBER_5134 | new BigDecimal("5134") | +| NUMBER_5135 | new BigDecimal("5135") | +| NUMBER_5136 | new BigDecimal("5136") | +| NUMBER_5137 | new BigDecimal("5137") | +| NUMBER_5138 | new BigDecimal("5138") | +| NUMBER_5139 | new BigDecimal("5139") | +| NUMBER_5140 | new BigDecimal("5140") | +| NUMBER_5141 | new BigDecimal("5141") | +| NUMBER_5142 | new BigDecimal("5142") | +| NUMBER_5143 | new BigDecimal("5143") | +| NUMBER_5144 | new BigDecimal("5144") | +| NUMBER_5145 | new BigDecimal("5145") | +| NUMBER_5146 | new BigDecimal("5146") | +| NUMBER_5147 | new BigDecimal("5147") | +| NUMBER_5148 | new BigDecimal("5148") | +| NUMBER_5149 | new BigDecimal("5149") | +| NUMBER_5150 | new BigDecimal("5150") | +| NUMBER_5151 | new BigDecimal("5151") | +| NUMBER_5152 | new BigDecimal("5152") | +| NUMBER_5153 | new BigDecimal("5153") | +| NUMBER_5154 | new BigDecimal("5154") | +| NUMBER_5156 | new BigDecimal("5156") | +| NUMBER_5157 | new BigDecimal("5157") | +| NUMBER_5158 | new BigDecimal("5158") | +| NUMBER_5159 | new BigDecimal("5159") | +| NUMBER_5160 | new BigDecimal("5160") | +| NUMBER_5161 | new BigDecimal("5161") | +| NUMBER_5162 | new BigDecimal("5162") | +| NUMBER_5163 | new BigDecimal("5163") | +| NUMBER_5164 | new BigDecimal("5164") | +| NUMBER_5165 | new BigDecimal("5165") | +| NUMBER_5166 | new BigDecimal("5166") | +| NUMBER_5167 | new BigDecimal("5167") | +| NUMBER_5168 | new BigDecimal("5168") | +| NUMBER_5169 | new BigDecimal("5169") | +| NUMBER_5170 | new BigDecimal("5170") | +| NUMBER_5171 | new BigDecimal("5171") | +| NUMBER_5172 | new BigDecimal("5172") | +| NUMBER_5173 | new BigDecimal("5173") | +| NUMBER_5174 | new BigDecimal("5174") | +| NUMBER_5175 | new BigDecimal("5175") | +| NUMBER_5176 | new BigDecimal("5176") | +| NUMBER_5177 | new BigDecimal("5177") | +| NUMBER_5178 | new BigDecimal("5178") | +| NUMBER_6000 | new BigDecimal("6000") | +| NUMBER_6001 | new BigDecimal("6001") | +| NUMBER_90001 | new BigDecimal("90001") | + + + +## Enum: List<CategoryListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | + + + diff --git a/docs/AvailablePropertiesInner1AttractionListInner.md b/docs/AvailablePropertiesInner1AttractionListInner.md new file mode 100644 index 0000000..05d49d8 --- /dev/null +++ b/docs/AvailablePropertiesInner1AttractionListInner.md @@ -0,0 +1,142 @@ + + +# AvailablePropertiesInner1AttractionListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**typeCode** | [**TypeCodeEnum**](#TypeCodeEnum) | The code for this attraction type.<p>See also <a href=\"#attractioncategory-codes\">in the appendix</a>.</p> | | +|**name** | **String** | The name of the attraction. Names are proper nouns and therefore not affected by the given language code. | | +|**distance** | [**AvailablePropertiesInner1AttractionListInnerDistance**](AvailablePropertiesInner1AttractionListInnerDistance.md) | | | + + + +## Enum: TypeCodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_90001 | new BigDecimal("90001") | +| NUMBER_90002 | new BigDecimal("90002") | +| NUMBER_90003 | new BigDecimal("90003") | +| NUMBER_90004 | new BigDecimal("90004") | +| NUMBER_90005 | new BigDecimal("90005") | +| NUMBER_90006 | new BigDecimal("90006") | +| NUMBER_90007 | new BigDecimal("90007") | +| NUMBER_90008 | new BigDecimal("90008") | +| NUMBER_90009 | new BigDecimal("90009") | +| NUMBER_90010 | new BigDecimal("90010") | + + + diff --git a/docs/AvailablePropertiesInner1AttractionListInnerDistance.md b/docs/AvailablePropertiesInner1AttractionListInnerDistance.md new file mode 100644 index 0000000..780fa4e --- /dev/null +++ b/docs/AvailablePropertiesInner1AttractionListInnerDistance.md @@ -0,0 +1,24 @@ + + +# AvailablePropertiesInner1AttractionListInnerDistance + +The distance from the property to this attraction. Whether this is road or air distance is not clearly defined as the values are entered by the tenants admins. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**value** | **BigDecimal** | The numeric value of the distance. | | +|**unit** | [**UnitEnum**](#UnitEnum) | The unit of the value of the distance. | | + + + +## Enum: UnitEnum + +| Name | Value | +|---- | -----| +| M | "m" | +| FT | "ft" | + + + diff --git a/docs/AvailablePropertiesInner1Geo.md b/docs/AvailablePropertiesInner1Geo.md new file mode 100644 index 0000000..45f713f --- /dev/null +++ b/docs/AvailablePropertiesInner1Geo.md @@ -0,0 +1,80 @@ + + +# AvailablePropertiesInner1Geo + +A geographical information set describing the location of this property.

See also in the appendix. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**language** | [**LanguageEnum**](#LanguageEnum) | The language of the localizable fields ot this geographical information set.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | +|**formattedAddress** | **String** | The formatted address in the local format of the properties location. | | +|**route** | **String** | The name of the route or street. | [optional] | +|**streetNumber** | **String** | The number of the street. | [optional] | +|**postalCode** | **String** | The postal code of the location. | [optional] | +|**locality** | **String** | A city or town. | [optional] | +|**sublocality** | **String** | A smaller area within a locality. | [optional] | +|**sublocalityLevel1** | **String** | A smaller area within a locality at level 1. | [optional] | +|**sublocalityLevel2** | **String** | A smaller area within a locality at level 2. | [optional] | +|**sublocalityLevel3** | **String** | A smaller area within a locality at level 3. | [optional] | +|**sublocalityLevel4** | **String** | A smaller area within a locality at level 4. | [optional] | +|**sublocalityLevel5** | **String** | A smaller area within a locality at level 5. | [optional] | +|**administrativeAreaLevel1** | **String** | A level 1 administrative area, such as a state or province. | [optional] | +|**administrativeAreaLevel2** | **String** | A level 2 administrative area. | [optional] | +|**administrativeAreaLevel3** | **String** | A level 3 administrative area | [optional] | +|**administrativeAreaLevel4** | **String** | A level 4 administrative area. | [optional] | +|**administrativeAreaLevel5** | **String** | A level 5 administrative area | [optional] | +|**stateCode** | **String** | The state or province code for the administrative area. | [optional] | +|**country** | **String** | The country of this geographical information set. | [optional] | +|**countryCode** | **String** | The country code for the country. | [optional] | +|**location** | [**AvailablePropertiesInner1GeoLocation**](AvailablePropertiesInner1GeoLocation.md) | | | +|**placeId** | **String** | Uniquely identifies a place in our database. | | + + + +## Enum: LanguageEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + diff --git a/docs/AvailablePropertiesInner1GeoLocation.md b/docs/AvailablePropertiesInner1GeoLocation.md new file mode 100644 index 0000000..c4d4676 --- /dev/null +++ b/docs/AvailablePropertiesInner1GeoLocation.md @@ -0,0 +1,14 @@ + + +# AvailablePropertiesInner1GeoLocation + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**lng** | **BigDecimal** | The longitude coordinate of the location. | | +|**lat** | **BigDecimal** | The location of the property as coordinates | | + + + diff --git a/docs/AvailablePropertiesInner1LowestPrice.md b/docs/AvailablePropertiesInner1LowestPrice.md new file mode 100644 index 0000000..bb80767 --- /dev/null +++ b/docs/AvailablePropertiesInner1LowestPrice.md @@ -0,0 +1,75 @@ + + +# AvailablePropertiesInner1LowestPrice + +An object outlining the stay with the lowest available price point for this property. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**amount** | **BigDecimal** | The amount of the lowest price. | | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency code for the given amount.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> | | +|**arrivalDate** | **BigDecimal** | Arrival date for the given price as unix timestamp (seconds). | | +|**returnDate** | **BigDecimal** | Departure date for the given price as unix timestamp (seconds). | | +|**lengthOfStay** | **BigDecimal** | The amount of nights of stay this price is for | | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + diff --git a/docs/AvailablePropertiesInner1MediaListInner.md b/docs/AvailablePropertiesInner1MediaListInner.md new file mode 100644 index 0000000..e9aabfc --- /dev/null +++ b/docs/AvailablePropertiesInner1MediaListInner.md @@ -0,0 +1,156 @@ + + +# AvailablePropertiesInner1MediaListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**tagList** | [**List<TagListEnum>**](#List<TagListEnum>) | A list of tag codes for the media.<p>See also <a href=\"#imagetype-codes\">in the appendix</a>.</p> | | +|**isMainImage** | **Boolean** | Whether the media is the main image for the property. | | +|**url** | **String** | The URL for the media. | | +|**sortOrder** | **BigDecimal** | The sort order for the media. | | + + + +## Enum: List<TagListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_284 | new BigDecimal("284") | +| NUMBER_285 | new BigDecimal("285") | +| NUMBER_286 | new BigDecimal("286") | +| NUMBER_287 | new BigDecimal("287") | +| NUMBER_289 | new BigDecimal("289") | +| NUMBER_290 | new BigDecimal("290") | +| NUMBER_291 | new BigDecimal("291") | + + + diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md new file mode 100644 index 0000000..a559de1 --- /dev/null +++ b/docs/DefaultApi.md @@ -0,0 +1,373 @@ +# DefaultApi + +All URIs are relative to *https://api.eu.lodgea.io/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**availabilitySearchPost**](DefaultApi.md#availabilitySearchPost) | **POST** /availability/search | Search for availability | +| [**locationSearchPost**](DefaultApi.md#locationSearchPost) | **POST** /location/search | Search for location | +| [**propertiesGet**](DefaultApi.md#propertiesGet) | **GET** /properties | List (filtered) properties | +| [**propertiesPropertyIdAvailabilityGet**](DefaultApi.md#propertiesPropertyIdAvailabilityGet) | **GET** /properties/{propertyId}/availability | Get a properties availability | +| [**propertiesPropertyIdGet**](DefaultApi.md#propertiesPropertyIdGet) | **GET** /properties/{propertyId} | Get a properties details | + + + +# **availabilitySearchPost** +> AvailabilitySearchPost200Response availabilitySearchPost(availabilitySearchPostRequest) + +Search for availability + +Get availability information based on search criteria. + +### Example +```java +// Import classes: +import com.lodgea.ApiClient; +import com.lodgea.ApiException; +import com.lodgea.Configuration; +import com.lodgea.auth.*; +import com.lodgea.models.*; +import com.lodgea.controllers.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.eu.lodgea.io/v1"); + + // Configure API key authorization: ApiKeyAuth + ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); + ApiKeyAuth.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //ApiKeyAuth.setApiKeyPrefix("Token"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + AvailabilitySearchPostRequest availabilitySearchPostRequest = new AvailabilitySearchPostRequest(); // AvailabilitySearchPostRequest | + try { + AvailabilitySearchPost200Response result = apiInstance.availabilitySearchPost(availabilitySearchPostRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#availabilitySearchPost"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **availabilitySearchPostRequest** | [**AvailabilitySearchPostRequest**](AvailabilitySearchPostRequest.md)| | [optional] | + +### Return type + +[**AvailabilitySearchPost200Response**](AvailabilitySearchPost200Response.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful, a list of available properties matching the given criteria is returned. | - | +| **400** | We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. | - | +| **403** | Unauthorized, the api key in the \"apiKey\" header field is invalid. | - | + + +# **locationSearchPost** +> LocationSearchPost200Response locationSearchPost(locationSearchPostRequest) + +Search for location + +Get a list of locations and their lowest available rate related to a given keyword. + +### Example +```java +// Import classes: +import com.lodgea.ApiClient; +import com.lodgea.ApiException; +import com.lodgea.Configuration; +import com.lodgea.auth.*; +import com.lodgea.models.*; +import com.lodgea.controllers.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.eu.lodgea.io/v1"); + + // Configure API key authorization: ApiKeyAuth + ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); + ApiKeyAuth.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //ApiKeyAuth.setApiKeyPrefix("Token"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + LocationSearchPostRequest locationSearchPostRequest = new LocationSearchPostRequest(); // LocationSearchPostRequest | + try { + LocationSearchPost200Response result = apiInstance.locationSearchPost(locationSearchPostRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#locationSearchPost"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **locationSearchPostRequest** | [**LocationSearchPostRequest**](LocationSearchPostRequest.md)| | [optional] | + +### Return type + +[**LocationSearchPost200Response**](LocationSearchPost200Response.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful, a list of locations matching the given location search text is returned. | - | +| **400** | We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. | - | +| **403** | Unauthorized, the api key in the \"apiKey\" header field is invalid. | - | + + +# **propertiesGet** +> PropertiesGet200Response propertiesGet(keyword, pageToken) + +List (filtered) properties + +List properties, optionally filtered by a keyword. + +### Example +```java +// Import classes: +import com.lodgea.ApiClient; +import com.lodgea.ApiException; +import com.lodgea.Configuration; +import com.lodgea.auth.*; +import com.lodgea.models.*; +import com.lodgea.controllers.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.eu.lodgea.io/v1"); + + // Configure API key authorization: ApiKeyAuth + ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); + ApiKeyAuth.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //ApiKeyAuth.setApiKeyPrefix("Token"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + String keyword = "Strandresidenz Sylt"; // String | + String pageToken = "eyJ0ZW5hbnRDb2RlIjoiZG1vLWRlbW8iLCJuYW1lIjoiTGFuZGhhdXMgVHJlc2tlcnNhbmQiLCJwcm9wZXJ0eUlkIjoibGFuZGhhdXMtdHJlc2tlcnNhbmQifQ=="; // String | + try { + PropertiesGet200Response result = apiInstance.propertiesGet(keyword, pageToken); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#propertiesGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **keyword** | **String**| | [optional] | +| **pageToken** | **String**| | [optional] | + +### Return type + +[**PropertiesGet200Response**](PropertiesGet200Response.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful, a list of properties matching the given keyword is returned. | - | +| **400** | We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. | - | +| **403** | Unauthorized, the api key in the \"apiKey\" header field is invalid. | - | + + +# **propertiesPropertyIdAvailabilityGet** +> PropertiesPropertyIdAvailabilityGet200Response propertiesPropertyIdAvailabilityGet(propertyId, currencyCode) + +Get a properties availability + +Get detailed availability information for a specific property. + +### Example +```java +// Import classes: +import com.lodgea.ApiClient; +import com.lodgea.ApiException; +import com.lodgea.Configuration; +import com.lodgea.auth.*; +import com.lodgea.models.*; +import com.lodgea.controllers.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.eu.lodgea.io/v1"); + + // Configure API key authorization: ApiKeyAuth + ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); + ApiKeyAuth.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //ApiKeyAuth.setApiKeyPrefix("Token"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + String propertyId = "strandresidenz-sylt"; // String | + String currencyCode = "AED"; // String | + try { + PropertiesPropertyIdAvailabilityGet200Response result = apiInstance.propertiesPropertyIdAvailabilityGet(propertyId, currencyCode); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#propertiesPropertyIdAvailabilityGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **propertyId** | **String**| | | +| **currencyCode** | **String**| | [enum: AED, ARS, AUD, AZN, BGN, BHD, BRL, CAD, CHF, CLP, CNY, COP, CZK, DKK, EGP, EUR, FJD, GBP, GEL, HKD, HUF, IDR, ILS, INR, JOD, JPY, KRW, KWD, KZT, MDL, MXN, MYR, NAD, NOK, NZD, OMR, PLN, QAR, RON, RUB, SAR, SEK, SGD, THB, TRY, TWD, UAH, USD, XOF, ZAR] | + +### Return type + +[**PropertiesPropertyIdAvailabilityGet200Response**](PropertiesPropertyIdAvailabilityGet200Response.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful, a list of properties matching the given keyword is returned. | - | +| **400** | We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. | - | +| **403** | Unauthorized, the api key in the \"apiKey\" header field is invalid. | - | + + +# **propertiesPropertyIdGet** +> PropertiesPropertyIdGet200Response propertiesPropertyIdGet(propertyId) + +Get a properties details + +Get all information about a specific property by its ID. + +### Example +```java +// Import classes: +import com.lodgea.ApiClient; +import com.lodgea.ApiException; +import com.lodgea.Configuration; +import com.lodgea.auth.*; +import com.lodgea.models.*; +import com.lodgea.controllers.DefaultApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.eu.lodgea.io/v1"); + + // Configure API key authorization: ApiKeyAuth + ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); + ApiKeyAuth.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //ApiKeyAuth.setApiKeyPrefix("Token"); + + DefaultApi apiInstance = new DefaultApi(defaultClient); + String propertyId = "strandresidenz-sylt"; // String | + try { + PropertiesPropertyIdGet200Response result = apiInstance.propertiesPropertyIdGet(propertyId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DefaultApi#propertiesPropertyIdGet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **propertyId** | **String**| | | + +### Return type + +[**PropertiesPropertyIdGet200Response**](PropertiesPropertyIdGet200Response.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful, property found, the whole property object is returned. | - | +| **400** | We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. | - | +| **403** | Unauthorized, the api key in the \"apiKey\" header field is invalid. | - | +| **404** | The requested resource was not found | - | + diff --git a/docs/LocationApi.md b/docs/LocationApi.md deleted file mode 100644 index 016073c..0000000 --- a/docs/LocationApi.md +++ /dev/null @@ -1,86 +0,0 @@ -# LocationApi - -All URIs are relative to *https://api.eu.lodgea.io* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**v1LocationSearchPost**](LocationApi.md#v1LocationSearchPost) | **POST** /v1/location/search | Search for Location | - - - -# **v1LocationSearchPost** -> V1LocationSearchPost200Response v1LocationSearchPost(locationSearch) - -Search for Location - -Get a location by search text in free from. This parameter is required. - -### Example -```java -// Import classes: -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.Configuration; -import com.lodgea.auth.*; -import com.lodgea.models.*; -import com.lodgea.controllers.LocationApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.eu.lodgea.io"); - - // Configure API key authorization: ApiKeyAuth - ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); - ApiKeyAuth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //ApiKeyAuth.setApiKeyPrefix("Token"); - - LocationApi apiInstance = new LocationApi(defaultClient); - LocationSearch locationSearch = new LocationSearch(); // LocationSearch | Free-text search criteria - try { - V1LocationSearchPost200Response result = apiInstance.v1LocationSearchPost(locationSearch); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling LocationApi#v1LocationSearchPost"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **locationSearch** | [**LocationSearch**](LocationSearch.md)| Free-text search criteria | | - -### Return type - -[**V1LocationSearchPost200Response**](V1LocationSearchPost200Response.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Successful operation | - | -| **400** | Bad request - missing parameter | * apiKey -
| -| **401** | API Key is missing or invalid | * apiKey -
| -| **403** | Forbidden | * apiKey -
| -| **404** | Not Found | * apiKey -
| -| **405** | Invalid input | * apiKey -
| -| **429** | Rate Limiting | * apiKey -
| -| **500** | Internal server error | * apiKey -
| -| **503** | Server error | * apiKey -
| - diff --git a/docs/LocationSearch.md b/docs/LocationSearch.md deleted file mode 100644 index 434ae23..0000000 --- a/docs/LocationSearch.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# LocationSearch - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**searchText** | **String** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**languageCode** | **String** | | [optional] | - - - diff --git a/docs/LocationSearchPost200Response.md b/docs/LocationSearchPost200Response.md new file mode 100644 index 0000000..65c5abb --- /dev/null +++ b/docs/LocationSearchPost200Response.md @@ -0,0 +1,59 @@ + + +# LocationSearchPost200Response + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**languageCode** | [**LanguageCodeEnum**](#LanguageCodeEnum) | The language code of the language in which the descriptive texts for each found location are returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | +|**_list** | [**List<AvailablePropertiesInner>**](AvailablePropertiesInner.md) | A list of available properties matching the given criteria. | | + + + +## Enum: LanguageCodeEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + diff --git a/docs/LocationSearchPost400Response.md b/docs/LocationSearchPost400Response.md new file mode 100644 index 0000000..cdfea6b --- /dev/null +++ b/docs/LocationSearchPost400Response.md @@ -0,0 +1,13 @@ + + +# LocationSearchPost400Response + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**validationErrors** | [**List<LocationSearchPost400ResponseValidationErrorsInner>**](LocationSearchPost400ResponseValidationErrorsInner.md) | | | + + + diff --git a/docs/LocationSearchPost400ResponseValidationErrorsInner.md b/docs/LocationSearchPost400ResponseValidationErrorsInner.md new file mode 100644 index 0000000..8c147c8 --- /dev/null +++ b/docs/LocationSearchPost400ResponseValidationErrorsInner.md @@ -0,0 +1,39 @@ + + +# LocationSearchPost400ResponseValidationErrorsInner + +A Zod issue. More fields can be present depending on the issue type. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | [**CodeEnum**](#CodeEnum) | The ZodIssueCode describing the issue. | | +|**message** | **String** | A message describing the error in a human readable way. | | +|**path** | **List<String>** | An array describing the position of the faulty property. The first segment will always be either \"body\", \"pathParameters\" or \"queryParameters\" indicating on which part of your request the error occurred. | | + + + +## Enum: CodeEnum + +| Name | Value | +|---- | -----| +| INVALID_TYPE | "invalid_type" | +| INVALID_LITERAL | "invalid_literal" | +| CUSTOM | "custom" | +| INVALID_UNION | "invalid_union" | +| INVALID_UNION_DISCRIMINATOR | "invalid_union_discriminator" | +| INVALID_ENUM_VALUE | "invalid_enum_value" | +| UNRECOGNIZED_KEYS | "unrecognized_keys" | +| INVALID_ARGUMENTS | "invalid_arguments" | +| INVALID_RETURN_TYPE | "invalid_return_type" | +| INVALID_DATE | "invalid_date" | +| INVALID_STRING | "invalid_string" | +| TOO_SMALL | "too_small" | +| TOO_BIG | "too_big" | +| INVALID_INTERSECTION_TYPES | "invalid_intersection_types" | +| NOT_MULTIPLE_OF | "not_multiple_of" | +| NOT_FINITE | "not_finite" | + + + diff --git a/docs/LocationSearchPostRequest.md b/docs/LocationSearchPostRequest.md new file mode 100644 index 0000000..013af7f --- /dev/null +++ b/docs/LocationSearchPostRequest.md @@ -0,0 +1,117 @@ + + +# LocationSearchPostRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**searchText** | **String** | A search text in free form to search locations by. | | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency code of the currency in which the lowest price for each found location should be returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> | | +|**languageCode** | [**LanguageCodeEnum**](#LanguageCodeEnum) | The language code of the language in which the descriptive texts for each found location should be returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + +## Enum: LanguageCodeEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + diff --git a/docs/PropertiesGet200Response.md b/docs/PropertiesGet200Response.md new file mode 100644 index 0000000..c6fc9e9 --- /dev/null +++ b/docs/PropertiesGet200Response.md @@ -0,0 +1,14 @@ + + +# PropertiesGet200Response + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**_list** | [**List<PropertiesGet200ResponseListInner>**](PropertiesGet200ResponseListInner.md) | | | +|**pageToken** | **String** | The page token to pass in the subsequent call to retrieve more results, only returned if more results are available. | [optional] | + + + diff --git a/docs/PropertiesGet200ResponseListInner.md b/docs/PropertiesGet200ResponseListInner.md new file mode 100644 index 0000000..6a40089 --- /dev/null +++ b/docs/PropertiesGet200ResponseListInner.md @@ -0,0 +1,18 @@ + + +# PropertiesGet200ResponseListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**published** | **Boolean** | Whether the property is in published state. | | +|**name** | **String** | The name of the property. | | +|**propertyId** | **String** | The unique identifier for the property. | | +|**image** | **String** | The file name of the image for the property. | | +|**address** | **String** | The address of the property. | | +|**lastUpdated** | **BigDecimal** | The timestamp of the last update to the property (Unix in ms). | | + + + diff --git a/docs/PropertiesPropertyIdAvailabilityGet200Response.md b/docs/PropertiesPropertyIdAvailabilityGet200Response.md new file mode 100644 index 0000000..d32312f --- /dev/null +++ b/docs/PropertiesPropertyIdAvailabilityGet200Response.md @@ -0,0 +1,13 @@ + + +# PropertiesPropertyIdAvailabilityGet200Response + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**availabilityList** | [**List<PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner>**](PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.md) | An array of objects describing the available booking options. | | + + + diff --git a/docs/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.md b/docs/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.md new file mode 100644 index 0000000..34f17d3 --- /dev/null +++ b/docs/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.md @@ -0,0 +1,48 @@ + + +# PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**ratePlanList** | [**List<PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner>**](PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md) | A list of available rate plans. | | +|**name** | **String** | The name of the rate plan group. | | +|**mealPlanList** | [**List<MealPlanListEnum>**](#List<MealPlanListEnum>) | The available meal plans.<p>See also <a href=\"#mealplan-type-codes\">in the appendix</a>.</p> | | +|**roomTypeList** | **List<String>** | The rooms this availability is for. | | + + + +## Enum: List<MealPlanListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_0 | new BigDecimal("0") | +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_90001 | new BigDecimal("90001") | + + + diff --git a/docs/PropertiesPropertyIdGet200Response.md b/docs/PropertiesPropertyIdGet200Response.md new file mode 100644 index 0000000..e47d323 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200Response.md @@ -0,0 +1,14 @@ + + +# PropertiesPropertyIdGet200Response + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | [**PropertiesPropertyIdGet200ResponseProperty**](PropertiesPropertyIdGet200ResponseProperty.md) | | | +|**productList** | [**List<PropertiesPropertyIdGet200ResponseProductListInner>**](PropertiesPropertyIdGet200ResponseProductListInner.md) | | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponseProductListInner.md b/docs/PropertiesPropertyIdGet200ResponseProductListInner.md new file mode 100644 index 0000000..c06a1f6 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponseProductListInner.md @@ -0,0 +1,53 @@ + + +# PropertiesPropertyIdGet200ResponseProductListInner + +A list of available products for this property. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**propertyId** | **String** | The ID of the property. | | +|**name** | **String** | The name of the product. | | +|**mealPlanList** | [**List<MealPlanListEnum>**](#List<MealPlanListEnum>) | A list of meal type codes included in this product. | | +|**roomTypeList** | **List<String>** | An array of strings describing the room types included in this product. | | +|**isLOSPricing** | **Boolean** | Whether this product is length of stay pricing. | [optional] | +|**isOBPPricing** | **Boolean** | Whether this product is occupancy based pricing. | [optional] | +|**ratePlanList** | [**List<PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner>**](PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md) | The rate plans for this product. | | +|**policyInfo** | [**PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo**](PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.md) | | [optional] | + + + +## Enum: List<MealPlanListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_0 | new BigDecimal("0") | +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_90001 | new BigDecimal("90001") | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.md b/docs/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.md new file mode 100644 index 0000000..58c5a67 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.md @@ -0,0 +1,34 @@ + + +# PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo + +The policy info for this product. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**checkInTime** | **BigDecimal** | Check-in time (unix timestamp in ms). | | +|**checkOutTime** | **BigDecimal** | Check-out time (unix timestamp in ms). | | +|**totalGuestCount** | **BigDecimal** | The maximum number of guests allowed. | [optional] | +|**cancellationPolicyList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner>**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md) | List of cancellation policies. | | +|**advanceBookingMin** | **BigDecimal** | The minimum number of days in advance a booking must be made | | +|**advanceBookingMax** | **BigDecimal** | The maximum number of days in advance a booking can be made | | +|**petsPolicy** | [**PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md) | | [optional] | +|**prepaymentPolicy** | [**PrepaymentPolicyEnum**](#PrepaymentPolicyEnum) | The type of the prepayment policy. | [optional] | +|**guaranteePolicy** | [**PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md) | | [optional] | +|**taxPolicyList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner>**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md) | A list of taxes and their policies. | | +|**feePolicyList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner>**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md) | A list of fees and their policies. | | +|**name** | **String** | The name of this policy. | [optional] | + + + +## Enum: PrepaymentPolicyEnum + +| Name | Value | +|---- | -----| +| CANCELLATION_FEE_BEGINS | "after_cancellation_fee_begins" | +| RESERVATION_IS_MADE | "after_reservation_is_made" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md b/docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md new file mode 100644 index 0000000..5f89530 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.md @@ -0,0 +1,16 @@ + + +# PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**active** | **Boolean** | Whether the rate plan is active. | | +|**name** | **String** | The name of the rate plan. | | +|**code** | **String** | The code identifying the rate plan. | | +|**pricingList** | [**List<PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner>**](PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.md) | | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.md b/docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.md new file mode 100644 index 0000000..cd7d451 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.md @@ -0,0 +1,16 @@ + + +# PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**dateTime** | **BigDecimal** | The timestamp of the pricing information. | | +|**occupancy** | **BigDecimal** | The number of occupants for which the pricing applies. | | +|**priceList** | **Map<String, BigDecimal>** | A mapping of number of days of stay to prices. | | +|**currencyCode** | **String** | The currency code for the prices. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponseProperty.md b/docs/PropertiesPropertyIdGet200ResponseProperty.md new file mode 100644 index 0000000..9c97e77 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponseProperty.md @@ -0,0 +1,29 @@ + + +# PropertiesPropertyIdGet200ResponseProperty + +An object containing all available base data for the requested property. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | **String** | The properties unique identifier. | | +|**name** | **String** | The properties name. | | +|**recordCreated** | [**PropertiesPropertyIdGet200ResponsePropertyRecordCreated**](PropertiesPropertyIdGet200ResponsePropertyRecordCreated.md) | | | +|**recordModified** | [**PropertiesPropertyIdGet200ResponsePropertyRecordModified**](PropertiesPropertyIdGet200ResponsePropertyRecordModified.md) | | | +|**propertyInfo** | [**PropertiesPropertyIdGet200ResponsePropertyPropertyInfo**](PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.md) | | | +|**guestInfo** | [**PropertiesPropertyIdGet200ResponsePropertyGuestInfo**](PropertiesPropertyIdGet200ResponsePropertyGuestInfo.md) | | [optional] | +|**awardList** | [**List<PropertiesPropertyIdGet200ResponsePropertyAwardListInner>**](PropertiesPropertyIdGet200ResponsePropertyAwardListInner.md) | A list of the ratings available for this property. | | +|**contactList** | [**List<PropertiesPropertyIdGet200ResponsePropertyContactListInner>**](PropertiesPropertyIdGet200ResponsePropertyContactListInner.md) | A contact with a profile type and a list of addresses | | +|**facilityInfo** | [**PropertiesPropertyIdGet200ResponsePropertyFacilityInfo**](PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.md) | | [optional] | +|**mediaList** | [**List<PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner>**](PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md) | A list of media objects for the property. | | +|**geo** | [**Map<String, AvailablePropertiesInner1Geo>**](AvailablePropertiesInner1Geo.md) | An object containing language codes as keys and objects describing the properties geographical location as values. | [optional] | +|**published** | **Boolean** | Indicates whether the policy has been published or not. | | +|**policyList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPolicyListInner>**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.md) | A list of policies associated with the property. | | +|**uri** | **String** | A unique identifier for the accommodation. | [optional] | +|**cancellationGracePeriod** | [**PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod**](PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.md) | | [optional] | +|**serviceList** | [**List<PropertiesPropertyIdGet200ResponsePropertyServiceListInner>**](PropertiesPropertyIdGet200ResponsePropertyServiceListInner.md) | A list of objects each describing an available service, its pricing and its availability. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.md new file mode 100644 index 0000000..c293d30 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.md @@ -0,0 +1,22 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyAwardListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**provider** | [**ProviderEnum**](#ProviderEnum) | The source of this rating. Currently only <code>star-rating</code> is possible. | | +|**rating** | **BigDecimal** | The value of this rating | | + + + +## Enum: ProviderEnum + +| Name | Value | +|---- | -----| +| STAR_RATING | "star-rating" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.md b/docs/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.md new file mode 100644 index 0000000..b736d4c --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.md @@ -0,0 +1,15 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod + +An object describing the cancellation grace periods. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**hoursAfterBooking** | **BigDecimal** | The number of hours after booking that the cancellation grace period starts. | | +|**weeksBeforeCheckIn** | **BigDecimal** | The number of weeks before check-in that the cancellation grace period starts. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyContactListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyContactListInner.md new file mode 100644 index 0000000..1aa6231 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyContactListInner.md @@ -0,0 +1,31 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyContactListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**profileType** | [**ProfileTypeEnum**](#ProfileTypeEnum) | The type of profile this contact belongs to. | | +|**addressList** | [**List<PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner>**](PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.md) | A list of addresses for this contact | | + + + +## Enum: ProfileTypeEnum + +| Name | Value | +|---- | -----| +| GENERAL | "general" | +| CONTRACT | "contract" | +| RESERVATIONS | "reservations" | +| INVOICES | "invoices" | +| AVAILABILITY | "availability" | +| SITE_CONTENT | "site_content" | +| PARITY | "parity" | +| REQUESTS | "requests" | +| CENTRAL_RESERVATIONS | "central_reservations" | +| PHYSICALLOCATION | "physicallocation" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.md new file mode 100644 index 0000000..54581ae --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.md @@ -0,0 +1,18 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**addressLine** | **String** | The first line of the address for this contact | | +|**propertyName** | **String** | The name of the property for this contact | [optional] | +|**cityName** | **String** | The city of this contact | | +|**postalCode** | **String** | The postal code of this contact | | +|**state** | **String** | The state/region of this contact | [optional] | +|**countryCode** | **String** | The country code of this contact | [optional] | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.md b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.md new file mode 100644 index 0000000..454b4bf --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.md @@ -0,0 +1,14 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyFacilityInfo + +Further information regarding the facility. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**guestRoomList** | [**List<PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner>**](PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.md) | An array of objects representing a room in the property. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.md new file mode 100644 index 0000000..306babd --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.md @@ -0,0 +1,49 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner + +An object representing a room in the property. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**isActive** | **Boolean** | Indicates whether the room is active or not. | | +|**roomId** | **String** | The unique identifier for the room. | | +|**name** | **String** | The name of the room. | | +|**mediaList** | [**List<PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner>**](PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md) | A list of media objects for the room. | | +|**roomTypeCode** | [**RoomTypeCodeEnum**](#RoomTypeCodeEnum) | The unit and room type code.<p>See also <a href=\"#unitand-room-type-codes\">in the appendix</a>.</p> | | +|**isNonSmoking** | **Boolean** | Indicates whether the room is designated as non-smoking. | | +|**amenityList** | [**List<PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner>**](PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md) | A list of amenities provided in the room. | | +|**messageList** | [**List<PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner>**](PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md) | A list of messages associated with the room. | | +|**maxOccupancy** | **BigDecimal** | The maximum occupancy of the room. | | +|**maxAdultOccupancy** | **BigDecimal** | The maximum number of adults that can occupy the room. | | +|**maxChildOccupancy** | **BigDecimal** | The maximum number of children that can occupy the room. | | + + + +## Enum: RoomTypeCodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md new file mode 100644 index 0000000..8f5656c --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md @@ -0,0 +1,493 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | [**CodeEnum**](#CodeEnum) | The code indicating the room amenity type.<p>See also <a href=\"#unitand-room-amenity-type-codes\">in the appendix</a>.</p> | | +|**quantity** | **BigDecimal** | The quantity of this amenity type in this room. | | + + + +## Enum: CodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_111 | new BigDecimal("111") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_117 | new BigDecimal("117") | +| NUMBER_118 | new BigDecimal("118") | +| NUMBER_119 | new BigDecimal("119") | +| NUMBER_120 | new BigDecimal("120") | +| NUMBER_121 | new BigDecimal("121") | +| NUMBER_122 | new BigDecimal("122") | +| NUMBER_123 | new BigDecimal("123") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_126 | new BigDecimal("126") | +| NUMBER_127 | new BigDecimal("127") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_129 | new BigDecimal("129") | +| NUMBER_130 | new BigDecimal("130") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_132 | new BigDecimal("132") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_135 | new BigDecimal("135") | +| NUMBER_136 | new BigDecimal("136") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_138 | new BigDecimal("138") | +| NUMBER_139 | new BigDecimal("139") | +| NUMBER_140 | new BigDecimal("140") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_142 | new BigDecimal("142") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_144 | new BigDecimal("144") | +| NUMBER_145 | new BigDecimal("145") | +| NUMBER_146 | new BigDecimal("146") | +| NUMBER_147 | new BigDecimal("147") | +| NUMBER_148 | new BigDecimal("148") | +| NUMBER_149 | new BigDecimal("149") | +| NUMBER_150 | new BigDecimal("150") | +| NUMBER_151 | new BigDecimal("151") | +| NUMBER_152 | new BigDecimal("152") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_162 | new BigDecimal("162") | +| NUMBER_163 | new BigDecimal("163") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_166 | new BigDecimal("166") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_168 | new BigDecimal("168") | +| NUMBER_169 | new BigDecimal("169") | +| NUMBER_170 | new BigDecimal("170") | +| NUMBER_171 | new BigDecimal("171") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_174 | new BigDecimal("174") | +| NUMBER_175 | new BigDecimal("175") | +| NUMBER_176 | new BigDecimal("176") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_180 | new BigDecimal("180") | +| NUMBER_181 | new BigDecimal("181") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_195 | new BigDecimal("195") | +| NUMBER_196 | new BigDecimal("196") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_200 | new BigDecimal("200") | +| NUMBER_201 | new BigDecimal("201") | +| NUMBER_202 | new BigDecimal("202") | +| NUMBER_203 | new BigDecimal("203") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_206 | new BigDecimal("206") | +| NUMBER_207 | new BigDecimal("207") | +| NUMBER_208 | new BigDecimal("208") | +| NUMBER_209 | new BigDecimal("209") | +| NUMBER_210 | new BigDecimal("210") | +| NUMBER_211 | new BigDecimal("211") | +| NUMBER_212 | new BigDecimal("212") | +| NUMBER_213 | new BigDecimal("213") | +| NUMBER_214 | new BigDecimal("214") | +| NUMBER_215 | new BigDecimal("215") | +| NUMBER_216 | new BigDecimal("216") | +| NUMBER_217 | new BigDecimal("217") | +| NUMBER_218 | new BigDecimal("218") | +| NUMBER_219 | new BigDecimal("219") | +| NUMBER_220 | new BigDecimal("220") | +| NUMBER_221 | new BigDecimal("221") | +| NUMBER_222 | new BigDecimal("222") | +| NUMBER_223 | new BigDecimal("223") | +| NUMBER_224 | new BigDecimal("224") | +| NUMBER_225 | new BigDecimal("225") | +| NUMBER_226 | new BigDecimal("226") | +| NUMBER_227 | new BigDecimal("227") | +| NUMBER_228 | new BigDecimal("228") | +| NUMBER_229 | new BigDecimal("229") | +| NUMBER_230 | new BigDecimal("230") | +| NUMBER_231 | new BigDecimal("231") | +| NUMBER_232 | new BigDecimal("232") | +| NUMBER_233 | new BigDecimal("233") | +| NUMBER_234 | new BigDecimal("234") | +| NUMBER_235 | new BigDecimal("235") | +| NUMBER_236 | new BigDecimal("236") | +| NUMBER_237 | new BigDecimal("237") | +| NUMBER_238 | new BigDecimal("238") | +| NUMBER_239 | new BigDecimal("239") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_243 | new BigDecimal("243") | +| NUMBER_244 | new BigDecimal("244") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_274 | new BigDecimal("274") | +| NUMBER_275 | new BigDecimal("275") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5019 | new BigDecimal("5019") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5034 | new BigDecimal("5034") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_5037 | new BigDecimal("5037") | +| NUMBER_5038 | new BigDecimal("5038") | +| NUMBER_5039 | new BigDecimal("5039") | +| NUMBER_5040 | new BigDecimal("5040") | +| NUMBER_5041 | new BigDecimal("5041") | +| NUMBER_5042 | new BigDecimal("5042") | +| NUMBER_5043 | new BigDecimal("5043") | +| NUMBER_5044 | new BigDecimal("5044") | +| NUMBER_5045 | new BigDecimal("5045") | +| NUMBER_5046 | new BigDecimal("5046") | +| NUMBER_5068 | new BigDecimal("5068") | +| NUMBER_5069 | new BigDecimal("5069") | +| NUMBER_5070 | new BigDecimal("5070") | +| NUMBER_5071 | new BigDecimal("5071") | +| NUMBER_5072 | new BigDecimal("5072") | +| NUMBER_5073 | new BigDecimal("5073") | +| NUMBER_5074 | new BigDecimal("5074") | +| NUMBER_5075 | new BigDecimal("5075") | +| NUMBER_5076 | new BigDecimal("5076") | +| NUMBER_5077 | new BigDecimal("5077") | +| NUMBER_5079 | new BigDecimal("5079") | +| NUMBER_5080 | new BigDecimal("5080") | +| NUMBER_5081 | new BigDecimal("5081") | +| NUMBER_5082 | new BigDecimal("5082") | +| NUMBER_5083 | new BigDecimal("5083") | +| NUMBER_5084 | new BigDecimal("5084") | +| NUMBER_5085 | new BigDecimal("5085") | +| NUMBER_5086 | new BigDecimal("5086") | +| NUMBER_5087 | new BigDecimal("5087") | +| NUMBER_5088 | new BigDecimal("5088") | +| NUMBER_5089 | new BigDecimal("5089") | +| NUMBER_5090 | new BigDecimal("5090") | +| NUMBER_5091 | new BigDecimal("5091") | +| NUMBER_5092 | new BigDecimal("5092") | +| NUMBER_5093 | new BigDecimal("5093") | +| NUMBER_5094 | new BigDecimal("5094") | +| NUMBER_5095 | new BigDecimal("5095") | +| NUMBER_5096 | new BigDecimal("5096") | +| NUMBER_5097 | new BigDecimal("5097") | +| NUMBER_5098 | new BigDecimal("5098") | +| NUMBER_5099 | new BigDecimal("5099") | +| NUMBER_5100 | new BigDecimal("5100") | +| NUMBER_5101 | new BigDecimal("5101") | +| NUMBER_5102 | new BigDecimal("5102") | +| NUMBER_5103 | new BigDecimal("5103") | +| NUMBER_5104 | new BigDecimal("5104") | +| NUMBER_5105 | new BigDecimal("5105") | +| NUMBER_5106 | new BigDecimal("5106") | +| NUMBER_5107 | new BigDecimal("5107") | +| NUMBER_5108 | new BigDecimal("5108") | +| NUMBER_5109 | new BigDecimal("5109") | +| NUMBER_5110 | new BigDecimal("5110") | +| NUMBER_5111 | new BigDecimal("5111") | +| NUMBER_5112 | new BigDecimal("5112") | +| NUMBER_5113 | new BigDecimal("5113") | +| NUMBER_5114 | new BigDecimal("5114") | +| NUMBER_5115 | new BigDecimal("5115") | +| NUMBER_5116 | new BigDecimal("5116") | +| NUMBER_5117 | new BigDecimal("5117") | +| NUMBER_5118 | new BigDecimal("5118") | +| NUMBER_5119 | new BigDecimal("5119") | +| NUMBER_5120 | new BigDecimal("5120") | +| NUMBER_5121 | new BigDecimal("5121") | +| NUMBER_5122 | new BigDecimal("5122") | +| NUMBER_5123 | new BigDecimal("5123") | +| NUMBER_5124 | new BigDecimal("5124") | +| NUMBER_5125 | new BigDecimal("5125") | +| NUMBER_5126 | new BigDecimal("5126") | +| NUMBER_5127 | new BigDecimal("5127") | +| NUMBER_5129 | new BigDecimal("5129") | +| NUMBER_5130 | new BigDecimal("5130") | +| NUMBER_5131 | new BigDecimal("5131") | +| NUMBER_5132 | new BigDecimal("5132") | +| NUMBER_5133 | new BigDecimal("5133") | +| NUMBER_5134 | new BigDecimal("5134") | +| NUMBER_5135 | new BigDecimal("5135") | +| NUMBER_5136 | new BigDecimal("5136") | +| NUMBER_5137 | new BigDecimal("5137") | +| NUMBER_5138 | new BigDecimal("5138") | +| NUMBER_5139 | new BigDecimal("5139") | +| NUMBER_5140 | new BigDecimal("5140") | +| NUMBER_5141 | new BigDecimal("5141") | +| NUMBER_5142 | new BigDecimal("5142") | +| NUMBER_5143 | new BigDecimal("5143") | +| NUMBER_5144 | new BigDecimal("5144") | +| NUMBER_5145 | new BigDecimal("5145") | +| NUMBER_5146 | new BigDecimal("5146") | +| NUMBER_5147 | new BigDecimal("5147") | +| NUMBER_5148 | new BigDecimal("5148") | +| NUMBER_5149 | new BigDecimal("5149") | +| NUMBER_5150 | new BigDecimal("5150") | +| NUMBER_5151 | new BigDecimal("5151") | +| NUMBER_5152 | new BigDecimal("5152") | +| NUMBER_5153 | new BigDecimal("5153") | +| NUMBER_5154 | new BigDecimal("5154") | +| NUMBER_5157 | new BigDecimal("5157") | +| NUMBER_5158 | new BigDecimal("5158") | +| NUMBER_5159 | new BigDecimal("5159") | +| NUMBER_5160 | new BigDecimal("5160") | +| NUMBER_5161 | new BigDecimal("5161") | +| NUMBER_5162 | new BigDecimal("5162") | +| NUMBER_5163 | new BigDecimal("5163") | +| NUMBER_5164 | new BigDecimal("5164") | +| NUMBER_5165 | new BigDecimal("5165") | +| NUMBER_5166 | new BigDecimal("5166") | +| NUMBER_5167 | new BigDecimal("5167") | +| NUMBER_5168 | new BigDecimal("5168") | +| NUMBER_5169 | new BigDecimal("5169") | +| NUMBER_5170 | new BigDecimal("5170") | +| NUMBER_5171 | new BigDecimal("5171") | +| NUMBER_5172 | new BigDecimal("5172") | +| NUMBER_5173 | new BigDecimal("5173") | +| NUMBER_5174 | new BigDecimal("5174") | +| NUMBER_5175 | new BigDecimal("5175") | +| NUMBER_5176 | new BigDecimal("5176") | +| NUMBER_5177 | new BigDecimal("5177") | +| NUMBER_5178 | new BigDecimal("5178") | +| NUMBER_5179 | new BigDecimal("5179") | +| NUMBER_5180 | new BigDecimal("5180") | +| NUMBER_5181 | new BigDecimal("5181") | +| NUMBER_5182 | new BigDecimal("5182") | +| NUMBER_5184 | new BigDecimal("5184") | +| NUMBER_5185 | new BigDecimal("5185") | +| NUMBER_5186 | new BigDecimal("5186") | +| NUMBER_5187 | new BigDecimal("5187") | +| NUMBER_5188 | new BigDecimal("5188") | +| NUMBER_5189 | new BigDecimal("5189") | +| NUMBER_5190 | new BigDecimal("5190") | +| NUMBER_5191 | new BigDecimal("5191") | +| NUMBER_5196 | new BigDecimal("5196") | +| NUMBER_5198 | new BigDecimal("5198") | +| NUMBER_5199 | new BigDecimal("5199") | +| NUMBER_5200 | new BigDecimal("5200") | +| NUMBER_5201 | new BigDecimal("5201") | +| NUMBER_5202 | new BigDecimal("5202") | +| NUMBER_5203 | new BigDecimal("5203") | +| NUMBER_5204 | new BigDecimal("5204") | +| NUMBER_5205 | new BigDecimal("5205") | +| NUMBER_5206 | new BigDecimal("5206") | +| NUMBER_5207 | new BigDecimal("5207") | +| NUMBER_5211 | new BigDecimal("5211") | +| NUMBER_5212 | new BigDecimal("5212") | +| NUMBER_90001 | new BigDecimal("90001") | +| NUMBER_90002 | new BigDecimal("90002") | +| NUMBER_90003 | new BigDecimal("90003") | +| NUMBER_90004 | new BigDecimal("90004") | +| NUMBER_90005 | new BigDecimal("90005") | +| NUMBER_90006 | new BigDecimal("90006") | +| NUMBER_90007 | new BigDecimal("90007") | +| NUMBER_90008 | new BigDecimal("90008") | +| NUMBER_90009 | new BigDecimal("90009") | +| NUMBER_90010 | new BigDecimal("90010") | +| NUMBER_90011 | new BigDecimal("90011") | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md new file mode 100644 index 0000000..910042f --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md @@ -0,0 +1,1173 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**isMainImage** | **Boolean** | Whether the media is the main image for the property. | | +|**url** | **String** | The URL for the media. | | +|**sortOrder** | **BigDecimal** | The sort order for the media. | | +|**tagList** | [**List<TagListEnum>**](#List<TagListEnum>) | A list of tag codes for the media.<p>See also <a href=\"#imagetype-codes\">in the appendix</a>.</p> | | +|**moderationLabelList** | **List<String>** | A list of detection labels for moderated content (e.g. containing alcoholic beverages) for the media from an AI based detection engine. | | +|**detectionLabelList** | **List<String>** | A list of detection labels for the media from an AI based detection engine. | [optional] | +|**propertyAmenityList** | [**List<PropertyAmenityListEnum>**](#List<PropertyAmenityListEnum>) | A list of property amenities available at the property that are visible in this media element. | | +|**roomAmenityList** | [**List<RoomAmenityListEnum>**](#List<RoomAmenityListEnum>) | A list of unit and room amenities available at the property (respectively unit type if applicable) that are visible in this media element. | [optional] | + + + +## Enum: List<TagListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_284 | new BigDecimal("284") | +| NUMBER_285 | new BigDecimal("285") | +| NUMBER_286 | new BigDecimal("286") | +| NUMBER_287 | new BigDecimal("287") | +| NUMBER_289 | new BigDecimal("289") | +| NUMBER_290 | new BigDecimal("290") | +| NUMBER_291 | new BigDecimal("291") | + + + +## Enum: List<PropertyAmenityListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_111 | new BigDecimal("111") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_117 | new BigDecimal("117") | +| NUMBER_118 | new BigDecimal("118") | +| NUMBER_119 | new BigDecimal("119") | +| NUMBER_120 | new BigDecimal("120") | +| NUMBER_121 | new BigDecimal("121") | +| NUMBER_122 | new BigDecimal("122") | +| NUMBER_123 | new BigDecimal("123") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_126 | new BigDecimal("126") | +| NUMBER_127 | new BigDecimal("127") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_129 | new BigDecimal("129") | +| NUMBER_130 | new BigDecimal("130") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_132 | new BigDecimal("132") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_135 | new BigDecimal("135") | +| NUMBER_136 | new BigDecimal("136") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_138 | new BigDecimal("138") | +| NUMBER_139 | new BigDecimal("139") | +| NUMBER_140 | new BigDecimal("140") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_142 | new BigDecimal("142") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_144 | new BigDecimal("144") | +| NUMBER_145 | new BigDecimal("145") | +| NUMBER_146 | new BigDecimal("146") | +| NUMBER_147 | new BigDecimal("147") | +| NUMBER_148 | new BigDecimal("148") | +| NUMBER_149 | new BigDecimal("149") | +| NUMBER_150 | new BigDecimal("150") | +| NUMBER_151 | new BigDecimal("151") | +| NUMBER_152 | new BigDecimal("152") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_162 | new BigDecimal("162") | +| NUMBER_163 | new BigDecimal("163") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_166 | new BigDecimal("166") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_168 | new BigDecimal("168") | +| NUMBER_169 | new BigDecimal("169") | +| NUMBER_170 | new BigDecimal("170") | +| NUMBER_171 | new BigDecimal("171") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_174 | new BigDecimal("174") | +| NUMBER_175 | new BigDecimal("175") | +| NUMBER_176 | new BigDecimal("176") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_180 | new BigDecimal("180") | +| NUMBER_181 | new BigDecimal("181") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_195 | new BigDecimal("195") | +| NUMBER_196 | new BigDecimal("196") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_200 | new BigDecimal("200") | +| NUMBER_201 | new BigDecimal("201") | +| NUMBER_202 | new BigDecimal("202") | +| NUMBER_203 | new BigDecimal("203") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_206 | new BigDecimal("206") | +| NUMBER_207 | new BigDecimal("207") | +| NUMBER_208 | new BigDecimal("208") | +| NUMBER_209 | new BigDecimal("209") | +| NUMBER_210 | new BigDecimal("210") | +| NUMBER_211 | new BigDecimal("211") | +| NUMBER_212 | new BigDecimal("212") | +| NUMBER_213 | new BigDecimal("213") | +| NUMBER_214 | new BigDecimal("214") | +| NUMBER_215 | new BigDecimal("215") | +| NUMBER_216 | new BigDecimal("216") | +| NUMBER_217 | new BigDecimal("217") | +| NUMBER_218 | new BigDecimal("218") | +| NUMBER_219 | new BigDecimal("219") | +| NUMBER_220 | new BigDecimal("220") | +| NUMBER_221 | new BigDecimal("221") | +| NUMBER_222 | new BigDecimal("222") | +| NUMBER_223 | new BigDecimal("223") | +| NUMBER_224 | new BigDecimal("224") | +| NUMBER_225 | new BigDecimal("225") | +| NUMBER_226 | new BigDecimal("226") | +| NUMBER_227 | new BigDecimal("227") | +| NUMBER_228 | new BigDecimal("228") | +| NUMBER_229 | new BigDecimal("229") | +| NUMBER_230 | new BigDecimal("230") | +| NUMBER_231 | new BigDecimal("231") | +| NUMBER_232 | new BigDecimal("232") | +| NUMBER_233 | new BigDecimal("233") | +| NUMBER_234 | new BigDecimal("234") | +| NUMBER_235 | new BigDecimal("235") | +| NUMBER_236 | new BigDecimal("236") | +| NUMBER_237 | new BigDecimal("237") | +| NUMBER_238 | new BigDecimal("238") | +| NUMBER_239 | new BigDecimal("239") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_243 | new BigDecimal("243") | +| NUMBER_244 | new BigDecimal("244") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_274 | new BigDecimal("274") | +| NUMBER_275 | new BigDecimal("275") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_284 | new BigDecimal("284") | +| NUMBER_285 | new BigDecimal("285") | +| NUMBER_286 | new BigDecimal("286") | +| NUMBER_287 | new BigDecimal("287") | +| NUMBER_288 | new BigDecimal("288") | +| NUMBER_289 | new BigDecimal("289") | +| NUMBER_290 | new BigDecimal("290") | +| NUMBER_291 | new BigDecimal("291") | +| NUMBER_292 | new BigDecimal("292") | +| NUMBER_293 | new BigDecimal("293") | +| NUMBER_294 | new BigDecimal("294") | +| NUMBER_295 | new BigDecimal("295") | +| NUMBER_296 | new BigDecimal("296") | +| NUMBER_297 | new BigDecimal("297") | +| NUMBER_298 | new BigDecimal("298") | +| NUMBER_299 | new BigDecimal("299") | +| NUMBER_300 | new BigDecimal("300") | +| NUMBER_301 | new BigDecimal("301") | +| NUMBER_302 | new BigDecimal("302") | +| NUMBER_303 | new BigDecimal("303") | +| NUMBER_304 | new BigDecimal("304") | +| NUMBER_305 | new BigDecimal("305") | +| NUMBER_306 | new BigDecimal("306") | +| NUMBER_307 | new BigDecimal("307") | +| NUMBER_308 | new BigDecimal("308") | +| NUMBER_309 | new BigDecimal("309") | +| NUMBER_310 | new BigDecimal("310") | +| NUMBER_311 | new BigDecimal("311") | +| NUMBER_312 | new BigDecimal("312") | +| NUMBER_313 | new BigDecimal("313") | +| NUMBER_314 | new BigDecimal("314") | +| NUMBER_315 | new BigDecimal("315") | +| NUMBER_316 | new BigDecimal("316") | +| NUMBER_317 | new BigDecimal("317") | +| NUMBER_318 | new BigDecimal("318") | +| NUMBER_319 | new BigDecimal("319") | +| NUMBER_320 | new BigDecimal("320") | +| NUMBER_321 | new BigDecimal("321") | +| NUMBER_322 | new BigDecimal("322") | +| NUMBER_323 | new BigDecimal("323") | +| NUMBER_324 | new BigDecimal("324") | +| NUMBER_325 | new BigDecimal("325") | +| NUMBER_326 | new BigDecimal("326") | +| NUMBER_327 | new BigDecimal("327") | +| NUMBER_328 | new BigDecimal("328") | +| NUMBER_329 | new BigDecimal("329") | +| NUMBER_331 | new BigDecimal("331") | +| NUMBER_332 | new BigDecimal("332") | +| NUMBER_333 | new BigDecimal("333") | +| NUMBER_334 | new BigDecimal("334") | +| NUMBER_335 | new BigDecimal("335") | +| NUMBER_336 | new BigDecimal("336") | +| NUMBER_337 | new BigDecimal("337") | +| NUMBER_338 | new BigDecimal("338") | +| NUMBER_339 | new BigDecimal("339") | +| NUMBER_340 | new BigDecimal("340") | +| NUMBER_341 | new BigDecimal("341") | +| NUMBER_342 | new BigDecimal("342") | +| NUMBER_343 | new BigDecimal("343") | +| NUMBER_344 | new BigDecimal("344") | +| NUMBER_345 | new BigDecimal("345") | +| NUMBER_348 | new BigDecimal("348") | +| NUMBER_349 | new BigDecimal("349") | +| NUMBER_350 | new BigDecimal("350") | +| NUMBER_351 | new BigDecimal("351") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5034 | new BigDecimal("5034") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_5037 | new BigDecimal("5037") | +| NUMBER_5039 | new BigDecimal("5039") | +| NUMBER_5040 | new BigDecimal("5040") | +| NUMBER_5041 | new BigDecimal("5041") | +| NUMBER_5042 | new BigDecimal("5042") | +| NUMBER_5043 | new BigDecimal("5043") | +| NUMBER_5044 | new BigDecimal("5044") | +| NUMBER_5045 | new BigDecimal("5045") | +| NUMBER_5046 | new BigDecimal("5046") | +| NUMBER_5047 | new BigDecimal("5047") | +| NUMBER_5048 | new BigDecimal("5048") | +| NUMBER_5049 | new BigDecimal("5049") | +| NUMBER_5050 | new BigDecimal("5050") | +| NUMBER_5051 | new BigDecimal("5051") | +| NUMBER_5052 | new BigDecimal("5052") | +| NUMBER_5053 | new BigDecimal("5053") | +| NUMBER_5054 | new BigDecimal("5054") | +| NUMBER_5055 | new BigDecimal("5055") | +| NUMBER_5056 | new BigDecimal("5056") | +| NUMBER_5057 | new BigDecimal("5057") | +| NUMBER_5058 | new BigDecimal("5058") | +| NUMBER_5059 | new BigDecimal("5059") | +| NUMBER_5060 | new BigDecimal("5060") | +| NUMBER_5061 | new BigDecimal("5061") | +| NUMBER_5062 | new BigDecimal("5062") | +| NUMBER_5063 | new BigDecimal("5063") | +| NUMBER_5064 | new BigDecimal("5064") | +| NUMBER_5065 | new BigDecimal("5065") | +| NUMBER_5066 | new BigDecimal("5066") | +| NUMBER_5067 | new BigDecimal("5067") | +| NUMBER_5068 | new BigDecimal("5068") | +| NUMBER_5069 | new BigDecimal("5069") | +| NUMBER_5070 | new BigDecimal("5070") | +| NUMBER_5071 | new BigDecimal("5071") | +| NUMBER_5072 | new BigDecimal("5072") | +| NUMBER_5073 | new BigDecimal("5073") | +| NUMBER_5074 | new BigDecimal("5074") | +| NUMBER_5075 | new BigDecimal("5075") | +| NUMBER_5076 | new BigDecimal("5076") | +| NUMBER_5077 | new BigDecimal("5077") | +| NUMBER_5078 | new BigDecimal("5078") | +| NUMBER_5079 | new BigDecimal("5079") | +| NUMBER_5080 | new BigDecimal("5080") | +| NUMBER_5081 | new BigDecimal("5081") | +| NUMBER_5082 | new BigDecimal("5082") | +| NUMBER_5083 | new BigDecimal("5083") | +| NUMBER_5084 | new BigDecimal("5084") | +| NUMBER_5085 | new BigDecimal("5085") | +| NUMBER_5086 | new BigDecimal("5086") | +| NUMBER_5087 | new BigDecimal("5087") | +| NUMBER_5088 | new BigDecimal("5088") | +| NUMBER_5089 | new BigDecimal("5089") | +| NUMBER_5090 | new BigDecimal("5090") | +| NUMBER_5091 | new BigDecimal("5091") | +| NUMBER_5092 | new BigDecimal("5092") | +| NUMBER_5093 | new BigDecimal("5093") | +| NUMBER_5094 | new BigDecimal("5094") | +| NUMBER_5095 | new BigDecimal("5095") | +| NUMBER_5096 | new BigDecimal("5096") | +| NUMBER_5097 | new BigDecimal("5097") | +| NUMBER_5098 | new BigDecimal("5098") | +| NUMBER_5099 | new BigDecimal("5099") | +| NUMBER_5100 | new BigDecimal("5100") | +| NUMBER_5101 | new BigDecimal("5101") | +| NUMBER_5102 | new BigDecimal("5102") | +| NUMBER_5103 | new BigDecimal("5103") | +| NUMBER_5104 | new BigDecimal("5104") | +| NUMBER_5105 | new BigDecimal("5105") | +| NUMBER_5106 | new BigDecimal("5106") | +| NUMBER_5107 | new BigDecimal("5107") | +| NUMBER_5108 | new BigDecimal("5108") | +| NUMBER_5109 | new BigDecimal("5109") | +| NUMBER_5110 | new BigDecimal("5110") | +| NUMBER_5111 | new BigDecimal("5111") | +| NUMBER_5112 | new BigDecimal("5112") | +| NUMBER_5113 | new BigDecimal("5113") | +| NUMBER_5114 | new BigDecimal("5114") | +| NUMBER_5115 | new BigDecimal("5115") | +| NUMBER_5116 | new BigDecimal("5116") | +| NUMBER_5117 | new BigDecimal("5117") | +| NUMBER_5118 | new BigDecimal("5118") | +| NUMBER_5119 | new BigDecimal("5119") | +| NUMBER_5120 | new BigDecimal("5120") | +| NUMBER_5121 | new BigDecimal("5121") | +| NUMBER_5122 | new BigDecimal("5122") | +| NUMBER_5123 | new BigDecimal("5123") | +| NUMBER_5124 | new BigDecimal("5124") | +| NUMBER_5125 | new BigDecimal("5125") | +| NUMBER_5126 | new BigDecimal("5126") | +| NUMBER_5127 | new BigDecimal("5127") | +| NUMBER_5128 | new BigDecimal("5128") | +| NUMBER_5129 | new BigDecimal("5129") | +| NUMBER_5130 | new BigDecimal("5130") | +| NUMBER_5131 | new BigDecimal("5131") | +| NUMBER_5132 | new BigDecimal("5132") | +| NUMBER_5133 | new BigDecimal("5133") | +| NUMBER_5134 | new BigDecimal("5134") | +| NUMBER_5135 | new BigDecimal("5135") | +| NUMBER_5136 | new BigDecimal("5136") | +| NUMBER_5137 | new BigDecimal("5137") | +| NUMBER_5138 | new BigDecimal("5138") | +| NUMBER_5139 | new BigDecimal("5139") | +| NUMBER_5140 | new BigDecimal("5140") | +| NUMBER_5141 | new BigDecimal("5141") | +| NUMBER_5142 | new BigDecimal("5142") | +| NUMBER_5143 | new BigDecimal("5143") | +| NUMBER_5144 | new BigDecimal("5144") | +| NUMBER_5145 | new BigDecimal("5145") | +| NUMBER_5146 | new BigDecimal("5146") | +| NUMBER_5147 | new BigDecimal("5147") | +| NUMBER_5148 | new BigDecimal("5148") | +| NUMBER_5149 | new BigDecimal("5149") | +| NUMBER_5150 | new BigDecimal("5150") | +| NUMBER_5151 | new BigDecimal("5151") | +| NUMBER_5152 | new BigDecimal("5152") | +| NUMBER_5153 | new BigDecimal("5153") | +| NUMBER_5154 | new BigDecimal("5154") | +| NUMBER_5156 | new BigDecimal("5156") | +| NUMBER_5157 | new BigDecimal("5157") | +| NUMBER_5158 | new BigDecimal("5158") | +| NUMBER_5159 | new BigDecimal("5159") | +| NUMBER_5160 | new BigDecimal("5160") | +| NUMBER_5161 | new BigDecimal("5161") | +| NUMBER_5162 | new BigDecimal("5162") | +| NUMBER_5163 | new BigDecimal("5163") | +| NUMBER_5164 | new BigDecimal("5164") | +| NUMBER_5165 | new BigDecimal("5165") | +| NUMBER_5166 | new BigDecimal("5166") | +| NUMBER_5167 | new BigDecimal("5167") | +| NUMBER_5168 | new BigDecimal("5168") | +| NUMBER_5169 | new BigDecimal("5169") | +| NUMBER_5170 | new BigDecimal("5170") | +| NUMBER_5171 | new BigDecimal("5171") | +| NUMBER_5172 | new BigDecimal("5172") | +| NUMBER_5173 | new BigDecimal("5173") | +| NUMBER_5174 | new BigDecimal("5174") | +| NUMBER_5175 | new BigDecimal("5175") | +| NUMBER_5176 | new BigDecimal("5176") | +| NUMBER_5177 | new BigDecimal("5177") | +| NUMBER_5178 | new BigDecimal("5178") | +| NUMBER_6000 | new BigDecimal("6000") | +| NUMBER_6001 | new BigDecimal("6001") | +| NUMBER_90001 | new BigDecimal("90001") | + + + +## Enum: List<RoomAmenityListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_111 | new BigDecimal("111") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_117 | new BigDecimal("117") | +| NUMBER_118 | new BigDecimal("118") | +| NUMBER_119 | new BigDecimal("119") | +| NUMBER_120 | new BigDecimal("120") | +| NUMBER_121 | new BigDecimal("121") | +| NUMBER_122 | new BigDecimal("122") | +| NUMBER_123 | new BigDecimal("123") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_126 | new BigDecimal("126") | +| NUMBER_127 | new BigDecimal("127") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_129 | new BigDecimal("129") | +| NUMBER_130 | new BigDecimal("130") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_132 | new BigDecimal("132") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_135 | new BigDecimal("135") | +| NUMBER_136 | new BigDecimal("136") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_138 | new BigDecimal("138") | +| NUMBER_139 | new BigDecimal("139") | +| NUMBER_140 | new BigDecimal("140") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_142 | new BigDecimal("142") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_144 | new BigDecimal("144") | +| NUMBER_145 | new BigDecimal("145") | +| NUMBER_146 | new BigDecimal("146") | +| NUMBER_147 | new BigDecimal("147") | +| NUMBER_148 | new BigDecimal("148") | +| NUMBER_149 | new BigDecimal("149") | +| NUMBER_150 | new BigDecimal("150") | +| NUMBER_151 | new BigDecimal("151") | +| NUMBER_152 | new BigDecimal("152") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_162 | new BigDecimal("162") | +| NUMBER_163 | new BigDecimal("163") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_166 | new BigDecimal("166") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_168 | new BigDecimal("168") | +| NUMBER_169 | new BigDecimal("169") | +| NUMBER_170 | new BigDecimal("170") | +| NUMBER_171 | new BigDecimal("171") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_174 | new BigDecimal("174") | +| NUMBER_175 | new BigDecimal("175") | +| NUMBER_176 | new BigDecimal("176") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_180 | new BigDecimal("180") | +| NUMBER_181 | new BigDecimal("181") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_195 | new BigDecimal("195") | +| NUMBER_196 | new BigDecimal("196") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_200 | new BigDecimal("200") | +| NUMBER_201 | new BigDecimal("201") | +| NUMBER_202 | new BigDecimal("202") | +| NUMBER_203 | new BigDecimal("203") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_206 | new BigDecimal("206") | +| NUMBER_207 | new BigDecimal("207") | +| NUMBER_208 | new BigDecimal("208") | +| NUMBER_209 | new BigDecimal("209") | +| NUMBER_210 | new BigDecimal("210") | +| NUMBER_211 | new BigDecimal("211") | +| NUMBER_212 | new BigDecimal("212") | +| NUMBER_213 | new BigDecimal("213") | +| NUMBER_214 | new BigDecimal("214") | +| NUMBER_215 | new BigDecimal("215") | +| NUMBER_216 | new BigDecimal("216") | +| NUMBER_217 | new BigDecimal("217") | +| NUMBER_218 | new BigDecimal("218") | +| NUMBER_219 | new BigDecimal("219") | +| NUMBER_220 | new BigDecimal("220") | +| NUMBER_221 | new BigDecimal("221") | +| NUMBER_222 | new BigDecimal("222") | +| NUMBER_223 | new BigDecimal("223") | +| NUMBER_224 | new BigDecimal("224") | +| NUMBER_225 | new BigDecimal("225") | +| NUMBER_226 | new BigDecimal("226") | +| NUMBER_227 | new BigDecimal("227") | +| NUMBER_228 | new BigDecimal("228") | +| NUMBER_229 | new BigDecimal("229") | +| NUMBER_230 | new BigDecimal("230") | +| NUMBER_231 | new BigDecimal("231") | +| NUMBER_232 | new BigDecimal("232") | +| NUMBER_233 | new BigDecimal("233") | +| NUMBER_234 | new BigDecimal("234") | +| NUMBER_235 | new BigDecimal("235") | +| NUMBER_236 | new BigDecimal("236") | +| NUMBER_237 | new BigDecimal("237") | +| NUMBER_238 | new BigDecimal("238") | +| NUMBER_239 | new BigDecimal("239") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_243 | new BigDecimal("243") | +| NUMBER_244 | new BigDecimal("244") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_274 | new BigDecimal("274") | +| NUMBER_275 | new BigDecimal("275") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5019 | new BigDecimal("5019") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5034 | new BigDecimal("5034") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_5037 | new BigDecimal("5037") | +| NUMBER_5038 | new BigDecimal("5038") | +| NUMBER_5039 | new BigDecimal("5039") | +| NUMBER_5040 | new BigDecimal("5040") | +| NUMBER_5041 | new BigDecimal("5041") | +| NUMBER_5042 | new BigDecimal("5042") | +| NUMBER_5043 | new BigDecimal("5043") | +| NUMBER_5044 | new BigDecimal("5044") | +| NUMBER_5045 | new BigDecimal("5045") | +| NUMBER_5046 | new BigDecimal("5046") | +| NUMBER_5068 | new BigDecimal("5068") | +| NUMBER_5069 | new BigDecimal("5069") | +| NUMBER_5070 | new BigDecimal("5070") | +| NUMBER_5071 | new BigDecimal("5071") | +| NUMBER_5072 | new BigDecimal("5072") | +| NUMBER_5073 | new BigDecimal("5073") | +| NUMBER_5074 | new BigDecimal("5074") | +| NUMBER_5075 | new BigDecimal("5075") | +| NUMBER_5076 | new BigDecimal("5076") | +| NUMBER_5077 | new BigDecimal("5077") | +| NUMBER_5079 | new BigDecimal("5079") | +| NUMBER_5080 | new BigDecimal("5080") | +| NUMBER_5081 | new BigDecimal("5081") | +| NUMBER_5082 | new BigDecimal("5082") | +| NUMBER_5083 | new BigDecimal("5083") | +| NUMBER_5084 | new BigDecimal("5084") | +| NUMBER_5085 | new BigDecimal("5085") | +| NUMBER_5086 | new BigDecimal("5086") | +| NUMBER_5087 | new BigDecimal("5087") | +| NUMBER_5088 | new BigDecimal("5088") | +| NUMBER_5089 | new BigDecimal("5089") | +| NUMBER_5090 | new BigDecimal("5090") | +| NUMBER_5091 | new BigDecimal("5091") | +| NUMBER_5092 | new BigDecimal("5092") | +| NUMBER_5093 | new BigDecimal("5093") | +| NUMBER_5094 | new BigDecimal("5094") | +| NUMBER_5095 | new BigDecimal("5095") | +| NUMBER_5096 | new BigDecimal("5096") | +| NUMBER_5097 | new BigDecimal("5097") | +| NUMBER_5098 | new BigDecimal("5098") | +| NUMBER_5099 | new BigDecimal("5099") | +| NUMBER_5100 | new BigDecimal("5100") | +| NUMBER_5101 | new BigDecimal("5101") | +| NUMBER_5102 | new BigDecimal("5102") | +| NUMBER_5103 | new BigDecimal("5103") | +| NUMBER_5104 | new BigDecimal("5104") | +| NUMBER_5105 | new BigDecimal("5105") | +| NUMBER_5106 | new BigDecimal("5106") | +| NUMBER_5107 | new BigDecimal("5107") | +| NUMBER_5108 | new BigDecimal("5108") | +| NUMBER_5109 | new BigDecimal("5109") | +| NUMBER_5110 | new BigDecimal("5110") | +| NUMBER_5111 | new BigDecimal("5111") | +| NUMBER_5112 | new BigDecimal("5112") | +| NUMBER_5113 | new BigDecimal("5113") | +| NUMBER_5114 | new BigDecimal("5114") | +| NUMBER_5115 | new BigDecimal("5115") | +| NUMBER_5116 | new BigDecimal("5116") | +| NUMBER_5117 | new BigDecimal("5117") | +| NUMBER_5118 | new BigDecimal("5118") | +| NUMBER_5119 | new BigDecimal("5119") | +| NUMBER_5120 | new BigDecimal("5120") | +| NUMBER_5121 | new BigDecimal("5121") | +| NUMBER_5122 | new BigDecimal("5122") | +| NUMBER_5123 | new BigDecimal("5123") | +| NUMBER_5124 | new BigDecimal("5124") | +| NUMBER_5125 | new BigDecimal("5125") | +| NUMBER_5126 | new BigDecimal("5126") | +| NUMBER_5127 | new BigDecimal("5127") | +| NUMBER_5129 | new BigDecimal("5129") | +| NUMBER_5130 | new BigDecimal("5130") | +| NUMBER_5131 | new BigDecimal("5131") | +| NUMBER_5132 | new BigDecimal("5132") | +| NUMBER_5133 | new BigDecimal("5133") | +| NUMBER_5134 | new BigDecimal("5134") | +| NUMBER_5135 | new BigDecimal("5135") | +| NUMBER_5136 | new BigDecimal("5136") | +| NUMBER_5137 | new BigDecimal("5137") | +| NUMBER_5138 | new BigDecimal("5138") | +| NUMBER_5139 | new BigDecimal("5139") | +| NUMBER_5140 | new BigDecimal("5140") | +| NUMBER_5141 | new BigDecimal("5141") | +| NUMBER_5142 | new BigDecimal("5142") | +| NUMBER_5143 | new BigDecimal("5143") | +| NUMBER_5144 | new BigDecimal("5144") | +| NUMBER_5145 | new BigDecimal("5145") | +| NUMBER_5146 | new BigDecimal("5146") | +| NUMBER_5147 | new BigDecimal("5147") | +| NUMBER_5148 | new BigDecimal("5148") | +| NUMBER_5149 | new BigDecimal("5149") | +| NUMBER_5150 | new BigDecimal("5150") | +| NUMBER_5151 | new BigDecimal("5151") | +| NUMBER_5152 | new BigDecimal("5152") | +| NUMBER_5153 | new BigDecimal("5153") | +| NUMBER_5154 | new BigDecimal("5154") | +| NUMBER_5157 | new BigDecimal("5157") | +| NUMBER_5158 | new BigDecimal("5158") | +| NUMBER_5159 | new BigDecimal("5159") | +| NUMBER_5160 | new BigDecimal("5160") | +| NUMBER_5161 | new BigDecimal("5161") | +| NUMBER_5162 | new BigDecimal("5162") | +| NUMBER_5163 | new BigDecimal("5163") | +| NUMBER_5164 | new BigDecimal("5164") | +| NUMBER_5165 | new BigDecimal("5165") | +| NUMBER_5166 | new BigDecimal("5166") | +| NUMBER_5167 | new BigDecimal("5167") | +| NUMBER_5168 | new BigDecimal("5168") | +| NUMBER_5169 | new BigDecimal("5169") | +| NUMBER_5170 | new BigDecimal("5170") | +| NUMBER_5171 | new BigDecimal("5171") | +| NUMBER_5172 | new BigDecimal("5172") | +| NUMBER_5173 | new BigDecimal("5173") | +| NUMBER_5174 | new BigDecimal("5174") | +| NUMBER_5175 | new BigDecimal("5175") | +| NUMBER_5176 | new BigDecimal("5176") | +| NUMBER_5177 | new BigDecimal("5177") | +| NUMBER_5178 | new BigDecimal("5178") | +| NUMBER_5179 | new BigDecimal("5179") | +| NUMBER_5180 | new BigDecimal("5180") | +| NUMBER_5181 | new BigDecimal("5181") | +| NUMBER_5182 | new BigDecimal("5182") | +| NUMBER_5184 | new BigDecimal("5184") | +| NUMBER_5185 | new BigDecimal("5185") | +| NUMBER_5186 | new BigDecimal("5186") | +| NUMBER_5187 | new BigDecimal("5187") | +| NUMBER_5188 | new BigDecimal("5188") | +| NUMBER_5189 | new BigDecimal("5189") | +| NUMBER_5190 | new BigDecimal("5190") | +| NUMBER_5191 | new BigDecimal("5191") | +| NUMBER_5196 | new BigDecimal("5196") | +| NUMBER_5198 | new BigDecimal("5198") | +| NUMBER_5199 | new BigDecimal("5199") | +| NUMBER_5200 | new BigDecimal("5200") | +| NUMBER_5201 | new BigDecimal("5201") | +| NUMBER_5202 | new BigDecimal("5202") | +| NUMBER_5203 | new BigDecimal("5203") | +| NUMBER_5204 | new BigDecimal("5204") | +| NUMBER_5205 | new BigDecimal("5205") | +| NUMBER_5206 | new BigDecimal("5206") | +| NUMBER_5207 | new BigDecimal("5207") | +| NUMBER_5211 | new BigDecimal("5211") | +| NUMBER_5212 | new BigDecimal("5212") | +| NUMBER_90001 | new BigDecimal("90001") | +| NUMBER_90002 | new BigDecimal("90002") | +| NUMBER_90003 | new BigDecimal("90003") | +| NUMBER_90004 | new BigDecimal("90004") | +| NUMBER_90005 | new BigDecimal("90005") | +| NUMBER_90006 | new BigDecimal("90006") | +| NUMBER_90007 | new BigDecimal("90007") | +| NUMBER_90008 | new BigDecimal("90008") | +| NUMBER_90009 | new BigDecimal("90009") | +| NUMBER_90010 | new BigDecimal("90010") | +| NUMBER_90011 | new BigDecimal("90011") | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md new file mode 100644 index 0000000..4f5af94 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md @@ -0,0 +1,59 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**languageCode** | [**LanguageCodeEnum**](#LanguageCodeEnum) | The language code of the message.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | +|**text** | **String** | The message text. | | + + + +## Enum: LanguageCodeEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.md b/docs/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.md new file mode 100644 index 0000000..cd3b394 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.md @@ -0,0 +1,16 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyGuestInfo + +Information regarding requirements towards guests. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**guestAddressRequired** | **Boolean** | Whether the address of the guest is required to book this property. | | +|**guestContactNumberRequired** | **Boolean** | Whether the phone number of the guest is required to book this property. | | +|**guestNameListRequired** | **Boolean** | Whether a list of the guests names is required to book this property. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.md new file mode 100644 index 0000000..302c836 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.md @@ -0,0 +1,33 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPolicyListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**checkInTime** | **BigDecimal** | Check-in time (unix timestamp in ms). | | +|**checkOutTime** | **BigDecimal** | Check-out time (unix timestamp in ms). | | +|**totalGuestCount** | **BigDecimal** | The maximum number of guests allowed. | [optional] | +|**cancellationPolicyList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner>**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md) | List of cancellation policies. | | +|**advanceBookingMin** | **BigDecimal** | The minimum number of days in advance a booking must be made | | +|**advanceBookingMax** | **BigDecimal** | The maximum number of days in advance a booking can be made | | +|**petsPolicy** | [**PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md) | | [optional] | +|**prepaymentPolicy** | [**PrepaymentPolicyEnum**](#PrepaymentPolicyEnum) | The type of the prepayment policy. | [optional] | +|**guaranteePolicy** | [**PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md) | | [optional] | +|**taxPolicyList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner>**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md) | A list of taxes and their policies. | | +|**feePolicyList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner>**](PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md) | A list of fees and their policies. | | +|**name** | **String** | The name of this policy. | [optional] | + + + +## Enum: PrepaymentPolicyEnum + +| Name | Value | +|---- | -----| +| CANCELLATION_FEE_BEGINS | "after_cancellation_fee_begins" | +| RESERVATION_IS_MADE | "after_reservation_is_made" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md new file mode 100644 index 0000000..610c9cb --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.md @@ -0,0 +1,19 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**percentAfterReservation** | **BigDecimal** | Percentage of refund after reservation. | | +|**nightsAfterReservation** | **BigDecimal** | Number of nights after reservation. | | +|**deadlineDays** | **BigDecimal** | Deadline in days. | | +|**deadlineHours** | **BigDecimal** | Deadline in hours. | | +|**percentAfterDeadline** | **BigDecimal** | Percentage of refund after deadline. | | +|**nightsAfterDeadline** | **BigDecimal** | Number of nights after deadline. | | +|**noShowPolicy** | **String** | No-show policy | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md new file mode 100644 index 0000000..17e0566 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.md @@ -0,0 +1,193 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**typeCode** | [**TypeCodeEnum**](#TypeCodeEnum) | The code that represents the type of fee.<p>See also <a href=\"#feetype-codes\">in the appendix</a>.</p> | | +|**percent** | **BigDecimal** | The charged percentage if applicable. | [optional] | +|**chargeType** | [**ChargeTypeEnum**](#ChargeTypeEnum) | The type of charge. | | +|**chargeFrequencyCode** | [**ChargeFrequencyCodeEnum**](#ChargeFrequencyCodeEnum) | The code that represents the frequency of charge.<p>See also <a href=\"#chargetype-codes\">in the appendix</a>.</p> | | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency code of the currency in that the charge is applied.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> | | +|**conditionList** | [**List<ConditionListEnum>**](#List<ConditionListEnum>) | A list of conditions for the tax. Is empty if <code>chargeType</code> is not <code>conditional</code>. | | + + + +## Enum: TypeCodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5019 | new BigDecimal("5019") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_20001 | new BigDecimal("20001") | + + + +## Enum: ChargeTypeEnum + +| Name | Value | +|---- | -----| +| INCLUDED | "included" | +| EXCLUDED | "excluded" | +| CONDITIONAL | "conditional" | + + + +## Enum: ChargeFrequencyCodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_90010 | new BigDecimal("90010") | +| NUMBER_90011 | new BigDecimal("90011") | +| NUMBER_90012 | new BigDecimal("90012") | +| NUMBER_90013 | new BigDecimal("90013") | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + +## Enum: List<ConditionListEnum> + +| Name | Value | +|---- | -----| +| BRINGS_PET | "guest_brings_pet" | +| DOESNT_CLEAN_BEFORE_CHECKOUT | "guest_doesnt_clean_before_checkout" | +| SMOKES | "guest_smokes" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md new file mode 100644 index 0000000..63101d8 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.md @@ -0,0 +1,20 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy + +Defines the guarantee amount that has to be paid to the property. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**percentAfterReservation** | **BigDecimal** | Percentage of refund after reservation. | | +|**nightsAfterReservation** | **BigDecimal** | Number of nights after reservation. | | +|**deadlineDays** | **BigDecimal** | Deadline in days. | | +|**deadlineHours** | **BigDecimal** | Deadline in hours. | | +|**percentAfterDeadline** | **BigDecimal** | Percentage of refund after deadline. | | +|**nightsAfterDeadline** | **BigDecimal** | Number of nights after deadline. | | +|**noShowPolicy** | **String** | No-show policy | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md new file mode 100644 index 0000000..8240bc5 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.md @@ -0,0 +1,16 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy + +Contains information about the pets policy of the property + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**allowed** | **Boolean** | Indicates if pets are allowed in the property. | | +|**byArrangement** | **Boolean** | Indicates if pets are allowed by arrangement. | | +|**freeOfCharge** | **Boolean** | Indicates if pets are allowed without any additional charge. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md new file mode 100644 index 0000000..2b3effe --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.md @@ -0,0 +1,160 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**typeCode** | [**TypeCodeEnum**](#TypeCodeEnum) | The code that represents the type of tax.<p>See also <a href=\"#taxtype-codes\">in the appendix</a>.</p> | | +|**percent** | **BigDecimal** | The charged percentage if applicable. | [optional] | +|**chargeType** | [**ChargeTypeEnum**](#ChargeTypeEnum) | The type of charge. | | +|**chargeFrequencyCode** | [**ChargeFrequencyCodeEnum**](#ChargeFrequencyCodeEnum) | The code that represents the frequency of charge.<p>See also <a href=\"#chargetype-codes\">in the appendix</a>.</p> | | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency code of the currency in that the charge is applied.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> | | +|**conditionList** | [**List<ConditionListEnum>**](#List<ConditionListEnum>) | A list of conditions for the tax. Is empty if <code>chargeType</code> is not <code>conditional</code>. | | + + + +## Enum: TypeCodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | + + + +## Enum: ChargeTypeEnum + +| Name | Value | +|---- | -----| +| INCLUDED | "included" | +| EXCLUDED | "excluded" | +| CONDITIONAL | "conditional" | + + + +## Enum: ChargeFrequencyCodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_90010 | new BigDecimal("90010") | +| NUMBER_90011 | new BigDecimal("90011") | +| NUMBER_90012 | new BigDecimal("90012") | +| NUMBER_90013 | new BigDecimal("90013") | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + +## Enum: List<ConditionListEnum> + +| Name | Value | +|---- | -----| +| BRINGS_PET | "guest_brings_pet" | +| DOESNT_CLEAN_BEFORE_CHECKOUT | "guest_doesnt_clean_before_checkout" | +| SMOKES | "guest_smokes" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.md new file mode 100644 index 0000000..f64a357 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.md @@ -0,0 +1,162 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPropertyInfo + +General information regarding the property. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**unitCount** | **BigDecimal** | The amount of units the property has. | [optional] | +|**messageList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner>**](PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.md) | Contains a descriptive message for this property in all supported languages. | | +|**categoryList** | [**List<CategoryListEnum>**](#List<CategoryListEnum>) | A list of code of the property class types that apply to the property. | | +|**languageList** | [**List<LanguageListEnum>**](#List<LanguageListEnum>) | The codes of languages the staff of this property can speak. Please note that these codes partially differ from the two character ISO language codes widely used throughout the API as they partially include country specific language code.<p>See also <a href=\"#languagecountry-code\">in the appendix</a>.</p> | | +|**location** | [**AvailablePropertiesInner1GeoLocation**](AvailablePropertiesInner1GeoLocation.md) | | [optional] | +|**acceptedPaymentList** | [**List<PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner>**](PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md) | A list of the accepted payment methods. Payment methods might subject to frequent change as payment providers come and go. You should always implement a way to handle new, unexpected payment methods.<p>See also <a href=\"#paymenttypes\">in the appendix</a>.</p> | | + + + +## Enum: List<CategoryListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | + + + +## Enum: List<LanguageListEnum> + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| AZ | "az" | +| BE | "be" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| EN_GB | "en-gb" | +| EN_US | "en-us" | +| ES | "es" | +| ES_AR | "es-ar" | +| ET | "et" | +| FR | "fr" | +| FI | "fi" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KM | "km" | +| KO | "ko" | +| LO | "lo" | +| LT | "lt" | +| LV | "lv" | +| MS | "ms" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| PT_BR | "pt-br" | +| PT_PT | "pt-pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TL | "tl" | +| TH | "th" | +| TR | "tr" | +| UK | "uk" | +| VI | "vi" | +| XA | "xa" | +| XB | "xb" | +| XS | "xs" | +| XT | "xt" | +| XU | "xu" | +| ZH | "zh" | +| ZH_CN | "zh-cn" | +| ZH_TW | "zh-tw" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md new file mode 100644 index 0000000..3ba7440 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md @@ -0,0 +1,57 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | [**CodeEnum**](#CodeEnum) | The code of the payment option. | | +|**type** | [**TypeEnum**](#TypeEnum) | The type of the payment option. | | + + + +## Enum: CodeEnum + +| Name | Value | +|---- | -----| +| AMEX | "amex" | +| VISA | "visa" | +| MASTERCARD | "mastercard" | +| DINERS | "diners" | +| JCB | "jcb" | +| MAESTRO | "maestro" | +| DISCOVER | "discover" | +| BANCONTACT | "bancontact" | +| CASHONLY | "cashonly" | +| BANKCARD | "bankcard" | +| CARTASI | "cartasi" | +| ARGENCARD | "argencard" | +| CABAL | "cabal" | +| REDCOMPRA | "redcompra" | +| OTHER | "other" | +| GREATWALL | "greatwall" | +| DRAGONPAY | "dragonpay" | +| EFTPOS | "eftpos" | +| HIPERCARD | "hipercard" | +| UNIONPAYDEBIT | "unionpaydebit" | +| ECCARD | "eccard" | +| BCCARD | "bccard" | +| MASTERCARDVIRTUAL | "mastercardvirtual" | +| MASTERCARDGOOGLE | "mastercardgoogle" | +| UNIONPAYCREDIT | "unionpaycredit" | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| CREDITCARD | "creditcard" | +| DEBITCARD | "debitcard" | +| PAYMENTSERVICE | "paymentservice" | +| CASH | "cash" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.md new file mode 100644 index 0000000..b39351d --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.md @@ -0,0 +1,59 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**languageCode** | [**LanguageCodeEnum**](#LanguageCodeEnum) | The language of this message.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> | | +|**text** | **String** | The text of this message. | | + + + +## Enum: LanguageCodeEnum + +| Name | Value | +|---- | -----| +| AF | "af" | +| AR | "ar" | +| BG | "bg" | +| CA | "ca" | +| CS | "cs" | +| DA | "da" | +| DE | "de" | +| EL | "el" | +| EN | "en" | +| ES | "es" | +| ET | "et" | +| FI | "fi" | +| FR | "fr" | +| HE | "he" | +| HI | "hi" | +| HR | "hr" | +| HU | "hu" | +| ID | "id" | +| IS | "is" | +| IT | "it" | +| JA | "ja" | +| KO | "ko" | +| LT | "lt" | +| LV | "lv" | +| NL | "nl" | +| NO | "no" | +| PL | "pl" | +| PT | "pt" | +| RO | "ro" | +| RU | "ru" | +| SK | "sk" | +| SL | "sl" | +| SR | "sr" | +| SV | "sv" | +| TH | "th" | +| TR | "tr" | +| VI | "vi" | +| ZH | "zh" | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.md b/docs/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.md new file mode 100644 index 0000000..4888abe --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.md @@ -0,0 +1,17 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyRecordCreated + +Information regarding the creation of the property object. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**user** | **String** | The user that performed the edit action on the property. | | +|**tenant** | **String** | The tenant for which the user performed the edit action on the property. | | +|**role** | **String** | The role of the user that performed the edit action on the property. | [optional] | +|**time** | **BigDecimal** | The timestamp at which the edit action was performed. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyRecordModified.md b/docs/PropertiesPropertyIdGet200ResponsePropertyRecordModified.md new file mode 100644 index 0000000..5f683e7 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyRecordModified.md @@ -0,0 +1,17 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyRecordModified + +Information regarding the last modification of the property object. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**user** | **String** | The user that performed the edit action on the property. | | +|**tenant** | **String** | The tenant for which the user performed the edit action on the property. | | +|**role** | **String** | The role of the user that performed the edit action on the property. | [optional] | +|**time** | **BigDecimal** | The timestamp at which the edit action was performed. | | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.md new file mode 100644 index 0000000..aa879bd --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.md @@ -0,0 +1,671 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyServiceListInner + +An object describing the service, its pricing and its availability. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | [**CodeEnum**](#CodeEnum) | The code of this service<p>See also <a href=\"#servicecodes\">in the appendix</a>.</p> | | +|**price** | **BigDecimal** | The surcharge for this service. | | +|**exists** | **Boolean** | Whether this service is available. | | +|**included** | **Boolean** | Whether this service is complementary. | | +|**currencyCode** | [**CurrencyCodeEnum**](#CurrencyCodeEnum) | The currency of the surcharge for this service | | +|**featureList** | [**List<FeatureListEnum>**](#List<FeatureListEnum>) | A list of features. | | +|**typeList** | [**List<TypeListEnum>**](#List<TypeListEnum>) | A list of codes describing the available breakfast type.<p>See also <a href=\"#breakfasttype-codes\">in the appendix</a>.</p> | | +|**itemList** | [**List<ItemListEnum>**](#List<ItemListEnum>) | A list of codes describing the available breakfast items.<p>See also <a href=\"#breakfastitem-codes\">in the appendix</a>.</p> | | +|**operationTimeList** | [**List<PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner>**](PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.md) | A list of operation times, including start and end times, and the days of the week on which the operation is open. | | +|**name** | **String** | The name of this service. | | + + + +## Enum: CodeEnum + +| Name | Value | +|---- | -----| +| NUMBER_1 | new BigDecimal("1") | +| NUMBER_2 | new BigDecimal("2") | +| NUMBER_3 | new BigDecimal("3") | +| NUMBER_4 | new BigDecimal("4") | +| NUMBER_5 | new BigDecimal("5") | +| NUMBER_6 | new BigDecimal("6") | +| NUMBER_7 | new BigDecimal("7") | +| NUMBER_8 | new BigDecimal("8") | +| NUMBER_9 | new BigDecimal("9") | +| NUMBER_10 | new BigDecimal("10") | +| NUMBER_11 | new BigDecimal("11") | +| NUMBER_12 | new BigDecimal("12") | +| NUMBER_13 | new BigDecimal("13") | +| NUMBER_14 | new BigDecimal("14") | +| NUMBER_15 | new BigDecimal("15") | +| NUMBER_16 | new BigDecimal("16") | +| NUMBER_17 | new BigDecimal("17") | +| NUMBER_18 | new BigDecimal("18") | +| NUMBER_19 | new BigDecimal("19") | +| NUMBER_20 | new BigDecimal("20") | +| NUMBER_21 | new BigDecimal("21") | +| NUMBER_22 | new BigDecimal("22") | +| NUMBER_23 | new BigDecimal("23") | +| NUMBER_24 | new BigDecimal("24") | +| NUMBER_25 | new BigDecimal("25") | +| NUMBER_26 | new BigDecimal("26") | +| NUMBER_27 | new BigDecimal("27") | +| NUMBER_28 | new BigDecimal("28") | +| NUMBER_29 | new BigDecimal("29") | +| NUMBER_30 | new BigDecimal("30") | +| NUMBER_31 | new BigDecimal("31") | +| NUMBER_32 | new BigDecimal("32") | +| NUMBER_33 | new BigDecimal("33") | +| NUMBER_34 | new BigDecimal("34") | +| NUMBER_35 | new BigDecimal("35") | +| NUMBER_36 | new BigDecimal("36") | +| NUMBER_37 | new BigDecimal("37") | +| NUMBER_38 | new BigDecimal("38") | +| NUMBER_39 | new BigDecimal("39") | +| NUMBER_40 | new BigDecimal("40") | +| NUMBER_41 | new BigDecimal("41") | +| NUMBER_42 | new BigDecimal("42") | +| NUMBER_43 | new BigDecimal("43") | +| NUMBER_44 | new BigDecimal("44") | +| NUMBER_45 | new BigDecimal("45") | +| NUMBER_46 | new BigDecimal("46") | +| NUMBER_47 | new BigDecimal("47") | +| NUMBER_48 | new BigDecimal("48") | +| NUMBER_49 | new BigDecimal("49") | +| NUMBER_50 | new BigDecimal("50") | +| NUMBER_51 | new BigDecimal("51") | +| NUMBER_52 | new BigDecimal("52") | +| NUMBER_53 | new BigDecimal("53") | +| NUMBER_54 | new BigDecimal("54") | +| NUMBER_55 | new BigDecimal("55") | +| NUMBER_56 | new BigDecimal("56") | +| NUMBER_57 | new BigDecimal("57") | +| NUMBER_58 | new BigDecimal("58") | +| NUMBER_59 | new BigDecimal("59") | +| NUMBER_60 | new BigDecimal("60") | +| NUMBER_61 | new BigDecimal("61") | +| NUMBER_62 | new BigDecimal("62") | +| NUMBER_63 | new BigDecimal("63") | +| NUMBER_64 | new BigDecimal("64") | +| NUMBER_65 | new BigDecimal("65") | +| NUMBER_66 | new BigDecimal("66") | +| NUMBER_67 | new BigDecimal("67") | +| NUMBER_68 | new BigDecimal("68") | +| NUMBER_69 | new BigDecimal("69") | +| NUMBER_70 | new BigDecimal("70") | +| NUMBER_71 | new BigDecimal("71") | +| NUMBER_72 | new BigDecimal("72") | +| NUMBER_73 | new BigDecimal("73") | +| NUMBER_74 | new BigDecimal("74") | +| NUMBER_75 | new BigDecimal("75") | +| NUMBER_76 | new BigDecimal("76") | +| NUMBER_77 | new BigDecimal("77") | +| NUMBER_78 | new BigDecimal("78") | +| NUMBER_79 | new BigDecimal("79") | +| NUMBER_80 | new BigDecimal("80") | +| NUMBER_81 | new BigDecimal("81") | +| NUMBER_82 | new BigDecimal("82") | +| NUMBER_83 | new BigDecimal("83") | +| NUMBER_84 | new BigDecimal("84") | +| NUMBER_85 | new BigDecimal("85") | +| NUMBER_86 | new BigDecimal("86") | +| NUMBER_87 | new BigDecimal("87") | +| NUMBER_88 | new BigDecimal("88") | +| NUMBER_89 | new BigDecimal("89") | +| NUMBER_90 | new BigDecimal("90") | +| NUMBER_91 | new BigDecimal("91") | +| NUMBER_92 | new BigDecimal("92") | +| NUMBER_93 | new BigDecimal("93") | +| NUMBER_94 | new BigDecimal("94") | +| NUMBER_95 | new BigDecimal("95") | +| NUMBER_96 | new BigDecimal("96") | +| NUMBER_97 | new BigDecimal("97") | +| NUMBER_98 | new BigDecimal("98") | +| NUMBER_99 | new BigDecimal("99") | +| NUMBER_100 | new BigDecimal("100") | +| NUMBER_101 | new BigDecimal("101") | +| NUMBER_102 | new BigDecimal("102") | +| NUMBER_103 | new BigDecimal("103") | +| NUMBER_104 | new BigDecimal("104") | +| NUMBER_105 | new BigDecimal("105") | +| NUMBER_106 | new BigDecimal("106") | +| NUMBER_107 | new BigDecimal("107") | +| NUMBER_108 | new BigDecimal("108") | +| NUMBER_109 | new BigDecimal("109") | +| NUMBER_110 | new BigDecimal("110") | +| NUMBER_111 | new BigDecimal("111") | +| NUMBER_112 | new BigDecimal("112") | +| NUMBER_113 | new BigDecimal("113") | +| NUMBER_114 | new BigDecimal("114") | +| NUMBER_115 | new BigDecimal("115") | +| NUMBER_116 | new BigDecimal("116") | +| NUMBER_117 | new BigDecimal("117") | +| NUMBER_118 | new BigDecimal("118") | +| NUMBER_119 | new BigDecimal("119") | +| NUMBER_120 | new BigDecimal("120") | +| NUMBER_121 | new BigDecimal("121") | +| NUMBER_122 | new BigDecimal("122") | +| NUMBER_123 | new BigDecimal("123") | +| NUMBER_124 | new BigDecimal("124") | +| NUMBER_125 | new BigDecimal("125") | +| NUMBER_126 | new BigDecimal("126") | +| NUMBER_127 | new BigDecimal("127") | +| NUMBER_128 | new BigDecimal("128") | +| NUMBER_129 | new BigDecimal("129") | +| NUMBER_130 | new BigDecimal("130") | +| NUMBER_131 | new BigDecimal("131") | +| NUMBER_132 | new BigDecimal("132") | +| NUMBER_133 | new BigDecimal("133") | +| NUMBER_134 | new BigDecimal("134") | +| NUMBER_135 | new BigDecimal("135") | +| NUMBER_136 | new BigDecimal("136") | +| NUMBER_137 | new BigDecimal("137") | +| NUMBER_138 | new BigDecimal("138") | +| NUMBER_139 | new BigDecimal("139") | +| NUMBER_140 | new BigDecimal("140") | +| NUMBER_141 | new BigDecimal("141") | +| NUMBER_142 | new BigDecimal("142") | +| NUMBER_143 | new BigDecimal("143") | +| NUMBER_144 | new BigDecimal("144") | +| NUMBER_145 | new BigDecimal("145") | +| NUMBER_146 | new BigDecimal("146") | +| NUMBER_147 | new BigDecimal("147") | +| NUMBER_148 | new BigDecimal("148") | +| NUMBER_149 | new BigDecimal("149") | +| NUMBER_150 | new BigDecimal("150") | +| NUMBER_151 | new BigDecimal("151") | +| NUMBER_152 | new BigDecimal("152") | +| NUMBER_153 | new BigDecimal("153") | +| NUMBER_154 | new BigDecimal("154") | +| NUMBER_155 | new BigDecimal("155") | +| NUMBER_156 | new BigDecimal("156") | +| NUMBER_157 | new BigDecimal("157") | +| NUMBER_158 | new BigDecimal("158") | +| NUMBER_159 | new BigDecimal("159") | +| NUMBER_160 | new BigDecimal("160") | +| NUMBER_161 | new BigDecimal("161") | +| NUMBER_162 | new BigDecimal("162") | +| NUMBER_163 | new BigDecimal("163") | +| NUMBER_164 | new BigDecimal("164") | +| NUMBER_165 | new BigDecimal("165") | +| NUMBER_166 | new BigDecimal("166") | +| NUMBER_167 | new BigDecimal("167") | +| NUMBER_168 | new BigDecimal("168") | +| NUMBER_169 | new BigDecimal("169") | +| NUMBER_170 | new BigDecimal("170") | +| NUMBER_171 | new BigDecimal("171") | +| NUMBER_172 | new BigDecimal("172") | +| NUMBER_173 | new BigDecimal("173") | +| NUMBER_174 | new BigDecimal("174") | +| NUMBER_175 | new BigDecimal("175") | +| NUMBER_176 | new BigDecimal("176") | +| NUMBER_177 | new BigDecimal("177") | +| NUMBER_178 | new BigDecimal("178") | +| NUMBER_179 | new BigDecimal("179") | +| NUMBER_180 | new BigDecimal("180") | +| NUMBER_181 | new BigDecimal("181") | +| NUMBER_182 | new BigDecimal("182") | +| NUMBER_183 | new BigDecimal("183") | +| NUMBER_184 | new BigDecimal("184") | +| NUMBER_185 | new BigDecimal("185") | +| NUMBER_186 | new BigDecimal("186") | +| NUMBER_187 | new BigDecimal("187") | +| NUMBER_188 | new BigDecimal("188") | +| NUMBER_189 | new BigDecimal("189") | +| NUMBER_190 | new BigDecimal("190") | +| NUMBER_191 | new BigDecimal("191") | +| NUMBER_192 | new BigDecimal("192") | +| NUMBER_193 | new BigDecimal("193") | +| NUMBER_194 | new BigDecimal("194") | +| NUMBER_195 | new BigDecimal("195") | +| NUMBER_196 | new BigDecimal("196") | +| NUMBER_197 | new BigDecimal("197") | +| NUMBER_198 | new BigDecimal("198") | +| NUMBER_199 | new BigDecimal("199") | +| NUMBER_200 | new BigDecimal("200") | +| NUMBER_201 | new BigDecimal("201") | +| NUMBER_202 | new BigDecimal("202") | +| NUMBER_203 | new BigDecimal("203") | +| NUMBER_204 | new BigDecimal("204") | +| NUMBER_205 | new BigDecimal("205") | +| NUMBER_206 | new BigDecimal("206") | +| NUMBER_207 | new BigDecimal("207") | +| NUMBER_208 | new BigDecimal("208") | +| NUMBER_209 | new BigDecimal("209") | +| NUMBER_210 | new BigDecimal("210") | +| NUMBER_211 | new BigDecimal("211") | +| NUMBER_212 | new BigDecimal("212") | +| NUMBER_213 | new BigDecimal("213") | +| NUMBER_214 | new BigDecimal("214") | +| NUMBER_215 | new BigDecimal("215") | +| NUMBER_216 | new BigDecimal("216") | +| NUMBER_217 | new BigDecimal("217") | +| NUMBER_218 | new BigDecimal("218") | +| NUMBER_219 | new BigDecimal("219") | +| NUMBER_220 | new BigDecimal("220") | +| NUMBER_221 | new BigDecimal("221") | +| NUMBER_222 | new BigDecimal("222") | +| NUMBER_223 | new BigDecimal("223") | +| NUMBER_224 | new BigDecimal("224") | +| NUMBER_225 | new BigDecimal("225") | +| NUMBER_226 | new BigDecimal("226") | +| NUMBER_227 | new BigDecimal("227") | +| NUMBER_228 | new BigDecimal("228") | +| NUMBER_229 | new BigDecimal("229") | +| NUMBER_230 | new BigDecimal("230") | +| NUMBER_231 | new BigDecimal("231") | +| NUMBER_232 | new BigDecimal("232") | +| NUMBER_233 | new BigDecimal("233") | +| NUMBER_234 | new BigDecimal("234") | +| NUMBER_235 | new BigDecimal("235") | +| NUMBER_236 | new BigDecimal("236") | +| NUMBER_237 | new BigDecimal("237") | +| NUMBER_238 | new BigDecimal("238") | +| NUMBER_239 | new BigDecimal("239") | +| NUMBER_240 | new BigDecimal("240") | +| NUMBER_241 | new BigDecimal("241") | +| NUMBER_242 | new BigDecimal("242") | +| NUMBER_243 | new BigDecimal("243") | +| NUMBER_244 | new BigDecimal("244") | +| NUMBER_245 | new BigDecimal("245") | +| NUMBER_246 | new BigDecimal("246") | +| NUMBER_247 | new BigDecimal("247") | +| NUMBER_248 | new BigDecimal("248") | +| NUMBER_249 | new BigDecimal("249") | +| NUMBER_250 | new BigDecimal("250") | +| NUMBER_251 | new BigDecimal("251") | +| NUMBER_252 | new BigDecimal("252") | +| NUMBER_253 | new BigDecimal("253") | +| NUMBER_254 | new BigDecimal("254") | +| NUMBER_255 | new BigDecimal("255") | +| NUMBER_256 | new BigDecimal("256") | +| NUMBER_257 | new BigDecimal("257") | +| NUMBER_258 | new BigDecimal("258") | +| NUMBER_259 | new BigDecimal("259") | +| NUMBER_260 | new BigDecimal("260") | +| NUMBER_261 | new BigDecimal("261") | +| NUMBER_262 | new BigDecimal("262") | +| NUMBER_263 | new BigDecimal("263") | +| NUMBER_264 | new BigDecimal("264") | +| NUMBER_265 | new BigDecimal("265") | +| NUMBER_266 | new BigDecimal("266") | +| NUMBER_267 | new BigDecimal("267") | +| NUMBER_268 | new BigDecimal("268") | +| NUMBER_269 | new BigDecimal("269") | +| NUMBER_270 | new BigDecimal("270") | +| NUMBER_271 | new BigDecimal("271") | +| NUMBER_272 | new BigDecimal("272") | +| NUMBER_273 | new BigDecimal("273") | +| NUMBER_274 | new BigDecimal("274") | +| NUMBER_275 | new BigDecimal("275") | +| NUMBER_276 | new BigDecimal("276") | +| NUMBER_277 | new BigDecimal("277") | +| NUMBER_278 | new BigDecimal("278") | +| NUMBER_279 | new BigDecimal("279") | +| NUMBER_280 | new BigDecimal("280") | +| NUMBER_281 | new BigDecimal("281") | +| NUMBER_282 | new BigDecimal("282") | +| NUMBER_283 | new BigDecimal("283") | +| NUMBER_284 | new BigDecimal("284") | +| NUMBER_285 | new BigDecimal("285") | +| NUMBER_286 | new BigDecimal("286") | +| NUMBER_287 | new BigDecimal("287") | +| NUMBER_288 | new BigDecimal("288") | +| NUMBER_289 | new BigDecimal("289") | +| NUMBER_290 | new BigDecimal("290") | +| NUMBER_291 | new BigDecimal("291") | +| NUMBER_292 | new BigDecimal("292") | +| NUMBER_293 | new BigDecimal("293") | +| NUMBER_294 | new BigDecimal("294") | +| NUMBER_295 | new BigDecimal("295") | +| NUMBER_296 | new BigDecimal("296") | +| NUMBER_297 | new BigDecimal("297") | +| NUMBER_298 | new BigDecimal("298") | +| NUMBER_299 | new BigDecimal("299") | +| NUMBER_300 | new BigDecimal("300") | +| NUMBER_301 | new BigDecimal("301") | +| NUMBER_302 | new BigDecimal("302") | +| NUMBER_303 | new BigDecimal("303") | +| NUMBER_304 | new BigDecimal("304") | +| NUMBER_305 | new BigDecimal("305") | +| NUMBER_306 | new BigDecimal("306") | +| NUMBER_307 | new BigDecimal("307") | +| NUMBER_308 | new BigDecimal("308") | +| NUMBER_309 | new BigDecimal("309") | +| NUMBER_310 | new BigDecimal("310") | +| NUMBER_311 | new BigDecimal("311") | +| NUMBER_312 | new BigDecimal("312") | +| NUMBER_313 | new BigDecimal("313") | +| NUMBER_314 | new BigDecimal("314") | +| NUMBER_315 | new BigDecimal("315") | +| NUMBER_316 | new BigDecimal("316") | +| NUMBER_317 | new BigDecimal("317") | +| NUMBER_318 | new BigDecimal("318") | +| NUMBER_319 | new BigDecimal("319") | +| NUMBER_320 | new BigDecimal("320") | +| NUMBER_321 | new BigDecimal("321") | +| NUMBER_322 | new BigDecimal("322") | +| NUMBER_323 | new BigDecimal("323") | +| NUMBER_324 | new BigDecimal("324") | +| NUMBER_325 | new BigDecimal("325") | +| NUMBER_326 | new BigDecimal("326") | +| NUMBER_327 | new BigDecimal("327") | +| NUMBER_328 | new BigDecimal("328") | +| NUMBER_329 | new BigDecimal("329") | +| NUMBER_331 | new BigDecimal("331") | +| NUMBER_332 | new BigDecimal("332") | +| NUMBER_333 | new BigDecimal("333") | +| NUMBER_334 | new BigDecimal("334") | +| NUMBER_335 | new BigDecimal("335") | +| NUMBER_336 | new BigDecimal("336") | +| NUMBER_337 | new BigDecimal("337") | +| NUMBER_338 | new BigDecimal("338") | +| NUMBER_339 | new BigDecimal("339") | +| NUMBER_340 | new BigDecimal("340") | +| NUMBER_341 | new BigDecimal("341") | +| NUMBER_342 | new BigDecimal("342") | +| NUMBER_343 | new BigDecimal("343") | +| NUMBER_344 | new BigDecimal("344") | +| NUMBER_345 | new BigDecimal("345") | +| NUMBER_348 | new BigDecimal("348") | +| NUMBER_349 | new BigDecimal("349") | +| NUMBER_350 | new BigDecimal("350") | +| NUMBER_351 | new BigDecimal("351") | +| NUMBER_5000 | new BigDecimal("5000") | +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5020 | new BigDecimal("5020") | +| NUMBER_5021 | new BigDecimal("5021") | +| NUMBER_5022 | new BigDecimal("5022") | +| NUMBER_5023 | new BigDecimal("5023") | +| NUMBER_5024 | new BigDecimal("5024") | +| NUMBER_5025 | new BigDecimal("5025") | +| NUMBER_5026 | new BigDecimal("5026") | +| NUMBER_5027 | new BigDecimal("5027") | +| NUMBER_5028 | new BigDecimal("5028") | +| NUMBER_5029 | new BigDecimal("5029") | +| NUMBER_5030 | new BigDecimal("5030") | +| NUMBER_5031 | new BigDecimal("5031") | +| NUMBER_5032 | new BigDecimal("5032") | +| NUMBER_5033 | new BigDecimal("5033") | +| NUMBER_5034 | new BigDecimal("5034") | +| NUMBER_5035 | new BigDecimal("5035") | +| NUMBER_5036 | new BigDecimal("5036") | +| NUMBER_5037 | new BigDecimal("5037") | +| NUMBER_5039 | new BigDecimal("5039") | +| NUMBER_5040 | new BigDecimal("5040") | +| NUMBER_5041 | new BigDecimal("5041") | +| NUMBER_5042 | new BigDecimal("5042") | +| NUMBER_5043 | new BigDecimal("5043") | +| NUMBER_5044 | new BigDecimal("5044") | +| NUMBER_5045 | new BigDecimal("5045") | +| NUMBER_5046 | new BigDecimal("5046") | +| NUMBER_5047 | new BigDecimal("5047") | +| NUMBER_5048 | new BigDecimal("5048") | +| NUMBER_5049 | new BigDecimal("5049") | +| NUMBER_5050 | new BigDecimal("5050") | +| NUMBER_5051 | new BigDecimal("5051") | +| NUMBER_5052 | new BigDecimal("5052") | +| NUMBER_5053 | new BigDecimal("5053") | +| NUMBER_5054 | new BigDecimal("5054") | +| NUMBER_5055 | new BigDecimal("5055") | +| NUMBER_5056 | new BigDecimal("5056") | +| NUMBER_5057 | new BigDecimal("5057") | +| NUMBER_5058 | new BigDecimal("5058") | +| NUMBER_5059 | new BigDecimal("5059") | +| NUMBER_5060 | new BigDecimal("5060") | +| NUMBER_5061 | new BigDecimal("5061") | +| NUMBER_5062 | new BigDecimal("5062") | +| NUMBER_5063 | new BigDecimal("5063") | +| NUMBER_5064 | new BigDecimal("5064") | +| NUMBER_5065 | new BigDecimal("5065") | +| NUMBER_5066 | new BigDecimal("5066") | +| NUMBER_5067 | new BigDecimal("5067") | +| NUMBER_5068 | new BigDecimal("5068") | +| NUMBER_5069 | new BigDecimal("5069") | +| NUMBER_5070 | new BigDecimal("5070") | +| NUMBER_5071 | new BigDecimal("5071") | +| NUMBER_5072 | new BigDecimal("5072") | +| NUMBER_5073 | new BigDecimal("5073") | +| NUMBER_5074 | new BigDecimal("5074") | +| NUMBER_5075 | new BigDecimal("5075") | +| NUMBER_5076 | new BigDecimal("5076") | +| NUMBER_5077 | new BigDecimal("5077") | +| NUMBER_5078 | new BigDecimal("5078") | +| NUMBER_5079 | new BigDecimal("5079") | +| NUMBER_5080 | new BigDecimal("5080") | +| NUMBER_5081 | new BigDecimal("5081") | +| NUMBER_5082 | new BigDecimal("5082") | +| NUMBER_5083 | new BigDecimal("5083") | +| NUMBER_5084 | new BigDecimal("5084") | +| NUMBER_5085 | new BigDecimal("5085") | +| NUMBER_5086 | new BigDecimal("5086") | +| NUMBER_5087 | new BigDecimal("5087") | +| NUMBER_5088 | new BigDecimal("5088") | +| NUMBER_5089 | new BigDecimal("5089") | +| NUMBER_5090 | new BigDecimal("5090") | +| NUMBER_5091 | new BigDecimal("5091") | +| NUMBER_5092 | new BigDecimal("5092") | +| NUMBER_5093 | new BigDecimal("5093") | +| NUMBER_5094 | new BigDecimal("5094") | +| NUMBER_5095 | new BigDecimal("5095") | +| NUMBER_5096 | new BigDecimal("5096") | +| NUMBER_5097 | new BigDecimal("5097") | +| NUMBER_5098 | new BigDecimal("5098") | +| NUMBER_5099 | new BigDecimal("5099") | +| NUMBER_5100 | new BigDecimal("5100") | +| NUMBER_5101 | new BigDecimal("5101") | +| NUMBER_5102 | new BigDecimal("5102") | +| NUMBER_5103 | new BigDecimal("5103") | +| NUMBER_5104 | new BigDecimal("5104") | +| NUMBER_5105 | new BigDecimal("5105") | +| NUMBER_5106 | new BigDecimal("5106") | +| NUMBER_5107 | new BigDecimal("5107") | +| NUMBER_5108 | new BigDecimal("5108") | +| NUMBER_5109 | new BigDecimal("5109") | +| NUMBER_5110 | new BigDecimal("5110") | +| NUMBER_5111 | new BigDecimal("5111") | +| NUMBER_5112 | new BigDecimal("5112") | +| NUMBER_5113 | new BigDecimal("5113") | +| NUMBER_5114 | new BigDecimal("5114") | +| NUMBER_5115 | new BigDecimal("5115") | +| NUMBER_5116 | new BigDecimal("5116") | +| NUMBER_5117 | new BigDecimal("5117") | +| NUMBER_5118 | new BigDecimal("5118") | +| NUMBER_5119 | new BigDecimal("5119") | +| NUMBER_5120 | new BigDecimal("5120") | +| NUMBER_5121 | new BigDecimal("5121") | +| NUMBER_5122 | new BigDecimal("5122") | +| NUMBER_5123 | new BigDecimal("5123") | +| NUMBER_5124 | new BigDecimal("5124") | +| NUMBER_5125 | new BigDecimal("5125") | +| NUMBER_5126 | new BigDecimal("5126") | +| NUMBER_5127 | new BigDecimal("5127") | +| NUMBER_5128 | new BigDecimal("5128") | +| NUMBER_5129 | new BigDecimal("5129") | +| NUMBER_5130 | new BigDecimal("5130") | +| NUMBER_5131 | new BigDecimal("5131") | +| NUMBER_5132 | new BigDecimal("5132") | +| NUMBER_5133 | new BigDecimal("5133") | +| NUMBER_5134 | new BigDecimal("5134") | +| NUMBER_5135 | new BigDecimal("5135") | +| NUMBER_5136 | new BigDecimal("5136") | +| NUMBER_5137 | new BigDecimal("5137") | +| NUMBER_5138 | new BigDecimal("5138") | +| NUMBER_5139 | new BigDecimal("5139") | +| NUMBER_5140 | new BigDecimal("5140") | +| NUMBER_5141 | new BigDecimal("5141") | +| NUMBER_5142 | new BigDecimal("5142") | +| NUMBER_5143 | new BigDecimal("5143") | +| NUMBER_5144 | new BigDecimal("5144") | +| NUMBER_5145 | new BigDecimal("5145") | +| NUMBER_5146 | new BigDecimal("5146") | +| NUMBER_5147 | new BigDecimal("5147") | +| NUMBER_5148 | new BigDecimal("5148") | +| NUMBER_5149 | new BigDecimal("5149") | +| NUMBER_5150 | new BigDecimal("5150") | +| NUMBER_5151 | new BigDecimal("5151") | +| NUMBER_5152 | new BigDecimal("5152") | +| NUMBER_5153 | new BigDecimal("5153") | +| NUMBER_5154 | new BigDecimal("5154") | +| NUMBER_5156 | new BigDecimal("5156") | +| NUMBER_5157 | new BigDecimal("5157") | +| NUMBER_5158 | new BigDecimal("5158") | +| NUMBER_5159 | new BigDecimal("5159") | +| NUMBER_5160 | new BigDecimal("5160") | +| NUMBER_5161 | new BigDecimal("5161") | +| NUMBER_5162 | new BigDecimal("5162") | +| NUMBER_5163 | new BigDecimal("5163") | +| NUMBER_5164 | new BigDecimal("5164") | +| NUMBER_5165 | new BigDecimal("5165") | +| NUMBER_5166 | new BigDecimal("5166") | +| NUMBER_5167 | new BigDecimal("5167") | +| NUMBER_5168 | new BigDecimal("5168") | +| NUMBER_5169 | new BigDecimal("5169") | +| NUMBER_5170 | new BigDecimal("5170") | +| NUMBER_5171 | new BigDecimal("5171") | +| NUMBER_5172 | new BigDecimal("5172") | +| NUMBER_5173 | new BigDecimal("5173") | +| NUMBER_5174 | new BigDecimal("5174") | +| NUMBER_5175 | new BigDecimal("5175") | +| NUMBER_5176 | new BigDecimal("5176") | +| NUMBER_5177 | new BigDecimal("5177") | +| NUMBER_5178 | new BigDecimal("5178") | +| NUMBER_6000 | new BigDecimal("6000") | +| NUMBER_6001 | new BigDecimal("6001") | +| NUMBER_90001 | new BigDecimal("90001") | + + + +## Enum: CurrencyCodeEnum + +| Name | Value | +|---- | -----| +| AED | "AED" | +| ARS | "ARS" | +| AUD | "AUD" | +| AZN | "AZN" | +| BGN | "BGN" | +| BHD | "BHD" | +| BRL | "BRL" | +| CAD | "CAD" | +| CHF | "CHF" | +| CLP | "CLP" | +| CNY | "CNY" | +| COP | "COP" | +| CZK | "CZK" | +| DKK | "DKK" | +| EGP | "EGP" | +| EUR | "EUR" | +| FJD | "FJD" | +| GBP | "GBP" | +| GEL | "GEL" | +| HKD | "HKD" | +| HUF | "HUF" | +| IDR | "IDR" | +| ILS | "ILS" | +| INR | "INR" | +| JOD | "JOD" | +| JPY | "JPY" | +| KRW | "KRW" | +| KWD | "KWD" | +| KZT | "KZT" | +| MDL | "MDL" | +| MXN | "MXN" | +| MYR | "MYR" | +| NAD | "NAD" | +| NOK | "NOK" | +| NZD | "NZD" | +| OMR | "OMR" | +| PLN | "PLN" | +| QAR | "QAR" | +| RON | "RON" | +| RUB | "RUB" | +| SAR | "SAR" | +| SEK | "SEK" | +| SGD | "SGD" | +| THB | "THB" | +| TRY | "TRY" | +| TWD | "TWD" | +| UAH | "UAH" | +| USD | "USD" | +| XOF | "XOF" | +| ZAR | "ZAR" | + + + +## Enum: List<FeatureListEnum> + +| Name | Value | +|---- | -----| +| A_LA_CARTE | "a_la_carte" | +| BUFFET | "buffet" | +| GUESTS_ONLY | "guests_only" | +| ACCEPTS_RESERVATIONS | "accepts_reservations" | +| OUTDOOR_SEATING | "outdoor_seating" | + + + +## Enum: List<TypeListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | + + + +## Enum: List<ItemListEnum> + +| Name | Value | +|---- | -----| +| NUMBER_5001 | new BigDecimal("5001") | +| NUMBER_5002 | new BigDecimal("5002") | +| NUMBER_5003 | new BigDecimal("5003") | +| NUMBER_5004 | new BigDecimal("5004") | +| NUMBER_5005 | new BigDecimal("5005") | +| NUMBER_5006 | new BigDecimal("5006") | +| NUMBER_5007 | new BigDecimal("5007") | +| NUMBER_5008 | new BigDecimal("5008") | +| NUMBER_5009 | new BigDecimal("5009") | +| NUMBER_5010 | new BigDecimal("5010") | +| NUMBER_5011 | new BigDecimal("5011") | +| NUMBER_5012 | new BigDecimal("5012") | +| NUMBER_5013 | new BigDecimal("5013") | +| NUMBER_5014 | new BigDecimal("5014") | +| NUMBER_5015 | new BigDecimal("5015") | +| NUMBER_5016 | new BigDecimal("5016") | +| NUMBER_5017 | new BigDecimal("5017") | +| NUMBER_5018 | new BigDecimal("5018") | +| NUMBER_5019 | new BigDecimal("5019") | + + + diff --git a/docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.md b/docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.md new file mode 100644 index 0000000..4f82184 --- /dev/null +++ b/docs/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.md @@ -0,0 +1,21 @@ + + +# PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**start** | **BigDecimal** | The start time of operation in milliseconds. | | +|**end** | **BigDecimal** | The end time of operation in milliseconds. | | +|**monday** | **Boolean** | Indicates whether the operation is open on Monday. | | +|**tuesday** | **Boolean** | Indicates whether the operation is open on Tuesday. | | +|**wednesday** | **Boolean** | Indicates whether the operation is open on Wednesday. | | +|**thursday** | **Boolean** | Indicates whether the operation is open on Thursday. | | +|**friday** | **Boolean** | Indicates whether the operation is open on Friday. | | +|**saturday** | **Boolean** | Indicates whether the operation is open on Saturday. | | +|**sunday** | **Boolean** | Indicates whether the operation is open on Sunday. | | + + + diff --git a/docs/PropertyApi.md b/docs/PropertyApi.md deleted file mode 100644 index 028d376..0000000 --- a/docs/PropertyApi.md +++ /dev/null @@ -1,164 +0,0 @@ -# PropertyApi - -All URIs are relative to *https://api.eu.lodgea.io* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**v1PropertyGetPost**](PropertyApi.md#v1PropertyGetPost) | **POST** /v1/property/get | Get Property by ID | -| [**v1PropertyListPost**](PropertyApi.md#v1PropertyListPost) | **POST** /v1/property/list | List properties by a specific keyword | - - - -# **v1PropertyGetPost** -> V1PropertyGetPost200Response v1PropertyGetPost(propertyGet) - -Get Property by ID - -Get all information about a specific property by its ID. This parameter is required. - -### Example -```java -// Import classes: -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.Configuration; -import com.lodgea.auth.*; -import com.lodgea.models.*; -import com.lodgea.controllers.PropertyApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.eu.lodgea.io"); - - // Configure API key authorization: ApiKeyAuth - ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); - ApiKeyAuth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //ApiKeyAuth.setApiKeyPrefix("Token"); - - PropertyApi apiInstance = new PropertyApi(defaultClient); - PropertyGet propertyGet = new PropertyGet(); // PropertyGet | Provide the property ID to get more information about it - try { - V1PropertyGetPost200Response result = apiInstance.v1PropertyGetPost(propertyGet); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PropertyApi#v1PropertyGetPost"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **propertyGet** | [**PropertyGet**](PropertyGet.md)| Provide the property ID to get more information about it | | - -### Return type - -[**V1PropertyGetPost200Response**](V1PropertyGetPost200Response.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Successful operation | - | -| **400** | Bad request - missing parameter | * apiKey -
| -| **401** | API Key is missing or invalid | * apiKey -
| -| **403** | Forbidden | * apiKey -
| -| **404** | Not Found | * apiKey -
| -| **405** | Invalid input | * apiKey -
| -| **429** | Rate Limiting | * apiKey -
| -| **500** | Internal server error | * apiKey -
| -| **503** | Server error | * apiKey -
| - - -# **v1PropertyListPost** -> V1PropertyListPost200Response v1PropertyListPost(propertyList) - -List properties by a specific keyword - -List properties by a specific keyword. - -### Example -```java -// Import classes: -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.Configuration; -import com.lodgea.auth.*; -import com.lodgea.models.*; -import com.lodgea.controllers.PropertyApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.eu.lodgea.io"); - - // Configure API key authorization: ApiKeyAuth - ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth"); - ApiKeyAuth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //ApiKeyAuth.setApiKeyPrefix("Token"); - - PropertyApi apiInstance = new PropertyApi(defaultClient); - PropertyList propertyList = new PropertyList(); // PropertyList | Provide the search keyword and optionally a page token to fetch further responses. The page token can be added if additional results should be returned. It is a base64 encoded dictionary and included in the first response in case not all results were delivered - try { - V1PropertyListPost200Response result = apiInstance.v1PropertyListPost(propertyList); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PropertyApi#v1PropertyListPost"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **propertyList** | [**PropertyList**](PropertyList.md)| Provide the search keyword and optionally a page token to fetch further responses. The page token can be added if additional results should be returned. It is a base64 encoded dictionary and included in the first response in case not all results were delivered | | - -### Return type - -[**V1PropertyListPost200Response**](V1PropertyListPost200Response.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Successful operation | - | -| **400** | Bad request - missing parameter | * apiKey -
| -| **401** | API Key is missing or invalid | * apiKey -
| -| **403** | Forbidden | * apiKey -
| -| **404** | Not Found | * apiKey -
| -| **405** | Invalid input | * apiKey -
| -| **429** | Rate Limiting | * apiKey -
| -| **500** | Internal server error | * apiKey -
| -| **503** | Server error | * apiKey -
| - diff --git a/docs/PropertyGet.md b/docs/PropertyGet.md deleted file mode 100644 index 4fb0887..0000000 --- a/docs/PropertyGet.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# PropertyGet - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**propertyId** | **String** | | [optional] | - - - diff --git a/docs/PropertyList.md b/docs/PropertyList.md deleted file mode 100644 index bea1e73..0000000 --- a/docs/PropertyList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# PropertyList - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**keyword** | **String** | | [optional] | -|**pageToken** | **String** | | [optional] | - - - diff --git a/docs/V1AvailabilityGetPost200Response.md b/docs/V1AvailabilityGetPost200Response.md deleted file mode 100644 index 39f9181..0000000 --- a/docs/V1AvailabilityGetPost200Response.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1AvailabilityGetPost200Response - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ratePlanList** | [**List<V1AvailabilityGetPost200ResponseRatePlanListInner>**](V1AvailabilityGetPost200ResponseRatePlanListInner.md) | | [optional] | -|**name** | **String** | | [optional] | -|**mealPlanList** | [**List<V1PropertyGetPost200ResponseProductListInnerMealPlanListInner>**](V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md) | | [optional] | -|**roomTypeList** | [**List<V1AvailabilityGetPost200ResponseRoomTypeListInner>**](V1AvailabilityGetPost200ResponseRoomTypeListInner.md) | | [optional] | - - - diff --git a/docs/V1AvailabilityGetPost200ResponseRatePlanListInner.md b/docs/V1AvailabilityGetPost200ResponseRatePlanListInner.md deleted file mode 100644 index 8cd1ea6..0000000 --- a/docs/V1AvailabilityGetPost200ResponseRatePlanListInner.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1AvailabilityGetPost200ResponseRatePlanListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**active** | **Boolean** | | [optional] | -|**name** | **String** | | [optional] | -|**code** | **String** | | [optional] | -|**pricingList** | [**List<V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner>**](V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.md) | | [optional] | - - - diff --git a/docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.md b/docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.md deleted file mode 100644 index 21daac8..0000000 --- a/docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**dateTime** | **BigDecimal** | | [optional] | -|**occupancy** | **BigDecimal** | | [optional] | -|**priceList** | [**V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList**](V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.md) | | [optional] | -|**currencyCode** | **String** | | [optional] | - - - diff --git a/docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.md b/docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.md deleted file mode 100644 index a2b4383..0000000 --- a/docs/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**_3** | **BigDecimal** | | [optional] | -|**_4** | **BigDecimal** | | [optional] | -|**_5** | **BigDecimal** | | [optional] | -|**_6** | **BigDecimal** | | [optional] | -|**_7** | **BigDecimal** | | [optional] | -|**_8** | **BigDecimal** | | [optional] | -|**_9** | **BigDecimal** | | [optional] | -|**_10** | **BigDecimal** | | [optional] | -|**_11** | **BigDecimal** | | [optional] | -|**_12** | **BigDecimal** | | [optional] | -|**_13** | **BigDecimal** | | [optional] | -|**_14** | **BigDecimal** | | [optional] | -|**_15** | **BigDecimal** | | [optional] | -|**_16** | **BigDecimal** | | [optional] | -|**_17** | **BigDecimal** | | [optional] | -|**_18** | **BigDecimal** | | [optional] | -|**_19** | **BigDecimal** | | [optional] | -|**_20** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1AvailabilityGetPost200ResponseRoomTypeListInner.md b/docs/V1AvailabilityGetPost200ResponseRoomTypeListInner.md deleted file mode 100644 index 0177ebb..0000000 --- a/docs/V1AvailabilityGetPost200ResponseRoomTypeListInner.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# V1AvailabilityGetPost200ResponseRoomTypeListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**typeCode** | **String** | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200Response.md b/docs/V1AvailabilitySearchPost200Response.md deleted file mode 100644 index e8ea36a..0000000 --- a/docs/V1AvailabilitySearchPost200Response.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1AvailabilitySearchPost200Response - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**languageCode** | **String** | | [optional] | -|**_list** | [**List<V1AvailabilitySearchPost200ResponseListInner>**](V1AvailabilitySearchPost200ResponseListInner.md) | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200ResponseListInner.md b/docs/V1AvailabilitySearchPost200ResponseListInner.md deleted file mode 100644 index 86eb675..0000000 --- a/docs/V1AvailabilitySearchPost200ResponseListInner.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# V1AvailabilitySearchPost200ResponseListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **String** | | [optional] | -|**languageCode** | **String** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**unitSystem** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**uri** | **String** | | [optional] | -|**serviceList** | **List<BigDecimal>** | | [optional] | -|**categoryList** | **List<BigDecimal>** | | [optional] | -|**uriPath** | **String** | | [optional] | -|**text** | **String** | | [optional] | -|**geo** | [**V1AvailabilitySearchPost200ResponseListInnerGeo**](V1AvailabilitySearchPost200ResponseListInnerGeo.md) | | [optional] | -|**mediaList** | [**List<V1AvailabilitySearchPost200ResponseListInnerMediaListInner>**](V1AvailabilitySearchPost200ResponseListInnerMediaListInner.md) | | [optional] | -|**attractionList** | [**List<V1AvailabilitySearchPost200ResponseListInnerAttractionListInner>**](V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.md) | | [optional] | -|**lowestPrice** | [**V1AvailabilitySearchPost200ResponseListInnerLowestPrice**](V1AvailabilitySearchPost200ResponseListInnerLowestPrice.md) | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.md b/docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.md deleted file mode 100644 index 2a7182c..0000000 --- a/docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**typeCode** | **BigDecimal** | | [optional] | -|**name** | **String** | | [optional] | -|**distance** | [**V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance**](V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.md) | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.md b/docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.md deleted file mode 100644 index 39b18db..0000000 --- a/docs/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**value** | **BigDecimal** | | [optional] | -|**unit** | **String** | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200ResponseListInnerGeo.md b/docs/V1AvailabilitySearchPost200ResponseListInnerGeo.md deleted file mode 100644 index 9c2731d..0000000 --- a/docs/V1AvailabilitySearchPost200ResponseListInnerGeo.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# V1AvailabilitySearchPost200ResponseListInnerGeo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**country** | **String** | | [optional] | -|**formattedAddress** | **String** | | [optional] | -|**locality** | **String** | | [optional] | -|**sublocality** | **String** | | [optional] | -|**language** | **String** | | [optional] | -|**establishment** | **String** | | [optional] | -|**countryCode** | **String** | | [optional] | -|**sublocalityLevel1** | **String** | | [optional] | -|**route** | **String** | | [optional] | -|**administrativeAreaLevel3** | **String** | | [optional] | -|**administrativeAreaLevel1** | **String** | | [optional] | -|**streetNumber** | **String** | | [optional] | -|**location** | [**V1AvailabilitySearchPost200ResponseListInnerGeoLocation**](V1AvailabilitySearchPost200ResponseListInnerGeoLocation.md) | | [optional] | -|**stateCode** | **String** | | [optional] | -|**postalCode** | **String** | | [optional] | -|**naturalFeature** | **String** | | [optional] | -|**placeId** | **String** | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.md b/docs/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.md deleted file mode 100644 index 3a1c30d..0000000 --- a/docs/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1AvailabilitySearchPost200ResponseListInnerGeoLocation - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**lng** | **BigDecimal** | | [optional] | -|**lat** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.md b/docs/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.md deleted file mode 100644 index 1131bfc..0000000 --- a/docs/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# V1AvailabilitySearchPost200ResponseListInnerLowestPrice - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**amount** | **BigDecimal** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**arrivalDate** | **BigDecimal** | | [optional] | -|**returnDate** | **BigDecimal** | | [optional] | -|**lengthOfStay** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.md b/docs/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.md deleted file mode 100644 index 85f4136..0000000 --- a/docs/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1AvailabilitySearchPost200ResponseListInnerMediaListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**tagCodeList** | **List<BigDecimal>** | | [optional] | -|**isMainImage** | **Boolean** | | [optional] | -|**url** | **String** | | [optional] | -|**sortOrder** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1LocationSearchPost200Response.md b/docs/V1LocationSearchPost200Response.md deleted file mode 100644 index 10c45a0..0000000 --- a/docs/V1LocationSearchPost200Response.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1LocationSearchPost200Response - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**languageCode** | **String** | | [optional] | -|**_list** | [**List<V1LocationSearchPost200ResponseListInner>**](V1LocationSearchPost200ResponseListInner.md) | | [optional] | - - - diff --git a/docs/V1LocationSearchPost200ResponseListInner.md b/docs/V1LocationSearchPost200ResponseListInner.md deleted file mode 100644 index 6984f94..0000000 --- a/docs/V1LocationSearchPost200ResponseListInner.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# V1LocationSearchPost200ResponseListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | | [optional] | -|**type** | **String** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**lowestPrice** | **BigDecimal** | | [optional] | -|**propertyId** | **String** | | [optional] | -|**propertyUriName** | **String** | | [optional] | -|**propertyUriPath** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200Response.md b/docs/V1PropertyGetPost200Response.md deleted file mode 100644 index 7cb365a..0000000 --- a/docs/V1PropertyGetPost200Response.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1PropertyGetPost200Response - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**versionId** | **String** | | [optional] | -|**property** | [**V1PropertyGetPost200ResponseProperty**](V1PropertyGetPost200ResponseProperty.md) | | [optional] | -|**productList** | [**List<V1PropertyGetPost200ResponseProductListInner>**](V1PropertyGetPost200ResponseProductListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInner.md b/docs/V1PropertyGetPost200ResponseProductListInner.md deleted file mode 100644 index 0f377c1..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInner.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**propertyId** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**mealPlanList** | [**List<V1PropertyGetPost200ResponseProductListInnerMealPlanListInner>**](V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md) | | [optional] | -|**roomTypeList** | [**List<V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner>**](V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.md) | | [optional] | -|**isLOSPricing** | **Boolean** | | [optional] | -|**isOBPPricing** | **Boolean** | | [optional] | -|**ratePlanList** | [**List<V1PropertyGetPost200ResponseProductListInnerRatePlanListInner>**](V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.md) | | [optional] | -|**policyInfo** | [**V1PropertyGetPost200ResponseProductListInnerPolicyInfo**](V1PropertyGetPost200ResponseProductListInnerPolicyInfo.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md b/docs/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md deleted file mode 100644 index a48e77b..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **BigDecimal** | | [optional] | -|**name** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.md b/docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.md deleted file mode 100644 index 2ed0400..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInnerPolicyInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**checkInTime** | **BigDecimal** | | [optional] | -|**checkOutTime** | **BigDecimal** | | [optional] | -|**totalGuestCount** | **BigDecimal** | | [optional] | -|**cancellationPolicyList** | [**List<V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner>**](V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.md) | | [optional] | -|**advanceBookingMin** | **BigDecimal** | | [optional] | -|**advanceBookingMax** | **BigDecimal** | | [optional] | -|**petsPolicy** | [**V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy**](V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md) | | [optional] | -|**prepaymentPolicy** | **String** | | [optional] | -|**guaranteePolicy** | **String** | | [optional] | -|**taxPolicyList** | [**List<V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner>**](V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md) | | [optional] | -|**feePolicyList** | **List<String>** | | [optional] | -|**name** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.md b/docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.md deleted file mode 100644 index 2d67dfd..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **BigDecimal** | | [optional] | -|**percentAfterReservation** | **BigDecimal** | | [optional] | -|**nightsAfterReservation** | **BigDecimal** | | [optional] | -|**deadlineDays** | **BigDecimal** | | [optional] | -|**deadlineHours** | **BigDecimal** | | [optional] | -|**percentAfterDeadline** | **BigDecimal** | | [optional] | -|**nightsAfterDeadline** | **BigDecimal** | | [optional] | -|**noShowPolicy** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.md b/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.md deleted file mode 100644 index beb9039..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**active** | **Boolean** | | [optional] | -|**name** | **String** | | [optional] | -|**code** | **String** | | [optional] | -|**propertyId** | **String** | | [optional] | -|**pricingList** | [**List<V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner>**](V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.md b/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.md deleted file mode 100644 index 366bc81..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**dateTime** | **BigDecimal** | | [optional] | -|**occupancy** | **BigDecimal** | | [optional] | -|**priceList** | [**V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList**](V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.md) | | [optional] | -|**currencyCode** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.md b/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.md deleted file mode 100644 index 4913465..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**_4** | **BigDecimal** | | [optional] | -|**_5** | **BigDecimal** | | [optional] | -|**_6** | **BigDecimal** | | [optional] | -|**_7** | **BigDecimal** | | [optional] | -|**_8** | **BigDecimal** | | [optional] | -|**_9** | **BigDecimal** | | [optional] | -|**_10** | **BigDecimal** | | [optional] | -|**_11** | **BigDecimal** | | [optional] | -|**_12** | **BigDecimal** | | [optional] | -|**_13** | **BigDecimal** | | [optional] | -|**_14** | **BigDecimal** | | [optional] | -|**_15** | **BigDecimal** | | [optional] | -|**_16** | **BigDecimal** | | [optional] | -|**_17** | **BigDecimal** | | [optional] | -|**_18** | **BigDecimal** | | [optional] | -|**_19** | **BigDecimal** | | [optional] | -|**_20** | **BigDecimal** | | [optional] | -|**_21** | **BigDecimal** | | [optional] | -|**_22** | **BigDecimal** | | [optional] | -|**_23** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.md b/docs/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.md deleted file mode 100644 index 9e3b8ca..0000000 --- a/docs/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**typeCode** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponseProperty.md b/docs/V1PropertyGetPost200ResponseProperty.md deleted file mode 100644 index 647173e..0000000 --- a/docs/V1PropertyGetPost200ResponseProperty.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# V1PropertyGetPost200ResponseProperty - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**recordCreated** | [**V1PropertyGetPost200ResponsePropertyRecordCreated**](V1PropertyGetPost200ResponsePropertyRecordCreated.md) | | [optional] | -|**recordModified** | [**V1PropertyGetPost200ResponsePropertyRecordModified**](V1PropertyGetPost200ResponsePropertyRecordModified.md) | | [optional] | -|**propertyInfo** | [**V1PropertyGetPost200ResponsePropertyPropertyInfo**](V1PropertyGetPost200ResponsePropertyPropertyInfo.md) | | [optional] | -|**guestInfo** | [**V1PropertyGetPost200ResponsePropertyGuestInfo**](V1PropertyGetPost200ResponsePropertyGuestInfo.md) | | [optional] | -|**awardList** | [**List<V1PropertyGetPost200ResponsePropertyAwardListInner>**](V1PropertyGetPost200ResponsePropertyAwardListInner.md) | | [optional] | -|**contactList** | [**List<V1PropertyGetPost200ResponsePropertyContactListInner>**](V1PropertyGetPost200ResponsePropertyContactListInner.md) | | [optional] | -|**facilityInfo** | [**V1PropertyGetPost200ResponsePropertyFacilityInfo**](V1PropertyGetPost200ResponsePropertyFacilityInfo.md) | | [optional] | -|**mediaList** | [**List<V1PropertyGetPost200ResponsePropertyMediaListInner>**](V1PropertyGetPost200ResponsePropertyMediaListInner.md) | | [optional] | -|**geo** | [**V1PropertyGetPost200ResponsePropertyGeo**](V1PropertyGetPost200ResponsePropertyGeo.md) | | [optional] | -|**refinementDate** | **BigDecimal** | | [optional] | -|**published** | **Boolean** | | [optional] | -|**policyList** | [**List<V1PropertyGetPost200ResponsePropertyPolicyListInner>**](V1PropertyGetPost200ResponsePropertyPolicyListInner.md) | | [optional] | -|**uri** | **String** | | [optional] | -|**transaction** | [**V1PropertyGetPost200ResponsePropertyTransaction**](V1PropertyGetPost200ResponsePropertyTransaction.md) | | [optional] | -|**cancellationGracePeriod** | [**V1PropertyGetPost200ResponsePropertyCancellationGracePeriod**](V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.md) | | [optional] | -|**serviceList** | [**List<V1PropertyGetPost200ResponsePropertyServiceListInner>**](V1PropertyGetPost200ResponsePropertyServiceListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyAwardListInner.md b/docs/V1PropertyGetPost200ResponsePropertyAwardListInner.md deleted file mode 100644 index 4a8f506..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyAwardListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyAwardListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**provider** | **String** | | [optional] | -|**rating** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.md b/docs/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.md deleted file mode 100644 index 36af17b..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**hoursAfterBooking** | **BigDecimal** | | [optional] | -|**weeksBeforeCheckIn** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyContactListInner.md b/docs/V1PropertyGetPost200ResponsePropertyContactListInner.md deleted file mode 100644 index 55e9126..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyContactListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyContactListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**profileType** | **String** | | [optional] | -|**addressList** | [**List<V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner>**](V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.md b/docs/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.md deleted file mode 100644 index 9c792fd..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**addressLine** | **String** | | [optional] | -|**propertyName** | **String** | | [optional] | -|**cityName** | **String** | | [optional] | -|**postalCode** | **String** | | [optional] | -|**state** | **String** | | [optional] | -|**countryCode** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfo.md b/docs/V1PropertyGetPost200ResponsePropertyFacilityInfo.md deleted file mode 100644 index 770ca91..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfo.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyFacilityInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**guestRoomList** | [**List<V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner>**](V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.md b/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.md deleted file mode 100644 index 524821f..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.md +++ /dev/null @@ -1,27 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isActive** | **Boolean** | | [optional] | -|**roomId** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**typeName** | **String** | | [optional] | -|**descriptionText** | **String** | | [optional] | -|**imageList** | **List<String>** | | [optional] | -|**roomTypeCode** | **String** | | [optional] | -|**isNonSmoking** | **Boolean** | | [optional] | -|**roomTypeName** | **String** | | [optional] | -|**amenityList** | [**List<V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner>**](V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md) | | [optional] | -|**maxOccupancy** | **String** | | [optional] | -|**messageList** | [**List<V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner>**](V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md) | | [optional] | -|**mediaList** | [**List<V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner>**](V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md) | | [optional] | -|**maxAdultOccupancy** | **String** | | [optional] | -|**maxChildOccupancy** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md b/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md deleted file mode 100644 index 3dd8a62..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **String** | | [optional] | -|**quantity** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md b/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md deleted file mode 100644 index 9811c9e..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isMainImage** | **Boolean** | | [optional] | -|**sortOrder** | **BigDecimal** | | [optional] | -|**url** | **String** | | [optional] | -|**tagList** | [**List<V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner>**](V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.md) | | [optional] | -|**moderationLabelList** | **List<String>** | | [optional] | -|**detectionLabelList** | **List<String>** | | [optional] | -|**propertyAmenityList** | **List<String>** | | [optional] | -|**roomAmenityList** | [**List<V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner>**](V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.md b/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.md deleted file mode 100644 index 3cf57ae..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **BigDecimal** | | [optional] | -|**name** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.md b/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.md deleted file mode 100644 index 3aee373..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **BigDecimal** | | [optional] | -|**name** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md b/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md deleted file mode 100644 index af40d39..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**languageCode** | **String** | | [optional] | -|**text** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyGeo.md b/docs/V1PropertyGetPost200ResponsePropertyGeo.md deleted file mode 100644 index 49e5ead..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyGeo.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyGeo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**de** | [**V1PropertyGetPost200ResponsePropertyGeoDe**](V1PropertyGetPost200ResponsePropertyGeoDe.md) | | [optional] | -|**en** | [**V1PropertyGetPost200ResponsePropertyGeoEn**](V1PropertyGetPost200ResponsePropertyGeoEn.md) | | [optional] | -|**da** | [**V1PropertyGetPost200ResponsePropertyGeoDa**](V1PropertyGetPost200ResponsePropertyGeoDa.md) | | [optional] | -|**nl** | [**V1PropertyGetPost200ResponsePropertyGeoNl**](V1PropertyGetPost200ResponsePropertyGeoNl.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyGeoDa.md b/docs/V1PropertyGetPost200ResponsePropertyGeoDa.md deleted file mode 100644 index 069b247..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyGeoDa.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyGeoDa - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**location** | [**V1PropertyGetPost200ResponsePropertyGeoDeLocation**](V1PropertyGetPost200ResponsePropertyGeoDeLocation.md) | | [optional] | -|**formattedAddress** | **String** | | [optional] | -|**placeId** | **String** | | [optional] | -|**locality** | **String** | | [optional] | -|**administrativeAreaLevel3** | **String** | | [optional] | -|**administrativeAreaLevel1** | **String** | | [optional] | -|**stateCode** | **String** | | [optional] | -|**country** | **String** | | [optional] | -|**countryCode** | **String** | | [optional] | -|**postalCode** | **String** | | [optional] | -|**language** | **String** | | [optional] | -|**naturalFeature** | **String** | | [optional] | -|**establishment** | **String** | | [optional] | -|**sublocality** | **String** | | [optional] | -|**sublocalityLevel1** | **String** | | [optional] | -|**streetNumber** | **String** | | [optional] | -|**route** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyGeoDe.md b/docs/V1PropertyGetPost200ResponsePropertyGeoDe.md deleted file mode 100644 index 2ffb746..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyGeoDe.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyGeoDe - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**location** | [**V1PropertyGetPost200ResponsePropertyGeoDeLocation**](V1PropertyGetPost200ResponsePropertyGeoDeLocation.md) | | [optional] | -|**formattedAddress** | **String** | | [optional] | -|**placeId** | **String** | | [optional] | -|**locality** | **String** | | [optional] | -|**administrativeAreaLevel3** | **String** | | [optional] | -|**administrativeAreaLevel1** | **String** | | [optional] | -|**stateCode** | **String** | | [optional] | -|**country** | **String** | | [optional] | -|**countryCode** | **String** | | [optional] | -|**postalCode** | **String** | | [optional] | -|**language** | **String** | | [optional] | -|**naturalFeature** | **String** | | [optional] | -|**establishment** | **String** | | [optional] | -|**sublocality** | **String** | | [optional] | -|**sublocalityLevel1** | **String** | | [optional] | -|**streetNumber** | **String** | | [optional] | -|**route** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyGeoDeLocation.md b/docs/V1PropertyGetPost200ResponsePropertyGeoDeLocation.md deleted file mode 100644 index 1c73b60..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyGeoDeLocation.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyGeoDeLocation - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**lat** | **BigDecimal** | | [optional] | -|**lng** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyGeoEn.md b/docs/V1PropertyGetPost200ResponsePropertyGeoEn.md deleted file mode 100644 index 2ebbdc1..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyGeoEn.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyGeoEn - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**location** | [**V1PropertyGetPost200ResponsePropertyGeoDeLocation**](V1PropertyGetPost200ResponsePropertyGeoDeLocation.md) | | [optional] | -|**formattedAddress** | **String** | | [optional] | -|**placeId** | **String** | | [optional] | -|**locality** | **String** | | [optional] | -|**administrativeAreaLevel3** | **String** | | [optional] | -|**administrativeAreaLevel1** | **String** | | [optional] | -|**stateCode** | **String** | | [optional] | -|**country** | **String** | | [optional] | -|**countryCode** | **String** | | [optional] | -|**postalCode** | **String** | | [optional] | -|**language** | **String** | | [optional] | -|**naturalFeature** | **String** | | [optional] | -|**establishment** | **String** | | [optional] | -|**sublocality** | **String** | | [optional] | -|**sublocalityLevel1** | **String** | | [optional] | -|**streetNumber** | **String** | | [optional] | -|**route** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyGeoNl.md b/docs/V1PropertyGetPost200ResponsePropertyGeoNl.md deleted file mode 100644 index 10d10c2..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyGeoNl.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyGeoNl - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**location** | [**V1PropertyGetPost200ResponsePropertyGeoDeLocation**](V1PropertyGetPost200ResponsePropertyGeoDeLocation.md) | | [optional] | -|**formattedAddress** | **String** | | [optional] | -|**placeId** | **String** | | [optional] | -|**locality** | **String** | | [optional] | -|**administrativeAreaLevel3** | **String** | | [optional] | -|**administrativeAreaLevel1** | **String** | | [optional] | -|**stateCode** | **String** | | [optional] | -|**country** | **String** | | [optional] | -|**countryCode** | **String** | | [optional] | -|**postalCode** | **String** | | [optional] | -|**language** | **String** | | [optional] | -|**naturalFeature** | **String** | | [optional] | -|**establishment** | **String** | | [optional] | -|**sublocality** | **String** | | [optional] | -|**sublocalityLevel1** | **String** | | [optional] | -|**streetNumber** | **String** | | [optional] | -|**route** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyGuestInfo.md b/docs/V1PropertyGetPost200ResponsePropertyGuestInfo.md deleted file mode 100644 index 30469e4..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyGuestInfo.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyGuestInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**guestAddressRequired** | **Boolean** | | [optional] | -|**guestContactNumberRequired** | **Boolean** | | [optional] | -|**guestNameListRequired** | **Boolean** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyMediaListInner.md b/docs/V1PropertyGetPost200ResponsePropertyMediaListInner.md deleted file mode 100644 index 8eb15a9..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyMediaListInner.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyMediaListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isMainImage** | **Boolean** | | [optional] | -|**sortOrder** | **BigDecimal** | | [optional] | -|**url** | **String** | | [optional] | -|**tagList** | [**List<V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner>**](V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.md) | | [optional] | -|**moderationLabelList** | **List<String>** | | [optional] | -|**detectionLabelList** | **List<String>** | | [optional] | -|**propertyAmenityList** | **List<String>** | | [optional] | -|**roomAmenityList** | **List<String>** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.md b/docs/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.md deleted file mode 100644 index 3e86389..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **BigDecimal** | | [optional] | -|**name** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPolicyListInner.md b/docs/V1PropertyGetPost200ResponsePropertyPolicyListInner.md deleted file mode 100644 index 735659b..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPolicyListInner.md +++ /dev/null @@ -1,23 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPolicyListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**checkInTime** | **BigDecimal** | | [optional] | -|**checkOutTime** | **BigDecimal** | | [optional] | -|**totalGuestCount** | **BigDecimal** | | [optional] | -|**cancellationPolicyList** | **List<String>** | | [optional] | -|**advanceBookingMin** | **BigDecimal** | | [optional] | -|**advanceBookingMax** | **BigDecimal** | | [optional] | -|**petsPolicy** | [**V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy**](V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md) | | [optional] | -|**prepaymentPolicy** | **String** | | [optional] | -|**guaranteePolicy** | **String** | | [optional] | -|**taxPolicyList** | [**List<V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner>**](V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md) | | [optional] | -|**feePolicyList** | **List<String>** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md b/docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md deleted file mode 100644 index fb8ab07..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**allowed** | **Boolean** | | [optional] | -|**byArrangement** | **Boolean** | | [optional] | -|**freeOfCharge** | **Boolean** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md b/docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md deleted file mode 100644 index 8cd4a69..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**typeCode** | **BigDecimal** | | [optional] | -|**percent** | **BigDecimal** | | [optional] | -|**chargeType** | **String** | | [optional] | -|**chargeFrequencyCode** | **BigDecimal** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**conditionList** | **List<String>** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfo.md b/docs/V1PropertyGetPost200ResponsePropertyPropertyInfo.md deleted file mode 100644 index 96a1b76..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfo.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPropertyInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**unitCount** | **BigDecimal** | | [optional] | -|**messageList** | [**List<V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner>**](V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.md) | | [optional] | -|**categoryList** | [**List<V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner>**](V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.md) | | [optional] | -|**languageList** | **List<String>** | | [optional] | -|**location** | [**V1PropertyGetPost200ResponsePropertyPropertyInfoLocation**](V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.md) | | [optional] | -|**acceptedPaymentList** | [**List<V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner>**](V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md b/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md deleted file mode 100644 index 8d50162..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**type** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.md b/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.md deleted file mode 100644 index ef1db9b..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**exists** | **Boolean** | | [optional] | -|**code** | **BigDecimal** | | [optional] | -|**name** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.md b/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.md deleted file mode 100644 index ff7209f..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**latitude** | **BigDecimal** | | [optional] | -|**longitude** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.md b/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.md deleted file mode 100644 index 9e40417..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**languageCode** | **String** | | [optional] | -|**text** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyRecordCreated.md b/docs/V1PropertyGetPost200ResponsePropertyRecordCreated.md deleted file mode 100644 index 45d9277..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyRecordCreated.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyRecordCreated - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**user** | **String** | | [optional] | -|**tenant** | **String** | | [optional] | -|**role** | **String** | | [optional] | -|**time** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyRecordModified.md b/docs/V1PropertyGetPost200ResponsePropertyRecordModified.md deleted file mode 100644 index e957a60..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyRecordModified.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyRecordModified - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**user** | **String** | | [optional] | -|**tenant** | **String** | | [optional] | -|**role** | **String** | | [optional] | -|**time** | **BigDecimal** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyServiceListInner.md b/docs/V1PropertyGetPost200ResponsePropertyServiceListInner.md deleted file mode 100644 index d43b916..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyServiceListInner.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyServiceListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **BigDecimal** | | [optional] | -|**price** | **BigDecimal** | | [optional] | -|**exists** | **Boolean** | | [optional] | -|**included** | **Boolean** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**featureList** | **List<String>** | | [optional] | -|**typeList** | **List<String>** | | [optional] | -|**itemList** | **List<String>** | | [optional] | -|**operationTimeList** | **List<String>** | | [optional] | -|**name** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyTransaction.md b/docs/V1PropertyGetPost200ResponsePropertyTransaction.md deleted file mode 100644 index dab2423..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyTransaction.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyTransaction - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**method** | **String** | | [optional] | -|**contactTypeList** | **List<String>** | | [optional] | -|**externalList** | [**List<V1PropertyGetPost200ResponsePropertyTransactionExternalListInner>**](V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.md) | | [optional] | - - - diff --git a/docs/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.md b/docs/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.md deleted file mode 100644 index 97771f1..0000000 --- a/docs/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**languageCode** | **String** | | [optional] | -|**text** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyListPost200Response.md b/docs/V1PropertyListPost200Response.md deleted file mode 100644 index 8a64e8a..0000000 --- a/docs/V1PropertyListPost200Response.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1PropertyListPost200Response - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**_list** | [**List<V1PropertyListPost200ResponseListInner>**](V1PropertyListPost200ResponseListInner.md) | | [optional] | -|**pageToken** | **String** | | [optional] | - - - diff --git a/docs/V1PropertyListPost200ResponseListInner.md b/docs/V1PropertyListPost200ResponseListInner.md deleted file mode 100644 index e02282a..0000000 --- a/docs/V1PropertyListPost200ResponseListInner.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# V1PropertyListPost200ResponseListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**published** | **Boolean** | | [optional] | -|**name** | **String** | | [optional] | -|**propertyId** | **String** | | [optional] | -|**image** | **String** | | [optional] | -|**address** | **String** | | [optional] | -|**lastUpdated** | **BigDecimal** | | [optional] | - - - diff --git a/openapitools.json b/openapitools.json index 061a772..6755cd2 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "6.0.1" + "version": "6.3.0" } } diff --git a/pom.xml b/pom.xml index f032ad9..f8facbc 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ lodgea jar lodgea - 1.0.2 + 1.1.5 https://github.com/openapitools/openapi-generator OpenAPI Java @@ -17,7 +17,7 @@ Unlicense - http://www.apache.org/licenses/LICENSE-2.0.html + http://unlicense.org repo @@ -50,7 +50,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0 + 3.1.0 enforce-maven @@ -93,6 +93,7 @@ maven-dependency-plugin + 3.3.0 package @@ -109,7 +110,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.2.0 + 3.3.0 @@ -123,7 +124,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.2.0 + 3.3.0 add_sources @@ -154,7 +155,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.4.1 attach-javadocs @@ -177,7 +178,7 @@ org.apache.maven.plugins maven-source-plugin - 3.2.0 + 3.2.1 attach-sources @@ -257,11 +258,6 @@ - - io.swagger - swagger-annotations - ${swagger-core-version} - com.google.code.findbugs @@ -304,6 +300,7 @@ jackson-databind-nullable ${jackson-databind-nullable-version} + javax.ws.rs jsr311-api @@ -339,18 +336,18 @@ ${java.version} ${java.version} 1.8.5 - 1.6.5 - 4.9.3 - 2.9.0 + 1.6.6 + 4.10.0 + 2.9.1 3.12.0 - 0.2.3 + 0.2.4 1.3.5 - 5.8.2 - 1.6.2 + 5.9.1 + 1.9.1 3.12.4 2.1.1 1.1.1 UTF-8 - 2.21.0 + 2.27.2 diff --git a/src/main/java/com/lodgea/ApiCallback.java b/src/main/java/com/lodgea/ApiCallback.java index 4461dc6..6117f43 100644 --- a/src/main/java/com/lodgea/ApiCallback.java +++ b/src/main/java/com/lodgea/ApiCallback.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/lodgea/ApiClient.java b/src/main/java/com/lodgea/ApiClient.java index 0107b63..f6139b6 100644 --- a/src/main/java/com/lodgea/ApiClient.java +++ b/src/main/java/com/lodgea/ApiClient.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -60,7 +60,26 @@ */ public class ApiClient { - private String basePath = "https://api.eu.lodgea.io"; + private String basePath = "https://api.eu.lodgea.io/v1"; + protected List servers = new ArrayList(Arrays.asList( + new ServerConfiguration( + "https://api.eu.lodgea.io/v1", + "API for customers in the EU region", + new HashMap() + ), + new ServerConfiguration( + "https://api.us.lodgea.io/v1", + "API for customers in the US region", + new HashMap() + ), + new ServerConfiguration( + "https://api.uat.lodgea.io/v1", + "API for user acceptance testing", + new HashMap() + ) + )); + protected Integer serverIndex = 0; + protected Map serverVariables = null; private boolean debugging = false; private Map defaultHeaderMap = new HashMap(); private Map defaultCookieMap = new HashMap(); @@ -131,7 +150,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/1.0.2/java"); + setUserAgent("OpenAPI-Generator/1.1.5/java"); authentications = new HashMap(); } @@ -148,7 +167,7 @@ public String getBasePath() { /** * Set base path * - * @param basePath Base path of the URL (e.g https://api.eu.lodgea.io + * @param basePath Base path of the URL (e.g https://api.eu.lodgea.io/v1 * @return An instance of OkHttpClient */ public ApiClient setBasePath(String basePath) { @@ -156,6 +175,33 @@ public ApiClient setBasePath(String basePath) { return this; } + public List getServers() { + return servers; + } + + public ApiClient setServers(List servers) { + this.servers = servers; + return this; + } + + public Integer getServerIndex() { + return serverIndex; + } + + public ApiClient setServerIndex(Integer serverIndex) { + this.serverIndex = serverIndex; + return this; + } + + public Map getServerVariables() { + return serverVariables; + } + + public ApiClient setServerVariables(Map serverVariables) { + this.serverVariables = serverVariables; + return this; + } + /** * Get HTTP client * @@ -280,7 +326,7 @@ public DateFormat getDateFormat() { * @return a {@link com.lodgea.ApiClient} object */ public ApiClient setDateFormat(DateFormat dateFormat) { - this.json.setDateFormat(dateFormat); + JSON.setDateFormat(dateFormat); return this; } @@ -291,7 +337,7 @@ public ApiClient setDateFormat(DateFormat dateFormat) { * @return a {@link com.lodgea.ApiClient} object */ public ApiClient setSqlDateFormat(DateFormat dateFormat) { - this.json.setSqlDateFormat(dateFormat); + JSON.setSqlDateFormat(dateFormat); return this; } @@ -302,7 +348,7 @@ public ApiClient setSqlDateFormat(DateFormat dateFormat) { * @return a {@link com.lodgea.ApiClient} object */ public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { - this.json.setOffsetDateTimeFormat(dateFormat); + JSON.setOffsetDateTimeFormat(dateFormat); return this; } @@ -313,7 +359,7 @@ public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { * @return a {@link com.lodgea.ApiClient} object */ public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) { - this.json.setLocalDateFormat(dateFormat); + JSON.setLocalDateFormat(dateFormat); return this; } @@ -324,7 +370,7 @@ public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) { * @return a {@link com.lodgea.ApiClient} object */ public ApiClient setLenientOnJson(boolean lenientOnJson) { - this.json.setLenientOnJson(lenientOnJson); + JSON.setLenientOnJson(lenientOnJson); return this; } @@ -417,6 +463,18 @@ public void setAccessToken(String accessToken) { throw new RuntimeException("No OAuth2 authentication configured!"); } + /** + * Helper method to set credentials for AWSV4 Signature + * + * @param accessKey Access Key + * @param secretKey Secret Key + * @param region Region + * @param service Service to access to + */ + public void setAWS4Configuration(String accessKey, String secretKey, String region, String service) { + throw new RuntimeException("No AWS4 authentication configured!"); + } + /** * Set the User-Agent header's value (by adding to the default header map). * @@ -585,7 +643,7 @@ public String parameterToString(Object param) { return ""; } else if (param instanceof Date || param instanceof OffsetDateTime || param instanceof LocalDate) { //Serialize to json string and remove the " enclosing characters - String jsonStr = json.serialize(param); + String jsonStr = JSON.serialize(param); return jsonStr.substring(1, jsonStr.length() - 1); } else if (param instanceof Collection) { StringBuilder b = new StringBuilder(); @@ -593,7 +651,7 @@ public String parameterToString(Object param) { if (b.length() > 0) { b.append(","); } - b.append(String.valueOf(o)); + b.append(o); } return b.toString(); } else { @@ -844,7 +902,7 @@ public T deserialize(Response response, Type returnType) throws ApiException contentType = "application/json"; } if (isJsonMime(contentType)) { - return json.deserialize(respBody, returnType); + return JSON.deserialize(respBody, returnType); } else if (returnType.equals(String.class)) { // Expecting string, return the raw response body. return (T) respBody; @@ -878,11 +936,13 @@ public RequestBody serialize(Object obj, String contentType) throws ApiException } else if (isJsonMime(contentType)) { String content; if (obj != null) { - content = json.serialize(obj); + content = JSON.serialize(obj); } else { content = null; } return RequestBody.create(content, MediaType.parse(contentType)); + } else if (obj instanceof String) { + return RequestBody.create((String) obj, MediaType.parse(contentType)); } else { throw new ApiException("Content type \"" + contentType + "\" is not supported"); } @@ -1173,7 +1233,18 @@ public String buildUrl(String baseUrl, String path, List queryParams, List if (baseUrl != null) { url.append(baseUrl).append(path); } else { - url.append(basePath).append(path); + String baseURL; + if (serverIndex != null) { + if (serverIndex < 0 || serverIndex >= servers.size()) { + throw new ArrayIndexOutOfBoundsException(String.format( + "Invalid index %d when selecting the host settings. Must be less than %d", serverIndex, servers.size() + )); + } + baseURL = servers.get(serverIndex).URL(serverVariables); + } else { + baseURL = basePath; + } + url.append(baseURL).append(path); } if (queryParams != null && !queryParams.isEmpty()) { @@ -1302,11 +1373,12 @@ public RequestBody buildRequestBodyMultipart(Map formParams) { for (Object item: list) { if (item instanceof File) { addPartToMultiPartBuilder(mpBuilder, param.getKey(), (File) item); + } else { + addPartToMultiPartBuilder(mpBuilder, param.getKey(), param.getValue()); } } } else { - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + param.getKey() + "\""); - mpBuilder.addPart(partHeaders, RequestBody.create(parameterToString(param.getValue()), null)); + addPartToMultiPartBuilder(mpBuilder, param.getKey(), param.getValue()); } } return mpBuilder.build(); @@ -1340,6 +1412,31 @@ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String k mpBuilder.addPart(partHeaders, RequestBody.create(file, mediaType)); } + /** + * Add a Content-Disposition Header for the given key and complex object to the MultipartBody Builder. + * + * @param mpBuilder MultipartBody.Builder + * @param key The key of the Header element + * @param obj The complex object to add to the Header + */ + private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, Object obj) { + RequestBody requestBody; + if (obj instanceof String) { + requestBody = RequestBody.create((String) obj, MediaType.parse("text/plain")); + } else { + String content; + if (obj != null) { + content = JSON.serialize(obj); + } else { + content = null; + } + requestBody = RequestBody.create(content, MediaType.parse("application/json")); + } + + Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\""); + mpBuilder.addPart(partHeaders, requestBody); + } + /** * Get network interceptor to add it to the httpClient to track download progress for * async requests. @@ -1407,7 +1504,7 @@ public boolean verify(String hostname, SSLSession session) { KeyStore caKeyStore = newEmptyKeyStore(password); int index = 0; for (Certificate certificate : certificates) { - String certificateAlias = "ca" + Integer.toString(index++); + String certificateAlias = "ca" + (index++); caKeyStore.setCertificateEntry(certificateAlias, certificate); } trustManagerFactory.init(caKeyStore); @@ -1440,7 +1537,7 @@ private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityExcepti /** * Convert the HTTP request body to a string. * - * @param request The HTTP request object + * @param requestBody The HTTP request object * @return The string representation of the HTTP request body * @throws com.lodgea.ApiException If fail to serialize the request body object into a string */ diff --git a/src/main/java/com/lodgea/ApiException.java b/src/main/java/com/lodgea/ApiException.java index d4f08b2..d38a282 100644 --- a/src/main/java/com/lodgea/ApiException.java +++ b/src/main/java/com/lodgea/ApiException.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,7 +22,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; @@ -99,7 +99,7 @@ public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { - this((String) null, (Throwable) null, code, responseHeaders, responseBody); + this("Response Code: " + code + " Response Body: " + responseBody, (Throwable) null, code, responseHeaders, responseBody); } /** diff --git a/src/main/java/com/lodgea/ApiResponse.java b/src/main/java/com/lodgea/ApiResponse.java index 423d7ff..33f6cb1 100644 --- a/src/main/java/com/lodgea/ApiResponse.java +++ b/src/main/java/com/lodgea/ApiResponse.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/lodgea/Configuration.java b/src/main/java/com/lodgea/Configuration.java index 89f1ad6..ccf715e 100644 --- a/src/main/java/com/lodgea/Configuration.java +++ b/src/main/java/com/lodgea/Configuration.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,7 +13,7 @@ package com.lodgea; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/lodgea/GzipRequestInterceptor.java b/src/main/java/com/lodgea/GzipRequestInterceptor.java index 79fcf07..f07e73c 100644 --- a/src/main/java/com/lodgea/GzipRequestInterceptor.java +++ b/src/main/java/com/lodgea/GzipRequestInterceptor.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/lodgea/JSON.java b/src/main/java/com/lodgea/JSON.java index f881248..95ef12e 100644 --- a/src/main/java/com/lodgea/JSON.java +++ b/src/main/java/com/lodgea/JSON.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -93,71 +93,53 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter); gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailabilityGet.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailabilitySearch.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.LocationSearch.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertyGet.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertyList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilityGetPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilityGetPost200ResponseRoomTypeListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200ResponseListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerGeo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerGeoLocation.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerLowestPrice.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerMediaListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1LocationSearchPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1LocationSearchPost200ResponseListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponseProperty.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyAwardListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyContactListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDa.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDe.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoEn.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoNl.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyGuestInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyMediaListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyRecordCreated.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyRecordModified.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyServiceListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyTransaction.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyListPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.V1PropertyListPost200ResponseListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailabilitySearchPost200Response.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailabilitySearchPostRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner1.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner1AttractionListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner1AttractionListInnerDistance.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner1Geo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner1GeoLocation.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner1LowestPrice.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.AvailablePropertiesInner1MediaListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.LocationSearchPost200Response.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.LocationSearchPost400Response.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.LocationSearchPost400ResponseValidationErrorsInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.LocationSearchPostRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesGet200Response.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesGet200ResponseListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdAvailabilityGet200Response.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200Response.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponseProperty.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyAwardListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyContactListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyGuestInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyRecordCreated.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyRecordModified.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyServiceListInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.CustomTypeAdapterFactory()); gson = gsonBuilder.create(); } diff --git a/src/main/java/com/lodgea/Pair.java b/src/main/java/com/lodgea/Pair.java index b1a13eb..8ab8b2a 100644 --- a/src/main/java/com/lodgea/Pair.java +++ b/src/main/java/com/lodgea/Pair.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,7 +13,7 @@ package com.lodgea; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/com/lodgea/ProgressRequestBody.java b/src/main/java/com/lodgea/ProgressRequestBody.java index 2d5a270..7b79ab2 100644 --- a/src/main/java/com/lodgea/ProgressRequestBody.java +++ b/src/main/java/com/lodgea/ProgressRequestBody.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/lodgea/ProgressResponseBody.java b/src/main/java/com/lodgea/ProgressResponseBody.java index 41a4761..7b6b429 100644 --- a/src/main/java/com/lodgea/ProgressResponseBody.java +++ b/src/main/java/com/lodgea/ProgressResponseBody.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/lodgea/ServerConfiguration.java b/src/main/java/com/lodgea/ServerConfiguration.java index 6032a45..b161f64 100644 --- a/src/main/java/com/lodgea/ServerConfiguration.java +++ b/src/main/java/com/lodgea/ServerConfiguration.java @@ -42,7 +42,7 @@ public String URL(Map variables) { throw new IllegalArgumentException("The variable " + name + " in the server URL has invalid value " + value + "."); } } - url = url.replaceAll("\\{" + name + "\\}", value); + url = url.replace("{" + name + "}", value); } return url; } diff --git a/src/main/java/com/lodgea/StringUtil.java b/src/main/java/com/lodgea/StringUtil.java index 0e0743e..b379aa5 100644 --- a/src/main/java/com/lodgea/StringUtil.java +++ b/src/main/java/com/lodgea/StringUtil.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/lodgea/auth/ApiKeyAuth.java b/src/main/java/com/lodgea/auth/ApiKeyAuth.java index a384562..8d2c54a 100644 --- a/src/main/java/com/lodgea/auth/ApiKeyAuth.java +++ b/src/main/java/com/lodgea/auth/ApiKeyAuth.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/lodgea/auth/Authentication.java b/src/main/java/com/lodgea/auth/Authentication.java index a6c7a95..7079534 100644 --- a/src/main/java/com/lodgea/auth/Authentication.java +++ b/src/main/java/com/lodgea/auth/Authentication.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/lodgea/auth/HttpBasicAuth.java b/src/main/java/com/lodgea/auth/HttpBasicAuth.java index c8fa01c..29ef24e 100644 --- a/src/main/java/com/lodgea/auth/HttpBasicAuth.java +++ b/src/main/java/com/lodgea/auth/HttpBasicAuth.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/lodgea/auth/HttpBearerAuth.java b/src/main/java/com/lodgea/auth/HttpBearerAuth.java index 4aa75b5..49e771d 100644 --- a/src/main/java/com/lodgea/auth/HttpBearerAuth.java +++ b/src/main/java/com/lodgea/auth/HttpBearerAuth.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/main/java/com/lodgea/controllers/AvailabilityApi.java b/src/main/java/com/lodgea/controllers/AvailabilityApi.java deleted file mode 100644 index e0e6bad..0000000 --- a/src/main/java/com/lodgea/controllers/AvailabilityApi.java +++ /dev/null @@ -1,390 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.controllers; - -import com.lodgea.ApiCallback; -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.ApiResponse; -import com.lodgea.Configuration; -import com.lodgea.Pair; -import com.lodgea.ProgressRequestBody; -import com.lodgea.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.lodgea.model.AvailabilityGet; -import com.lodgea.model.AvailabilitySearch; -import com.lodgea.model.V1AvailabilityGetPost200Response; -import com.lodgea.model.V1AvailabilitySearchPost200Response; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.ws.rs.core.GenericType; - -public class AvailabilityApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public AvailabilityApi() { - this(Configuration.getDefaultApiClient()); - } - - public AvailabilityApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for v1AvailabilityGetPost - * @param availabilityGet Availability get parameter (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1AvailabilityGetPostCall(AvailabilityGet availabilityGet, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = availabilityGet; - - // create path and map variables - String localVarPath = "/v1/availability/get"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1AvailabilityGetPostValidateBeforeCall(AvailabilityGet availabilityGet, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'availabilityGet' is set - if (availabilityGet == null) { - throw new ApiException("Missing the required parameter 'availabilityGet' when calling v1AvailabilityGetPost(Async)"); - } - - - okhttp3.Call localVarCall = v1AvailabilityGetPostCall(availabilityGet, _callback); - return localVarCall; - - } - - /** - * Get Availability for Property - * Get availability information based on a specific property. - * @param availabilityGet Availability get parameter (required) - * @return V1AvailabilityGetPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1AvailabilityGetPost200Response v1AvailabilityGetPost(AvailabilityGet availabilityGet) throws ApiException { - ApiResponse localVarResp = v1AvailabilityGetPostWithHttpInfo(availabilityGet); - return localVarResp.getData(); - } - - /** - * Get Availability for Property - * Get availability information based on a specific property. - * @param availabilityGet Availability get parameter (required) - * @return ApiResponse<V1AvailabilityGetPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1AvailabilityGetPostWithHttpInfo(AvailabilityGet availabilityGet) throws ApiException { - okhttp3.Call localVarCall = v1AvailabilityGetPostValidateBeforeCall(availabilityGet, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Availability for Property (asynchronously) - * Get availability information based on a specific property. - * @param availabilityGet Availability get parameter (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1AvailabilityGetPostAsync(AvailabilityGet availabilityGet, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1AvailabilityGetPostValidateBeforeCall(availabilityGet, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for v1AvailabilitySearchPost - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1AvailabilitySearchPostCall(AvailabilitySearch availabilitySearch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = availabilitySearch; - - // create path and map variables - String localVarPath = "/v1/availability/search"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1AvailabilitySearchPostValidateBeforeCall(AvailabilitySearch availabilitySearch, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = v1AvailabilitySearchPostCall(availabilitySearch, _callback); - return localVarCall; - - } - - /** - * Search for Availability - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @return V1AvailabilitySearchPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1AvailabilitySearchPost200Response v1AvailabilitySearchPost(AvailabilitySearch availabilitySearch) throws ApiException { - ApiResponse localVarResp = v1AvailabilitySearchPostWithHttpInfo(availabilitySearch); - return localVarResp.getData(); - } - - /** - * Search for Availability - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @return ApiResponse<V1AvailabilitySearchPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1AvailabilitySearchPostWithHttpInfo(AvailabilitySearch availabilitySearch) throws ApiException { - okhttp3.Call localVarCall = v1AvailabilitySearchPostValidateBeforeCall(availabilitySearch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Search for Availability (asynchronously) - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1AvailabilitySearchPostAsync(AvailabilitySearch availabilitySearch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1AvailabilitySearchPostValidateBeforeCall(availabilitySearch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/lodgea/controllers/DefaultApi.java b/src/main/java/com/lodgea/controllers/DefaultApi.java new file mode 100644 index 0000000..d5bd9d2 --- /dev/null +++ b/src/main/java/com/lodgea/controllers/DefaultApi.java @@ -0,0 +1,751 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.controllers; + +import com.lodgea.ApiCallback; +import com.lodgea.ApiClient; +import com.lodgea.ApiException; +import com.lodgea.ApiResponse; +import com.lodgea.Configuration; +import com.lodgea.Pair; +import com.lodgea.ProgressRequestBody; +import com.lodgea.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.lodgea.model.AvailabilitySearchPost200Response; +import com.lodgea.model.AvailabilitySearchPostRequest; +import com.lodgea.model.LocationSearchPost200Response; +import com.lodgea.model.LocationSearchPost400Response; +import com.lodgea.model.LocationSearchPostRequest; +import com.lodgea.model.PropertiesGet200Response; +import com.lodgea.model.PropertiesPropertyIdAvailabilityGet200Response; +import com.lodgea.model.PropertiesPropertyIdGet200Response; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class DefaultApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public DefaultApi() { + this(Configuration.getDefaultApiClient()); + } + + public DefaultApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for availabilitySearchPost + * @param availabilitySearchPostRequest (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of available properties matching the given criteria is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call availabilitySearchPostCall(AvailabilitySearchPostRequest availabilitySearchPostRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = availabilitySearchPostRequest; + + // create path and map variables + String localVarPath = "/availability/search"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call availabilitySearchPostValidateBeforeCall(AvailabilitySearchPostRequest availabilitySearchPostRequest, final ApiCallback _callback) throws ApiException { + return availabilitySearchPostCall(availabilitySearchPostRequest, _callback); + + } + + /** + * Search for availability + * Get availability information based on search criteria. + * @param availabilitySearchPostRequest (optional) + * @return AvailabilitySearchPost200Response + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of available properties matching the given criteria is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public AvailabilitySearchPost200Response availabilitySearchPost(AvailabilitySearchPostRequest availabilitySearchPostRequest) throws ApiException { + ApiResponse localVarResp = availabilitySearchPostWithHttpInfo(availabilitySearchPostRequest); + return localVarResp.getData(); + } + + /** + * Search for availability + * Get availability information based on search criteria. + * @param availabilitySearchPostRequest (optional) + * @return ApiResponse<AvailabilitySearchPost200Response> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of available properties matching the given criteria is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public ApiResponse availabilitySearchPostWithHttpInfo(AvailabilitySearchPostRequest availabilitySearchPostRequest) throws ApiException { + okhttp3.Call localVarCall = availabilitySearchPostValidateBeforeCall(availabilitySearchPostRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Search for availability (asynchronously) + * Get availability information based on search criteria. + * @param availabilitySearchPostRequest (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of available properties matching the given criteria is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call availabilitySearchPostAsync(AvailabilitySearchPostRequest availabilitySearchPostRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = availabilitySearchPostValidateBeforeCall(availabilitySearchPostRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for locationSearchPost + * @param locationSearchPostRequest (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of locations matching the given location search text is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call locationSearchPostCall(LocationSearchPostRequest locationSearchPostRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = locationSearchPostRequest; + + // create path and map variables + String localVarPath = "/location/search"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call locationSearchPostValidateBeforeCall(LocationSearchPostRequest locationSearchPostRequest, final ApiCallback _callback) throws ApiException { + return locationSearchPostCall(locationSearchPostRequest, _callback); + + } + + /** + * Search for location + * Get a list of locations and their lowest available rate related to a given keyword. + * @param locationSearchPostRequest (optional) + * @return LocationSearchPost200Response + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of locations matching the given location search text is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public LocationSearchPost200Response locationSearchPost(LocationSearchPostRequest locationSearchPostRequest) throws ApiException { + ApiResponse localVarResp = locationSearchPostWithHttpInfo(locationSearchPostRequest); + return localVarResp.getData(); + } + + /** + * Search for location + * Get a list of locations and their lowest available rate related to a given keyword. + * @param locationSearchPostRequest (optional) + * @return ApiResponse<LocationSearchPost200Response> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of locations matching the given location search text is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public ApiResponse locationSearchPostWithHttpInfo(LocationSearchPostRequest locationSearchPostRequest) throws ApiException { + okhttp3.Call localVarCall = locationSearchPostValidateBeforeCall(locationSearchPostRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Search for location (asynchronously) + * Get a list of locations and their lowest available rate related to a given keyword. + * @param locationSearchPostRequest (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of locations matching the given location search text is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call locationSearchPostAsync(LocationSearchPostRequest locationSearchPostRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = locationSearchPostValidateBeforeCall(locationSearchPostRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for propertiesGet + * @param keyword (optional) + * @param pageToken (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call propertiesGetCall(String keyword, String pageToken, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/properties"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (keyword != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("keyword", keyword)); + } + + if (pageToken != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pageToken", pageToken)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call propertiesGetValidateBeforeCall(String keyword, String pageToken, final ApiCallback _callback) throws ApiException { + return propertiesGetCall(keyword, pageToken, _callback); + + } + + /** + * List (filtered) properties + * List properties, optionally filtered by a keyword. + * @param keyword (optional) + * @param pageToken (optional) + * @return PropertiesGet200Response + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public PropertiesGet200Response propertiesGet(String keyword, String pageToken) throws ApiException { + ApiResponse localVarResp = propertiesGetWithHttpInfo(keyword, pageToken); + return localVarResp.getData(); + } + + /** + * List (filtered) properties + * List properties, optionally filtered by a keyword. + * @param keyword (optional) + * @param pageToken (optional) + * @return ApiResponse<PropertiesGet200Response> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public ApiResponse propertiesGetWithHttpInfo(String keyword, String pageToken) throws ApiException { + okhttp3.Call localVarCall = propertiesGetValidateBeforeCall(keyword, pageToken, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List (filtered) properties (asynchronously) + * List properties, optionally filtered by a keyword. + * @param keyword (optional) + * @param pageToken (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call propertiesGetAsync(String keyword, String pageToken, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = propertiesGetValidateBeforeCall(keyword, pageToken, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for propertiesPropertyIdAvailabilityGet + * @param propertyId (required) + * @param currencyCode (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call propertiesPropertyIdAvailabilityGetCall(String propertyId, String currencyCode, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/properties/{propertyId}/availability" + .replace("{" + "propertyId" + "}", localVarApiClient.escapeString(propertyId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (currencyCode != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("currencyCode", currencyCode)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call propertiesPropertyIdAvailabilityGetValidateBeforeCall(String propertyId, String currencyCode, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'propertyId' is set + if (propertyId == null) { + throw new ApiException("Missing the required parameter 'propertyId' when calling propertiesPropertyIdAvailabilityGet(Async)"); + } + + // verify the required parameter 'currencyCode' is set + if (currencyCode == null) { + throw new ApiException("Missing the required parameter 'currencyCode' when calling propertiesPropertyIdAvailabilityGet(Async)"); + } + + return propertiesPropertyIdAvailabilityGetCall(propertyId, currencyCode, _callback); + + } + + /** + * Get a properties availability + * Get detailed availability information for a specific property. + * @param propertyId (required) + * @param currencyCode (required) + * @return PropertiesPropertyIdAvailabilityGet200Response + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public PropertiesPropertyIdAvailabilityGet200Response propertiesPropertyIdAvailabilityGet(String propertyId, String currencyCode) throws ApiException { + ApiResponse localVarResp = propertiesPropertyIdAvailabilityGetWithHttpInfo(propertyId, currencyCode); + return localVarResp.getData(); + } + + /** + * Get a properties availability + * Get detailed availability information for a specific property. + * @param propertyId (required) + * @param currencyCode (required) + * @return ApiResponse<PropertiesPropertyIdAvailabilityGet200Response> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public ApiResponse propertiesPropertyIdAvailabilityGetWithHttpInfo(String propertyId, String currencyCode) throws ApiException { + okhttp3.Call localVarCall = propertiesPropertyIdAvailabilityGetValidateBeforeCall(propertyId, currencyCode, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a properties availability (asynchronously) + * Get detailed availability information for a specific property. + * @param propertyId (required) + * @param currencyCode (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Status Code Description Response Headers
200 Successful, a list of properties matching the given keyword is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
+ */ + public okhttp3.Call propertiesPropertyIdAvailabilityGetAsync(String propertyId, String currencyCode, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = propertiesPropertyIdAvailabilityGetValidateBeforeCall(propertyId, currencyCode, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for propertiesPropertyIdGet + * @param propertyId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Status Code Description Response Headers
200 Successful, property found, the whole property object is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
404 The requested resource was not found -
+ */ + public okhttp3.Call propertiesPropertyIdGetCall(String propertyId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/properties/{propertyId}" + .replace("{" + "propertyId" + "}", localVarApiClient.escapeString(propertyId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call propertiesPropertyIdGetValidateBeforeCall(String propertyId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'propertyId' is set + if (propertyId == null) { + throw new ApiException("Missing the required parameter 'propertyId' when calling propertiesPropertyIdGet(Async)"); + } + + return propertiesPropertyIdGetCall(propertyId, _callback); + + } + + /** + * Get a properties details + * Get all information about a specific property by its ID. + * @param propertyId (required) + * @return PropertiesPropertyIdGet200Response + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Status Code Description Response Headers
200 Successful, property found, the whole property object is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
404 The requested resource was not found -
+ */ + public PropertiesPropertyIdGet200Response propertiesPropertyIdGet(String propertyId) throws ApiException { + ApiResponse localVarResp = propertiesPropertyIdGetWithHttpInfo(propertyId); + return localVarResp.getData(); + } + + /** + * Get a properties details + * Get all information about a specific property by its ID. + * @param propertyId (required) + * @return ApiResponse<PropertiesPropertyIdGet200Response> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Status Code Description Response Headers
200 Successful, property found, the whole property object is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
404 The requested resource was not found -
+ */ + public ApiResponse propertiesPropertyIdGetWithHttpInfo(String propertyId) throws ApiException { + okhttp3.Call localVarCall = propertiesPropertyIdGetValidateBeforeCall(propertyId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a properties details (asynchronously) + * Get all information about a specific property by its ID. + * @param propertyId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Status Code Description Response Headers
200 Successful, property found, the whole property object is returned. -
400 We validate all calls to our API in a strict manner using Zod. In case of any validation errors, we send back a 400 response with a list of all validation errors. For more info see https://github.com/colinhacks/zod/blob/master/ERROR_HANDLING.md. -
403 Unauthorized, the api key in the \"apiKey\" header field is invalid. -
404 The requested resource was not found -
+ */ + public okhttp3.Call propertiesPropertyIdGetAsync(String propertyId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = propertiesPropertyIdGetValidateBeforeCall(propertyId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/lodgea/controllers/LocationApi.java b/src/main/java/com/lodgea/controllers/LocationApi.java deleted file mode 100644 index ea98cc7..0000000 --- a/src/main/java/com/lodgea/controllers/LocationApi.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.controllers; - -import com.lodgea.ApiCallback; -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.ApiResponse; -import com.lodgea.Configuration; -import com.lodgea.Pair; -import com.lodgea.ProgressRequestBody; -import com.lodgea.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.lodgea.model.LocationSearch; -import com.lodgea.model.V1LocationSearchPost200Response; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.ws.rs.core.GenericType; - -public class LocationApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public LocationApi() { - this(Configuration.getDefaultApiClient()); - } - - public LocationApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for v1LocationSearchPost - * @param locationSearch Free-text search criteria (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1LocationSearchPostCall(LocationSearch locationSearch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = locationSearch; - - // create path and map variables - String localVarPath = "/v1/location/search"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1LocationSearchPostValidateBeforeCall(LocationSearch locationSearch, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'locationSearch' is set - if (locationSearch == null) { - throw new ApiException("Missing the required parameter 'locationSearch' when calling v1LocationSearchPost(Async)"); - } - - - okhttp3.Call localVarCall = v1LocationSearchPostCall(locationSearch, _callback); - return localVarCall; - - } - - /** - * Search for Location - * Get a location by search text in free from. This parameter is required. - * @param locationSearch Free-text search criteria (required) - * @return V1LocationSearchPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1LocationSearchPost200Response v1LocationSearchPost(LocationSearch locationSearch) throws ApiException { - ApiResponse localVarResp = v1LocationSearchPostWithHttpInfo(locationSearch); - return localVarResp.getData(); - } - - /** - * Search for Location - * Get a location by search text in free from. This parameter is required. - * @param locationSearch Free-text search criteria (required) - * @return ApiResponse<V1LocationSearchPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1LocationSearchPostWithHttpInfo(LocationSearch locationSearch) throws ApiException { - okhttp3.Call localVarCall = v1LocationSearchPostValidateBeforeCall(locationSearch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Search for Location (asynchronously) - * Get a location by search text in free from. This parameter is required. - * @param locationSearch Free-text search criteria (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1LocationSearchPostAsync(LocationSearch locationSearch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1LocationSearchPostValidateBeforeCall(locationSearch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/lodgea/controllers/PropertyApi.java b/src/main/java/com/lodgea/controllers/PropertyApi.java deleted file mode 100644 index 54661d9..0000000 --- a/src/main/java/com/lodgea/controllers/PropertyApi.java +++ /dev/null @@ -1,395 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.controllers; - -import com.lodgea.ApiCallback; -import com.lodgea.ApiClient; -import com.lodgea.ApiException; -import com.lodgea.ApiResponse; -import com.lodgea.Configuration; -import com.lodgea.Pair; -import com.lodgea.ProgressRequestBody; -import com.lodgea.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.lodgea.model.PropertyGet; -import com.lodgea.model.PropertyList; -import com.lodgea.model.V1PropertyGetPost200Response; -import com.lodgea.model.V1PropertyListPost200Response; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.ws.rs.core.GenericType; - -public class PropertyApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PropertyApi() { - this(Configuration.getDefaultApiClient()); - } - - public PropertyApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for v1PropertyGetPost - * @param propertyGet Provide the property ID to get more information about it (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1PropertyGetPostCall(PropertyGet propertyGet, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = propertyGet; - - // create path and map variables - String localVarPath = "/v1/property/get"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1PropertyGetPostValidateBeforeCall(PropertyGet propertyGet, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'propertyGet' is set - if (propertyGet == null) { - throw new ApiException("Missing the required parameter 'propertyGet' when calling v1PropertyGetPost(Async)"); - } - - - okhttp3.Call localVarCall = v1PropertyGetPostCall(propertyGet, _callback); - return localVarCall; - - } - - /** - * Get Property by ID - * Get all information about a specific property by its ID. This parameter is required. - * @param propertyGet Provide the property ID to get more information about it (required) - * @return V1PropertyGetPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1PropertyGetPost200Response v1PropertyGetPost(PropertyGet propertyGet) throws ApiException { - ApiResponse localVarResp = v1PropertyGetPostWithHttpInfo(propertyGet); - return localVarResp.getData(); - } - - /** - * Get Property by ID - * Get all information about a specific property by its ID. This parameter is required. - * @param propertyGet Provide the property ID to get more information about it (required) - * @return ApiResponse<V1PropertyGetPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1PropertyGetPostWithHttpInfo(PropertyGet propertyGet) throws ApiException { - okhttp3.Call localVarCall = v1PropertyGetPostValidateBeforeCall(propertyGet, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Property by ID (asynchronously) - * Get all information about a specific property by its ID. This parameter is required. - * @param propertyGet Provide the property ID to get more information about it (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1PropertyGetPostAsync(PropertyGet propertyGet, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1PropertyGetPostValidateBeforeCall(propertyGet, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for v1PropertyListPost - * @param propertyList Provide the search keyword and optionally a page token to fetch further responses. The page token can be added if additional results should be returned. It is a base64 encoded dictionary and included in the first response in case not all results were delivered (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1PropertyListPostCall(PropertyList propertyList, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = propertyList; - - // create path and map variables - String localVarPath = "/v1/property/list"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1PropertyListPostValidateBeforeCall(PropertyList propertyList, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'propertyList' is set - if (propertyList == null) { - throw new ApiException("Missing the required parameter 'propertyList' when calling v1PropertyListPost(Async)"); - } - - - okhttp3.Call localVarCall = v1PropertyListPostCall(propertyList, _callback); - return localVarCall; - - } - - /** - * List properties by a specific keyword - * List properties by a specific keyword. - * @param propertyList Provide the search keyword and optionally a page token to fetch further responses. The page token can be added if additional results should be returned. It is a base64 encoded dictionary and included in the first response in case not all results were delivered (required) - * @return V1PropertyListPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1PropertyListPost200Response v1PropertyListPost(PropertyList propertyList) throws ApiException { - ApiResponse localVarResp = v1PropertyListPostWithHttpInfo(propertyList); - return localVarResp.getData(); - } - - /** - * List properties by a specific keyword - * List properties by a specific keyword. - * @param propertyList Provide the search keyword and optionally a page token to fetch further responses. The page token can be added if additional results should be returned. It is a base64 encoded dictionary and included in the first response in case not all results were delivered (required) - * @return ApiResponse<V1PropertyListPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1PropertyListPostWithHttpInfo(PropertyList propertyList) throws ApiException { - okhttp3.Call localVarCall = v1PropertyListPostValidateBeforeCall(propertyList, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * List properties by a specific keyword (asynchronously) - * List properties by a specific keyword. - * @param propertyList Provide the search keyword and optionally a page token to fetch further responses. The page token can be added if additional results should be returned. It is a base64 encoded dictionary and included in the first response in case not all results were delivered (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1PropertyListPostAsync(PropertyList propertyList, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1PropertyListPostValidateBeforeCall(propertyList, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/lodgea/model/AbstractOpenApiSchema.java b/src/main/java/com/lodgea/model/AbstractOpenApiSchema.java index b390270..b3c1d4f 100644 --- a/src/main/java/com/lodgea/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/lodgea/model/AbstractOpenApiSchema.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,7 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/com/lodgea/model/AvailabilityGet.java b/src/main/java/com/lodgea/model/AvailabilityGet.java deleted file mode 100644 index 4091d41..0000000 --- a/src/main/java/com/lodgea/model/AvailabilityGet.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * AvailabilityGet - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class AvailabilityGet { - public static final String SERIALIZED_NAME_PROPERTY_CODE = "propertyCode"; - @SerializedName(SERIALIZED_NAME_PROPERTY_CODE) - private String propertyCode; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public AvailabilityGet() { - } - - public AvailabilityGet propertyCode(String propertyCode) { - - this.propertyCode = propertyCode; - return this; - } - - /** - * Get propertyCode - * @return propertyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getPropertyCode() { - return propertyCode; - } - - - public void setPropertyCode(String propertyCode) { - this.propertyCode = propertyCode; - } - - - public AvailabilityGet currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AvailabilityGet availabilityGet = (AvailabilityGet) o; - return Objects.equals(this.propertyCode, availabilityGet.propertyCode) && - Objects.equals(this.currencyCode, availabilityGet.currencyCode); - } - - @Override - public int hashCode() { - return Objects.hash(propertyCode, currencyCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AvailabilityGet {\n"); - sb.append(" propertyCode: ").append(toIndentedString(propertyCode)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("propertyCode"); - openapiFields.add("currencyCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to AvailabilityGet - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (AvailabilityGet.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in AvailabilityGet is not found in the empty JSON string", AvailabilityGet.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!AvailabilityGet.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailabilityGet` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("propertyCode") != null && !jsonObj.get("propertyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyCode").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!AvailabilityGet.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AvailabilityGet' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(AvailabilityGet.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AvailabilityGet value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public AvailabilityGet read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of AvailabilityGet given an JSON string - * - * @param jsonString JSON string - * @return An instance of AvailabilityGet - * @throws IOException if the JSON string is invalid with respect to AvailabilityGet - */ - public static AvailabilityGet fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AvailabilityGet.class); - } - - /** - * Convert an instance of AvailabilityGet to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/AvailabilitySearch.java b/src/main/java/com/lodgea/model/AvailabilitySearch.java deleted file mode 100644 index efbfa86..0000000 --- a/src/main/java/com/lodgea/model/AvailabilitySearch.java +++ /dev/null @@ -1,744 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.time.LocalDate; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * AvailabilitySearch - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class AvailabilitySearch { - public static final String SERIALIZED_NAME_ADULT_COUNT = "adultCount"; - @SerializedName(SERIALIZED_NAME_ADULT_COUNT) - private BigDecimal adultCount; - - public static final String SERIALIZED_NAME_CHILD_COUNT = "childCount"; - @SerializedName(SERIALIZED_NAME_CHILD_COUNT) - private BigDecimal childCount; - - public static final String SERIALIZED_NAME_CHILD_AGE_LIST = "childAgeList"; - @SerializedName(SERIALIZED_NAME_CHILD_AGE_LIST) - private List childAgeList = null; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_MIN_LENGTH_OF_STAY = "minLengthOfStay"; - @SerializedName(SERIALIZED_NAME_MIN_LENGTH_OF_STAY) - private BigDecimal minLengthOfStay; - - public static final String SERIALIZED_NAME_MAX_LENGTH_OF_STAY = "maxLengthOfStay"; - @SerializedName(SERIALIZED_NAME_MAX_LENGTH_OF_STAY) - private BigDecimal maxLengthOfStay; - - public static final String SERIALIZED_NAME_LOCATION_NAME = "locationName"; - @SerializedName(SERIALIZED_NAME_LOCATION_NAME) - private String locationName; - - public static final String SERIALIZED_NAME_LOCATION_TYPE = "locationType"; - @SerializedName(SERIALIZED_NAME_LOCATION_TYPE) - private String locationType; - - public static final String SERIALIZED_NAME_EARLIEST_ARRIVAL = "earliestArrival"; - @SerializedName(SERIALIZED_NAME_EARLIEST_ARRIVAL) - private LocalDate earliestArrival; - - public static final String SERIALIZED_NAME_LATEST_RETURN = "latestReturn"; - @SerializedName(SERIALIZED_NAME_LATEST_RETURN) - private LocalDate latestReturn; - - public static final String SERIALIZED_NAME_SORT = "sort"; - @SerializedName(SERIALIZED_NAME_SORT) - private String sort; - - public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; - @SerializedName(SERIALIZED_NAME_SERVICE_LIST) - private List serviceList = null; - - public static final String SERIALIZED_NAME_TYPE_LIST = "typeList"; - @SerializedName(SERIALIZED_NAME_TYPE_LIST) - private List typeList = null; - - public static final String SERIALIZED_NAME_UNIT_TYPE_LIST = "unitTypeList"; - @SerializedName(SERIALIZED_NAME_UNIT_TYPE_LIST) - private List unitTypeList = null; - - public static final String SERIALIZED_NAME_UNIT_AMENITY_LIST = "unitAmenityList"; - @SerializedName(SERIALIZED_NAME_UNIT_AMENITY_LIST) - private List unitAmenityList = null; - - public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; - @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) - private List mealPlanList = null; - - public AvailabilitySearch() { - } - - public AvailabilitySearch adultCount(BigDecimal adultCount) { - - this.adultCount = adultCount; - return this; - } - - /** - * Get adultCount - * @return adultCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2", value = "") - - public BigDecimal getAdultCount() { - return adultCount; - } - - - public void setAdultCount(BigDecimal adultCount) { - this.adultCount = adultCount; - } - - - public AvailabilitySearch childCount(BigDecimal childCount) { - - this.childCount = childCount; - return this; - } - - /** - * Get childCount - * @return childCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2", value = "") - - public BigDecimal getChildCount() { - return childCount; - } - - - public void setChildCount(BigDecimal childCount) { - this.childCount = childCount; - } - - - public AvailabilitySearch childAgeList(List childAgeList) { - - this.childAgeList = childAgeList; - return this; - } - - public AvailabilitySearch addChildAgeListItem(BigDecimal childAgeListItem) { - if (this.childAgeList == null) { - this.childAgeList = new ArrayList<>(); - } - this.childAgeList.add(childAgeListItem); - return this; - } - - /** - * Get childAgeList - * @return childAgeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getChildAgeList() { - return childAgeList; - } - - - public void setChildAgeList(List childAgeList) { - this.childAgeList = childAgeList; - } - - - public AvailabilitySearch currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public AvailabilitySearch minLengthOfStay(BigDecimal minLengthOfStay) { - - this.minLengthOfStay = minLengthOfStay; - return this; - } - - /** - * Get minLengthOfStay - * @return minLengthOfStay - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getMinLengthOfStay() { - return minLengthOfStay; - } - - - public void setMinLengthOfStay(BigDecimal minLengthOfStay) { - this.minLengthOfStay = minLengthOfStay; - } - - - public AvailabilitySearch maxLengthOfStay(BigDecimal maxLengthOfStay) { - - this.maxLengthOfStay = maxLengthOfStay; - return this; - } - - /** - * Get maxLengthOfStay - * @return maxLengthOfStay - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "27", value = "") - - public BigDecimal getMaxLengthOfStay() { - return maxLengthOfStay; - } - - - public void setMaxLengthOfStay(BigDecimal maxLengthOfStay) { - this.maxLengthOfStay = maxLengthOfStay; - } - - - public AvailabilitySearch locationName(String locationName) { - - this.locationName = locationName; - return this; - } - - /** - * Get locationName - * @return locationName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Oberbayern", value = "") - - public String getLocationName() { - return locationName; - } - - - public void setLocationName(String locationName) { - this.locationName = locationName; - } - - - public AvailabilitySearch locationType(String locationType) { - - this.locationType = locationType; - return this; - } - - /** - * Get locationType - * @return locationType - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "locality", value = "") - - public String getLocationType() { - return locationType; - } - - - public void setLocationType(String locationType) { - this.locationType = locationType; - } - - - public AvailabilitySearch earliestArrival(LocalDate earliestArrival) { - - this.earliestArrival = earliestArrival; - return this; - } - - /** - * Get earliestArrival - * @return earliestArrival - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Thu Sep 01 00:00:00 UTC 2022", value = "") - - public LocalDate getEarliestArrival() { - return earliestArrival; - } - - - public void setEarliestArrival(LocalDate earliestArrival) { - this.earliestArrival = earliestArrival; - } - - - public AvailabilitySearch latestReturn(LocalDate latestReturn) { - - this.latestReturn = latestReturn; - return this; - } - - /** - * Get latestReturn - * @return latestReturn - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Thu Sep 08 00:00:00 UTC 2022", value = "") - - public LocalDate getLatestReturn() { - return latestReturn; - } - - - public void setLatestReturn(LocalDate latestReturn) { - this.latestReturn = latestReturn; - } - - - public AvailabilitySearch sort(String sort) { - - this.sort = sort; - return this; - } - - /** - * Get sort - * @return sort - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "quality", value = "") - - public String getSort() { - return sort; - } - - - public void setSort(String sort) { - this.sort = sort; - } - - - public AvailabilitySearch serviceList(List serviceList) { - - this.serviceList = serviceList; - return this; - } - - public AvailabilitySearch addServiceListItem(BigDecimal serviceListItem) { - if (this.serviceList == null) { - this.serviceList = new ArrayList<>(); - } - this.serviceList.add(serviceListItem); - return this; - } - - /** - * Get serviceList - * @return serviceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getServiceList() { - return serviceList; - } - - - public void setServiceList(List serviceList) { - this.serviceList = serviceList; - } - - - public AvailabilitySearch typeList(List typeList) { - - this.typeList = typeList; - return this; - } - - public AvailabilitySearch addTypeListItem(BigDecimal typeListItem) { - if (this.typeList == null) { - this.typeList = new ArrayList<>(); - } - this.typeList.add(typeListItem); - return this; - } - - /** - * Get typeList - * @return typeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTypeList() { - return typeList; - } - - - public void setTypeList(List typeList) { - this.typeList = typeList; - } - - - public AvailabilitySearch unitTypeList(List unitTypeList) { - - this.unitTypeList = unitTypeList; - return this; - } - - public AvailabilitySearch addUnitTypeListItem(BigDecimal unitTypeListItem) { - if (this.unitTypeList == null) { - this.unitTypeList = new ArrayList<>(); - } - this.unitTypeList.add(unitTypeListItem); - return this; - } - - /** - * Get unitTypeList - * @return unitTypeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getUnitTypeList() { - return unitTypeList; - } - - - public void setUnitTypeList(List unitTypeList) { - this.unitTypeList = unitTypeList; - } - - - public AvailabilitySearch unitAmenityList(List unitAmenityList) { - - this.unitAmenityList = unitAmenityList; - return this; - } - - public AvailabilitySearch addUnitAmenityListItem(BigDecimal unitAmenityListItem) { - if (this.unitAmenityList == null) { - this.unitAmenityList = new ArrayList<>(); - } - this.unitAmenityList.add(unitAmenityListItem); - return this; - } - - /** - * Get unitAmenityList - * @return unitAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getUnitAmenityList() { - return unitAmenityList; - } - - - public void setUnitAmenityList(List unitAmenityList) { - this.unitAmenityList = unitAmenityList; - } - - - public AvailabilitySearch mealPlanList(List mealPlanList) { - - this.mealPlanList = mealPlanList; - return this; - } - - public AvailabilitySearch addMealPlanListItem(BigDecimal mealPlanListItem) { - if (this.mealPlanList == null) { - this.mealPlanList = new ArrayList<>(); - } - this.mealPlanList.add(mealPlanListItem); - return this; - } - - /** - * Get mealPlanList - * @return mealPlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMealPlanList() { - return mealPlanList; - } - - - public void setMealPlanList(List mealPlanList) { - this.mealPlanList = mealPlanList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AvailabilitySearch availabilitySearch = (AvailabilitySearch) o; - return Objects.equals(this.adultCount, availabilitySearch.adultCount) && - Objects.equals(this.childCount, availabilitySearch.childCount) && - Objects.equals(this.childAgeList, availabilitySearch.childAgeList) && - Objects.equals(this.currencyCode, availabilitySearch.currencyCode) && - Objects.equals(this.minLengthOfStay, availabilitySearch.minLengthOfStay) && - Objects.equals(this.maxLengthOfStay, availabilitySearch.maxLengthOfStay) && - Objects.equals(this.locationName, availabilitySearch.locationName) && - Objects.equals(this.locationType, availabilitySearch.locationType) && - Objects.equals(this.earliestArrival, availabilitySearch.earliestArrival) && - Objects.equals(this.latestReturn, availabilitySearch.latestReturn) && - Objects.equals(this.sort, availabilitySearch.sort) && - Objects.equals(this.serviceList, availabilitySearch.serviceList) && - Objects.equals(this.typeList, availabilitySearch.typeList) && - Objects.equals(this.unitTypeList, availabilitySearch.unitTypeList) && - Objects.equals(this.unitAmenityList, availabilitySearch.unitAmenityList) && - Objects.equals(this.mealPlanList, availabilitySearch.mealPlanList); - } - - @Override - public int hashCode() { - return Objects.hash(adultCount, childCount, childAgeList, currencyCode, minLengthOfStay, maxLengthOfStay, locationName, locationType, earliestArrival, latestReturn, sort, serviceList, typeList, unitTypeList, unitAmenityList, mealPlanList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AvailabilitySearch {\n"); - sb.append(" adultCount: ").append(toIndentedString(adultCount)).append("\n"); - sb.append(" childCount: ").append(toIndentedString(childCount)).append("\n"); - sb.append(" childAgeList: ").append(toIndentedString(childAgeList)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" minLengthOfStay: ").append(toIndentedString(minLengthOfStay)).append("\n"); - sb.append(" maxLengthOfStay: ").append(toIndentedString(maxLengthOfStay)).append("\n"); - sb.append(" locationName: ").append(toIndentedString(locationName)).append("\n"); - sb.append(" locationType: ").append(toIndentedString(locationType)).append("\n"); - sb.append(" earliestArrival: ").append(toIndentedString(earliestArrival)).append("\n"); - sb.append(" latestReturn: ").append(toIndentedString(latestReturn)).append("\n"); - sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); - sb.append(" typeList: ").append(toIndentedString(typeList)).append("\n"); - sb.append(" unitTypeList: ").append(toIndentedString(unitTypeList)).append("\n"); - sb.append(" unitAmenityList: ").append(toIndentedString(unitAmenityList)).append("\n"); - sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("adultCount"); - openapiFields.add("childCount"); - openapiFields.add("childAgeList"); - openapiFields.add("currencyCode"); - openapiFields.add("minLengthOfStay"); - openapiFields.add("maxLengthOfStay"); - openapiFields.add("locationName"); - openapiFields.add("locationType"); - openapiFields.add("earliestArrival"); - openapiFields.add("latestReturn"); - openapiFields.add("sort"); - openapiFields.add("serviceList"); - openapiFields.add("typeList"); - openapiFields.add("unitTypeList"); - openapiFields.add("unitAmenityList"); - openapiFields.add("mealPlanList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to AvailabilitySearch - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (AvailabilitySearch.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in AvailabilitySearch is not found in the empty JSON string", AvailabilitySearch.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!AvailabilitySearch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailabilitySearch` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // ensure the json data is an array - if (jsonObj.get("childAgeList") != null && !jsonObj.get("childAgeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `childAgeList` to be an array in the JSON string but got `%s`", jsonObj.get("childAgeList").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - if (jsonObj.get("locationName") != null && !jsonObj.get("locationName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locationName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locationName").toString())); - } - if (jsonObj.get("locationType") != null && !jsonObj.get("locationType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locationType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locationType").toString())); - } - if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sort` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sort").toString())); - } - // ensure the json data is an array - if (jsonObj.get("serviceList") != null && !jsonObj.get("serviceList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("typeList") != null && !jsonObj.get("typeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `typeList` to be an array in the JSON string but got `%s`", jsonObj.get("typeList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("unitTypeList") != null && !jsonObj.get("unitTypeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `unitTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("unitTypeList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("unitAmenityList") != null && !jsonObj.get("unitAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `unitAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("unitAmenityList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("mealPlanList") != null && !jsonObj.get("mealPlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!AvailabilitySearch.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AvailabilitySearch' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(AvailabilitySearch.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AvailabilitySearch value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public AvailabilitySearch read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of AvailabilitySearch given an JSON string - * - * @param jsonString JSON string - * @return An instance of AvailabilitySearch - * @throws IOException if the JSON string is invalid with respect to AvailabilitySearch - */ - public static AvailabilitySearch fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AvailabilitySearch.class); - } - - /** - * Convert an instance of AvailabilitySearch to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/AvailabilitySearchPost200Response.java b/src/main/java/com/lodgea/model/AvailabilitySearchPost200Response.java new file mode 100644 index 0000000..480810b --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailabilitySearchPost200Response.java @@ -0,0 +1,380 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.AvailablePropertiesInner1; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * AvailabilitySearchPost200Response + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailabilitySearchPost200Response { + /** + * The language code of the language in which the descriptive texts for each found property are returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageCodeEnum.Adapter.class) + public enum LanguageCodeEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageCodeEnum fromValue(String value) { + for (LanguageCodeEnum b : LanguageCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) + private LanguageCodeEnum languageCode; + + public static final String SERIALIZED_NAME_LIST = "list"; + @SerializedName(SERIALIZED_NAME_LIST) + private List _list = new ArrayList<>(); + + public AvailabilitySearchPost200Response() { + } + + public AvailabilitySearchPost200Response languageCode(LanguageCodeEnum languageCode) { + + this.languageCode = languageCode; + return this; + } + + /** + * The language code of the language in which the descriptive texts for each found property are returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return languageCode + **/ + @javax.annotation.Nonnull + + public LanguageCodeEnum getLanguageCode() { + return languageCode; + } + + + public void setLanguageCode(LanguageCodeEnum languageCode) { + this.languageCode = languageCode; + } + + + public AvailabilitySearchPost200Response _list(List _list) { + + this._list = _list; + return this; + } + + public AvailabilitySearchPost200Response addListItem(AvailablePropertiesInner1 _listItem) { + this._list.add(_listItem); + return this; + } + + /** + * A list of available properties matching the given criteria. + * @return _list + **/ + @javax.annotation.Nonnull + + public List getList() { + return _list; + } + + + public void setList(List _list) { + this._list = _list; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailabilitySearchPost200Response availabilitySearchPost200Response = (AvailabilitySearchPost200Response) o; + return Objects.equals(this.languageCode, availabilitySearchPost200Response.languageCode) && + Objects.equals(this._list, availabilitySearchPost200Response._list); + } + + @Override + public int hashCode() { + return Objects.hash(languageCode, _list); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailabilitySearchPost200Response {\n"); + sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("languageCode"); + openapiFields.add("list"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("languageCode"); + openapiRequiredFields.add("list"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailabilitySearchPost200Response + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailabilitySearchPost200Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailabilitySearchPost200Response is not found in the empty JSON string", AvailabilitySearchPost200Response.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailabilitySearchPost200Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailabilitySearchPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailabilitySearchPost200Response.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("languageCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("list").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); + } + + JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); + // validate the required field `list` (array) + for (int i = 0; i < jsonArray_list.size(); i++) { + AvailablePropertiesInner1.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailabilitySearchPost200Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailabilitySearchPost200Response' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailabilitySearchPost200Response.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailabilitySearchPost200Response value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailabilitySearchPost200Response read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailabilitySearchPost200Response given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailabilitySearchPost200Response + * @throws IOException if the JSON string is invalid with respect to AvailabilitySearchPost200Response + */ + public static AvailabilitySearchPost200Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailabilitySearchPost200Response.class); + } + + /** + * Convert an instance of AvailabilitySearchPost200Response to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/AvailabilitySearchPostRequest.java b/src/main/java/com/lodgea/model/AvailabilitySearchPostRequest.java new file mode 100644 index 0000000..9cd25a0 --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailabilitySearchPostRequest.java @@ -0,0 +1,3695 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * AvailabilitySearchPostRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailabilitySearchPostRequest { + public static final String SERIALIZED_NAME_ADULT_COUNT = "adultCount"; + @SerializedName(SERIALIZED_NAME_ADULT_COUNT) + private Integer adultCount = 2; + + public static final String SERIALIZED_NAME_CHILD_COUNT = "childCount"; + @SerializedName(SERIALIZED_NAME_CHILD_COUNT) + private Integer childCount; + + public static final String SERIALIZED_NAME_CHILD_AGE_LIST = "childAgeList"; + @SerializedName(SERIALIZED_NAME_CHILD_AGE_LIST) + private List childAgeList = null; + + /** + * The currency code of the currency in which the lowest price for each found location should be returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + /** + * The language code of the language in which the descriptive texts for each found property should be returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageCodeEnum.Adapter.class) + public enum LanguageCodeEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageCodeEnum fromValue(String value) { + for (LanguageCodeEnum b : LanguageCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) + private LanguageCodeEnum languageCode; + + /** + * The unit system to use in the result. + */ + @JsonAdapter(UnitSystemEnum.Adapter.class) + public enum UnitSystemEnum { + METRIC("metric"), + + IMPERIAL("imperial"); + + private String value; + + UnitSystemEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static UnitSystemEnum fromValue(String value) { + for (UnitSystemEnum b : UnitSystemEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final UnitSystemEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public UnitSystemEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return UnitSystemEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_UNIT_SYSTEM = "unitSystem"; + @SerializedName(SERIALIZED_NAME_UNIT_SYSTEM) + private UnitSystemEnum unitSystem = UnitSystemEnum.METRIC; + + public static final String SERIALIZED_NAME_MIN_LENGTH_OF_STAY = "minLengthOfStay"; + @SerializedName(SERIALIZED_NAME_MIN_LENGTH_OF_STAY) + private Integer minLengthOfStay; + + public static final String SERIALIZED_NAME_MAX_LENGTH_OF_STAY = "maxLengthOfStay"; + @SerializedName(SERIALIZED_NAME_MAX_LENGTH_OF_STAY) + private Integer maxLengthOfStay; + + public static final String SERIALIZED_NAME_LOCATION_NAME = "locationName"; + @SerializedName(SERIALIZED_NAME_LOCATION_NAME) + private String locationName; + + /** + * Defines the type of<code>locationName</code>. If <code>locationType</code> is set, <code>locationName</code> has to bet set as well.<p>See also <a href=\"#locationtypes\">in the appendix</a>.</p> + */ + @JsonAdapter(LocationTypeEnum.Adapter.class) + public enum LocationTypeEnum { + FORMATTED_ADDRESS("formatted_address"), + + PLACE_ID("place_id"), + + LOCALITY("locality"), + + ADMINISTRATIVE_AREA_LEVEL_1("administrative_area_level_1"), + + ADMINISTRATIVE_AREA_LEVEL_2("administrative_area_level_2"), + + ADMINISTRATIVE_AREA_LEVEL_3("administrative_area_level_3"), + + ADMINISTRATIVE_AREA_LEVEL_4("administrative_area_level_4"), + + ADMINISTRATIVE_AREA_LEVEL_5("administrative_area_level_5"), + + STATE_CODE("state_code"), + + COUNTRY("country"), + + COUNTRY_CODE("country_code"), + + POSTAL_CODE("postal_code"), + + LANGUAGE("language"), + + NATURAL_FEATURE("natural_feature"), + + ESTABLISHMENT("establishment"), + + SUBLOCALITY("sublocality"), + + SUBLOCALITY_LEVEL_1("sublocality_level_1"), + + SUBLOCALITY_LEVEL_2("sublocality_level_2"), + + SUBLOCALITY_LEVEL_3("sublocality_level_3"), + + SUBLOCALITY_LEVEL_4("sublocality_level_4"), + + SUBLOCALITY_LEVEL_5("sublocality_level_5"), + + STREETNUMBER("streetNumber"); + + private String value; + + LocationTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LocationTypeEnum fromValue(String value) { + for (LocationTypeEnum b : LocationTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LocationTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LocationTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LocationTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LOCATION_TYPE = "locationType"; + @SerializedName(SERIALIZED_NAME_LOCATION_TYPE) + private LocationTypeEnum locationType; + + public static final String SERIALIZED_NAME_EARLIEST_ARRIVAL = "earliestArrival"; + @SerializedName(SERIALIZED_NAME_EARLIEST_ARRIVAL) + private String earliestArrival; + + public static final String SERIALIZED_NAME_LATEST_RETURN = "latestReturn"; + @SerializedName(SERIALIZED_NAME_LATEST_RETURN) + private String latestReturn; + + /** + * The criteria to order the results by. Sort order for price is ascending, sort order for quality is always descending. Quality is an internally calculated score for the property.', )} + */ + @JsonAdapter(SortEnum.Adapter.class) + public enum SortEnum { + QUALITY("quality"), + + PRICE("price"); + + private String value; + + SortEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SortEnum fromValue(String value) { + for (SortEnum b : SortEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SortEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SortEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SortEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private SortEnum sort; + + /** + * Gets or Sets serviceList + */ + @JsonAdapter(ServiceListEnum.Adapter.class) + public enum ServiceListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_111(new BigDecimal("111")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_117(new BigDecimal("117")), + + NUMBER_118(new BigDecimal("118")), + + NUMBER_119(new BigDecimal("119")), + + NUMBER_120(new BigDecimal("120")), + + NUMBER_121(new BigDecimal("121")), + + NUMBER_122(new BigDecimal("122")), + + NUMBER_123(new BigDecimal("123")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_126(new BigDecimal("126")), + + NUMBER_127(new BigDecimal("127")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_129(new BigDecimal("129")), + + NUMBER_130(new BigDecimal("130")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_132(new BigDecimal("132")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_135(new BigDecimal("135")), + + NUMBER_136(new BigDecimal("136")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_138(new BigDecimal("138")), + + NUMBER_139(new BigDecimal("139")), + + NUMBER_140(new BigDecimal("140")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_142(new BigDecimal("142")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_144(new BigDecimal("144")), + + NUMBER_145(new BigDecimal("145")), + + NUMBER_146(new BigDecimal("146")), + + NUMBER_147(new BigDecimal("147")), + + NUMBER_148(new BigDecimal("148")), + + NUMBER_149(new BigDecimal("149")), + + NUMBER_150(new BigDecimal("150")), + + NUMBER_151(new BigDecimal("151")), + + NUMBER_152(new BigDecimal("152")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_162(new BigDecimal("162")), + + NUMBER_163(new BigDecimal("163")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_166(new BigDecimal("166")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_168(new BigDecimal("168")), + + NUMBER_169(new BigDecimal("169")), + + NUMBER_170(new BigDecimal("170")), + + NUMBER_171(new BigDecimal("171")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_174(new BigDecimal("174")), + + NUMBER_175(new BigDecimal("175")), + + NUMBER_176(new BigDecimal("176")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_180(new BigDecimal("180")), + + NUMBER_181(new BigDecimal("181")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_195(new BigDecimal("195")), + + NUMBER_196(new BigDecimal("196")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_200(new BigDecimal("200")), + + NUMBER_201(new BigDecimal("201")), + + NUMBER_202(new BigDecimal("202")), + + NUMBER_203(new BigDecimal("203")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_206(new BigDecimal("206")), + + NUMBER_207(new BigDecimal("207")), + + NUMBER_208(new BigDecimal("208")), + + NUMBER_209(new BigDecimal("209")), + + NUMBER_210(new BigDecimal("210")), + + NUMBER_211(new BigDecimal("211")), + + NUMBER_212(new BigDecimal("212")), + + NUMBER_213(new BigDecimal("213")), + + NUMBER_214(new BigDecimal("214")), + + NUMBER_215(new BigDecimal("215")), + + NUMBER_216(new BigDecimal("216")), + + NUMBER_217(new BigDecimal("217")), + + NUMBER_218(new BigDecimal("218")), + + NUMBER_219(new BigDecimal("219")), + + NUMBER_220(new BigDecimal("220")), + + NUMBER_221(new BigDecimal("221")), + + NUMBER_222(new BigDecimal("222")), + + NUMBER_223(new BigDecimal("223")), + + NUMBER_224(new BigDecimal("224")), + + NUMBER_225(new BigDecimal("225")), + + NUMBER_226(new BigDecimal("226")), + + NUMBER_227(new BigDecimal("227")), + + NUMBER_228(new BigDecimal("228")), + + NUMBER_229(new BigDecimal("229")), + + NUMBER_230(new BigDecimal("230")), + + NUMBER_231(new BigDecimal("231")), + + NUMBER_232(new BigDecimal("232")), + + NUMBER_233(new BigDecimal("233")), + + NUMBER_234(new BigDecimal("234")), + + NUMBER_235(new BigDecimal("235")), + + NUMBER_236(new BigDecimal("236")), + + NUMBER_237(new BigDecimal("237")), + + NUMBER_238(new BigDecimal("238")), + + NUMBER_239(new BigDecimal("239")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_243(new BigDecimal("243")), + + NUMBER_244(new BigDecimal("244")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_274(new BigDecimal("274")), + + NUMBER_275(new BigDecimal("275")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_284(new BigDecimal("284")), + + NUMBER_285(new BigDecimal("285")), + + NUMBER_286(new BigDecimal("286")), + + NUMBER_287(new BigDecimal("287")), + + NUMBER_288(new BigDecimal("288")), + + NUMBER_289(new BigDecimal("289")), + + NUMBER_290(new BigDecimal("290")), + + NUMBER_291(new BigDecimal("291")), + + NUMBER_292(new BigDecimal("292")), + + NUMBER_293(new BigDecimal("293")), + + NUMBER_294(new BigDecimal("294")), + + NUMBER_295(new BigDecimal("295")), + + NUMBER_296(new BigDecimal("296")), + + NUMBER_297(new BigDecimal("297")), + + NUMBER_298(new BigDecimal("298")), + + NUMBER_299(new BigDecimal("299")), + + NUMBER_300(new BigDecimal("300")), + + NUMBER_301(new BigDecimal("301")), + + NUMBER_302(new BigDecimal("302")), + + NUMBER_303(new BigDecimal("303")), + + NUMBER_304(new BigDecimal("304")), + + NUMBER_305(new BigDecimal("305")), + + NUMBER_306(new BigDecimal("306")), + + NUMBER_307(new BigDecimal("307")), + + NUMBER_308(new BigDecimal("308")), + + NUMBER_309(new BigDecimal("309")), + + NUMBER_310(new BigDecimal("310")), + + NUMBER_311(new BigDecimal("311")), + + NUMBER_312(new BigDecimal("312")), + + NUMBER_313(new BigDecimal("313")), + + NUMBER_314(new BigDecimal("314")), + + NUMBER_315(new BigDecimal("315")), + + NUMBER_316(new BigDecimal("316")), + + NUMBER_317(new BigDecimal("317")), + + NUMBER_318(new BigDecimal("318")), + + NUMBER_319(new BigDecimal("319")), + + NUMBER_320(new BigDecimal("320")), + + NUMBER_321(new BigDecimal("321")), + + NUMBER_322(new BigDecimal("322")), + + NUMBER_323(new BigDecimal("323")), + + NUMBER_324(new BigDecimal("324")), + + NUMBER_325(new BigDecimal("325")), + + NUMBER_326(new BigDecimal("326")), + + NUMBER_327(new BigDecimal("327")), + + NUMBER_328(new BigDecimal("328")), + + NUMBER_329(new BigDecimal("329")), + + NUMBER_331(new BigDecimal("331")), + + NUMBER_332(new BigDecimal("332")), + + NUMBER_333(new BigDecimal("333")), + + NUMBER_334(new BigDecimal("334")), + + NUMBER_335(new BigDecimal("335")), + + NUMBER_336(new BigDecimal("336")), + + NUMBER_337(new BigDecimal("337")), + + NUMBER_338(new BigDecimal("338")), + + NUMBER_339(new BigDecimal("339")), + + NUMBER_340(new BigDecimal("340")), + + NUMBER_341(new BigDecimal("341")), + + NUMBER_342(new BigDecimal("342")), + + NUMBER_343(new BigDecimal("343")), + + NUMBER_344(new BigDecimal("344")), + + NUMBER_345(new BigDecimal("345")), + + NUMBER_348(new BigDecimal("348")), + + NUMBER_349(new BigDecimal("349")), + + NUMBER_350(new BigDecimal("350")), + + NUMBER_351(new BigDecimal("351")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5034(new BigDecimal("5034")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_5037(new BigDecimal("5037")), + + NUMBER_5039(new BigDecimal("5039")), + + NUMBER_5040(new BigDecimal("5040")), + + NUMBER_5041(new BigDecimal("5041")), + + NUMBER_5042(new BigDecimal("5042")), + + NUMBER_5043(new BigDecimal("5043")), + + NUMBER_5044(new BigDecimal("5044")), + + NUMBER_5045(new BigDecimal("5045")), + + NUMBER_5046(new BigDecimal("5046")), + + NUMBER_5047(new BigDecimal("5047")), + + NUMBER_5048(new BigDecimal("5048")), + + NUMBER_5049(new BigDecimal("5049")), + + NUMBER_5050(new BigDecimal("5050")), + + NUMBER_5051(new BigDecimal("5051")), + + NUMBER_5052(new BigDecimal("5052")), + + NUMBER_5053(new BigDecimal("5053")), + + NUMBER_5054(new BigDecimal("5054")), + + NUMBER_5055(new BigDecimal("5055")), + + NUMBER_5056(new BigDecimal("5056")), + + NUMBER_5057(new BigDecimal("5057")), + + NUMBER_5058(new BigDecimal("5058")), + + NUMBER_5059(new BigDecimal("5059")), + + NUMBER_5060(new BigDecimal("5060")), + + NUMBER_5061(new BigDecimal("5061")), + + NUMBER_5062(new BigDecimal("5062")), + + NUMBER_5063(new BigDecimal("5063")), + + NUMBER_5064(new BigDecimal("5064")), + + NUMBER_5065(new BigDecimal("5065")), + + NUMBER_5066(new BigDecimal("5066")), + + NUMBER_5067(new BigDecimal("5067")), + + NUMBER_5068(new BigDecimal("5068")), + + NUMBER_5069(new BigDecimal("5069")), + + NUMBER_5070(new BigDecimal("5070")), + + NUMBER_5071(new BigDecimal("5071")), + + NUMBER_5072(new BigDecimal("5072")), + + NUMBER_5073(new BigDecimal("5073")), + + NUMBER_5074(new BigDecimal("5074")), + + NUMBER_5075(new BigDecimal("5075")), + + NUMBER_5076(new BigDecimal("5076")), + + NUMBER_5077(new BigDecimal("5077")), + + NUMBER_5078(new BigDecimal("5078")), + + NUMBER_5079(new BigDecimal("5079")), + + NUMBER_5080(new BigDecimal("5080")), + + NUMBER_5081(new BigDecimal("5081")), + + NUMBER_5082(new BigDecimal("5082")), + + NUMBER_5083(new BigDecimal("5083")), + + NUMBER_5084(new BigDecimal("5084")), + + NUMBER_5085(new BigDecimal("5085")), + + NUMBER_5086(new BigDecimal("5086")), + + NUMBER_5087(new BigDecimal("5087")), + + NUMBER_5088(new BigDecimal("5088")), + + NUMBER_5089(new BigDecimal("5089")), + + NUMBER_5090(new BigDecimal("5090")), + + NUMBER_5091(new BigDecimal("5091")), + + NUMBER_5092(new BigDecimal("5092")), + + NUMBER_5093(new BigDecimal("5093")), + + NUMBER_5094(new BigDecimal("5094")), + + NUMBER_5095(new BigDecimal("5095")), + + NUMBER_5096(new BigDecimal("5096")), + + NUMBER_5097(new BigDecimal("5097")), + + NUMBER_5098(new BigDecimal("5098")), + + NUMBER_5099(new BigDecimal("5099")), + + NUMBER_5100(new BigDecimal("5100")), + + NUMBER_5101(new BigDecimal("5101")), + + NUMBER_5102(new BigDecimal("5102")), + + NUMBER_5103(new BigDecimal("5103")), + + NUMBER_5104(new BigDecimal("5104")), + + NUMBER_5105(new BigDecimal("5105")), + + NUMBER_5106(new BigDecimal("5106")), + + NUMBER_5107(new BigDecimal("5107")), + + NUMBER_5108(new BigDecimal("5108")), + + NUMBER_5109(new BigDecimal("5109")), + + NUMBER_5110(new BigDecimal("5110")), + + NUMBER_5111(new BigDecimal("5111")), + + NUMBER_5112(new BigDecimal("5112")), + + NUMBER_5113(new BigDecimal("5113")), + + NUMBER_5114(new BigDecimal("5114")), + + NUMBER_5115(new BigDecimal("5115")), + + NUMBER_5116(new BigDecimal("5116")), + + NUMBER_5117(new BigDecimal("5117")), + + NUMBER_5118(new BigDecimal("5118")), + + NUMBER_5119(new BigDecimal("5119")), + + NUMBER_5120(new BigDecimal("5120")), + + NUMBER_5121(new BigDecimal("5121")), + + NUMBER_5122(new BigDecimal("5122")), + + NUMBER_5123(new BigDecimal("5123")), + + NUMBER_5124(new BigDecimal("5124")), + + NUMBER_5125(new BigDecimal("5125")), + + NUMBER_5126(new BigDecimal("5126")), + + NUMBER_5127(new BigDecimal("5127")), + + NUMBER_5128(new BigDecimal("5128")), + + NUMBER_5129(new BigDecimal("5129")), + + NUMBER_5130(new BigDecimal("5130")), + + NUMBER_5131(new BigDecimal("5131")), + + NUMBER_5132(new BigDecimal("5132")), + + NUMBER_5133(new BigDecimal("5133")), + + NUMBER_5134(new BigDecimal("5134")), + + NUMBER_5135(new BigDecimal("5135")), + + NUMBER_5136(new BigDecimal("5136")), + + NUMBER_5137(new BigDecimal("5137")), + + NUMBER_5138(new BigDecimal("5138")), + + NUMBER_5139(new BigDecimal("5139")), + + NUMBER_5140(new BigDecimal("5140")), + + NUMBER_5141(new BigDecimal("5141")), + + NUMBER_5142(new BigDecimal("5142")), + + NUMBER_5143(new BigDecimal("5143")), + + NUMBER_5144(new BigDecimal("5144")), + + NUMBER_5145(new BigDecimal("5145")), + + NUMBER_5146(new BigDecimal("5146")), + + NUMBER_5147(new BigDecimal("5147")), + + NUMBER_5148(new BigDecimal("5148")), + + NUMBER_5149(new BigDecimal("5149")), + + NUMBER_5150(new BigDecimal("5150")), + + NUMBER_5151(new BigDecimal("5151")), + + NUMBER_5152(new BigDecimal("5152")), + + NUMBER_5153(new BigDecimal("5153")), + + NUMBER_5154(new BigDecimal("5154")), + + NUMBER_5156(new BigDecimal("5156")), + + NUMBER_5157(new BigDecimal("5157")), + + NUMBER_5158(new BigDecimal("5158")), + + NUMBER_5159(new BigDecimal("5159")), + + NUMBER_5160(new BigDecimal("5160")), + + NUMBER_5161(new BigDecimal("5161")), + + NUMBER_5162(new BigDecimal("5162")), + + NUMBER_5163(new BigDecimal("5163")), + + NUMBER_5164(new BigDecimal("5164")), + + NUMBER_5165(new BigDecimal("5165")), + + NUMBER_5166(new BigDecimal("5166")), + + NUMBER_5167(new BigDecimal("5167")), + + NUMBER_5168(new BigDecimal("5168")), + + NUMBER_5169(new BigDecimal("5169")), + + NUMBER_5170(new BigDecimal("5170")), + + NUMBER_5171(new BigDecimal("5171")), + + NUMBER_5172(new BigDecimal("5172")), + + NUMBER_5173(new BigDecimal("5173")), + + NUMBER_5174(new BigDecimal("5174")), + + NUMBER_5175(new BigDecimal("5175")), + + NUMBER_5176(new BigDecimal("5176")), + + NUMBER_5177(new BigDecimal("5177")), + + NUMBER_5178(new BigDecimal("5178")), + + NUMBER_6000(new BigDecimal("6000")), + + NUMBER_6001(new BigDecimal("6001")), + + NUMBER_90001(new BigDecimal("90001")); + + private BigDecimal value; + + ServiceListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ServiceListEnum fromValue(BigDecimal value) { + for (ServiceListEnum b : ServiceListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ServiceListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ServiceListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ServiceListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; + @SerializedName(SERIALIZED_NAME_SERVICE_LIST) + private List serviceList = null; + + /** + * Gets or Sets typeList + */ + @JsonAdapter(TypeListEnum.Adapter.class) + public enum TypeListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")); + + private BigDecimal value; + + TypeListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeListEnum fromValue(BigDecimal value) { + for (TypeListEnum b : TypeListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_TYPE_LIST = "typeList"; + @SerializedName(SERIALIZED_NAME_TYPE_LIST) + private List typeList = null; + + /** + * Gets or Sets unitTypeList + */ + @JsonAdapter(UnitTypeListEnum.Adapter.class) + public enum UnitTypeListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")); + + private BigDecimal value; + + UnitTypeListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static UnitTypeListEnum fromValue(BigDecimal value) { + for (UnitTypeListEnum b : UnitTypeListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final UnitTypeListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public UnitTypeListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return UnitTypeListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_UNIT_TYPE_LIST = "unitTypeList"; + @SerializedName(SERIALIZED_NAME_UNIT_TYPE_LIST) + private List unitTypeList = null; + + /** + * Gets or Sets unitAmenityList + */ + @JsonAdapter(UnitAmenityListEnum.Adapter.class) + public enum UnitAmenityListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_111(new BigDecimal("111")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_117(new BigDecimal("117")), + + NUMBER_118(new BigDecimal("118")), + + NUMBER_119(new BigDecimal("119")), + + NUMBER_120(new BigDecimal("120")), + + NUMBER_121(new BigDecimal("121")), + + NUMBER_122(new BigDecimal("122")), + + NUMBER_123(new BigDecimal("123")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_126(new BigDecimal("126")), + + NUMBER_127(new BigDecimal("127")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_129(new BigDecimal("129")), + + NUMBER_130(new BigDecimal("130")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_132(new BigDecimal("132")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_135(new BigDecimal("135")), + + NUMBER_136(new BigDecimal("136")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_138(new BigDecimal("138")), + + NUMBER_139(new BigDecimal("139")), + + NUMBER_140(new BigDecimal("140")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_142(new BigDecimal("142")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_144(new BigDecimal("144")), + + NUMBER_145(new BigDecimal("145")), + + NUMBER_146(new BigDecimal("146")), + + NUMBER_147(new BigDecimal("147")), + + NUMBER_148(new BigDecimal("148")), + + NUMBER_149(new BigDecimal("149")), + + NUMBER_150(new BigDecimal("150")), + + NUMBER_151(new BigDecimal("151")), + + NUMBER_152(new BigDecimal("152")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_162(new BigDecimal("162")), + + NUMBER_163(new BigDecimal("163")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_166(new BigDecimal("166")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_168(new BigDecimal("168")), + + NUMBER_169(new BigDecimal("169")), + + NUMBER_170(new BigDecimal("170")), + + NUMBER_171(new BigDecimal("171")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_174(new BigDecimal("174")), + + NUMBER_175(new BigDecimal("175")), + + NUMBER_176(new BigDecimal("176")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_180(new BigDecimal("180")), + + NUMBER_181(new BigDecimal("181")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_195(new BigDecimal("195")), + + NUMBER_196(new BigDecimal("196")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_200(new BigDecimal("200")), + + NUMBER_201(new BigDecimal("201")), + + NUMBER_202(new BigDecimal("202")), + + NUMBER_203(new BigDecimal("203")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_206(new BigDecimal("206")), + + NUMBER_207(new BigDecimal("207")), + + NUMBER_208(new BigDecimal("208")), + + NUMBER_209(new BigDecimal("209")), + + NUMBER_210(new BigDecimal("210")), + + NUMBER_211(new BigDecimal("211")), + + NUMBER_212(new BigDecimal("212")), + + NUMBER_213(new BigDecimal("213")), + + NUMBER_214(new BigDecimal("214")), + + NUMBER_215(new BigDecimal("215")), + + NUMBER_216(new BigDecimal("216")), + + NUMBER_217(new BigDecimal("217")), + + NUMBER_218(new BigDecimal("218")), + + NUMBER_219(new BigDecimal("219")), + + NUMBER_220(new BigDecimal("220")), + + NUMBER_221(new BigDecimal("221")), + + NUMBER_222(new BigDecimal("222")), + + NUMBER_223(new BigDecimal("223")), + + NUMBER_224(new BigDecimal("224")), + + NUMBER_225(new BigDecimal("225")), + + NUMBER_226(new BigDecimal("226")), + + NUMBER_227(new BigDecimal("227")), + + NUMBER_228(new BigDecimal("228")), + + NUMBER_229(new BigDecimal("229")), + + NUMBER_230(new BigDecimal("230")), + + NUMBER_231(new BigDecimal("231")), + + NUMBER_232(new BigDecimal("232")), + + NUMBER_233(new BigDecimal("233")), + + NUMBER_234(new BigDecimal("234")), + + NUMBER_235(new BigDecimal("235")), + + NUMBER_236(new BigDecimal("236")), + + NUMBER_237(new BigDecimal("237")), + + NUMBER_238(new BigDecimal("238")), + + NUMBER_239(new BigDecimal("239")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_243(new BigDecimal("243")), + + NUMBER_244(new BigDecimal("244")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_274(new BigDecimal("274")), + + NUMBER_275(new BigDecimal("275")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5019(new BigDecimal("5019")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5034(new BigDecimal("5034")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_5037(new BigDecimal("5037")), + + NUMBER_5038(new BigDecimal("5038")), + + NUMBER_5039(new BigDecimal("5039")), + + NUMBER_5040(new BigDecimal("5040")), + + NUMBER_5041(new BigDecimal("5041")), + + NUMBER_5042(new BigDecimal("5042")), + + NUMBER_5043(new BigDecimal("5043")), + + NUMBER_5044(new BigDecimal("5044")), + + NUMBER_5045(new BigDecimal("5045")), + + NUMBER_5046(new BigDecimal("5046")), + + NUMBER_5068(new BigDecimal("5068")), + + NUMBER_5069(new BigDecimal("5069")), + + NUMBER_5070(new BigDecimal("5070")), + + NUMBER_5071(new BigDecimal("5071")), + + NUMBER_5072(new BigDecimal("5072")), + + NUMBER_5073(new BigDecimal("5073")), + + NUMBER_5074(new BigDecimal("5074")), + + NUMBER_5075(new BigDecimal("5075")), + + NUMBER_5076(new BigDecimal("5076")), + + NUMBER_5077(new BigDecimal("5077")), + + NUMBER_5079(new BigDecimal("5079")), + + NUMBER_5080(new BigDecimal("5080")), + + NUMBER_5081(new BigDecimal("5081")), + + NUMBER_5082(new BigDecimal("5082")), + + NUMBER_5083(new BigDecimal("5083")), + + NUMBER_5084(new BigDecimal("5084")), + + NUMBER_5085(new BigDecimal("5085")), + + NUMBER_5086(new BigDecimal("5086")), + + NUMBER_5087(new BigDecimal("5087")), + + NUMBER_5088(new BigDecimal("5088")), + + NUMBER_5089(new BigDecimal("5089")), + + NUMBER_5090(new BigDecimal("5090")), + + NUMBER_5091(new BigDecimal("5091")), + + NUMBER_5092(new BigDecimal("5092")), + + NUMBER_5093(new BigDecimal("5093")), + + NUMBER_5094(new BigDecimal("5094")), + + NUMBER_5095(new BigDecimal("5095")), + + NUMBER_5096(new BigDecimal("5096")), + + NUMBER_5097(new BigDecimal("5097")), + + NUMBER_5098(new BigDecimal("5098")), + + NUMBER_5099(new BigDecimal("5099")), + + NUMBER_5100(new BigDecimal("5100")), + + NUMBER_5101(new BigDecimal("5101")), + + NUMBER_5102(new BigDecimal("5102")), + + NUMBER_5103(new BigDecimal("5103")), + + NUMBER_5104(new BigDecimal("5104")), + + NUMBER_5105(new BigDecimal("5105")), + + NUMBER_5106(new BigDecimal("5106")), + + NUMBER_5107(new BigDecimal("5107")), + + NUMBER_5108(new BigDecimal("5108")), + + NUMBER_5109(new BigDecimal("5109")), + + NUMBER_5110(new BigDecimal("5110")), + + NUMBER_5111(new BigDecimal("5111")), + + NUMBER_5112(new BigDecimal("5112")), + + NUMBER_5113(new BigDecimal("5113")), + + NUMBER_5114(new BigDecimal("5114")), + + NUMBER_5115(new BigDecimal("5115")), + + NUMBER_5116(new BigDecimal("5116")), + + NUMBER_5117(new BigDecimal("5117")), + + NUMBER_5118(new BigDecimal("5118")), + + NUMBER_5119(new BigDecimal("5119")), + + NUMBER_5120(new BigDecimal("5120")), + + NUMBER_5121(new BigDecimal("5121")), + + NUMBER_5122(new BigDecimal("5122")), + + NUMBER_5123(new BigDecimal("5123")), + + NUMBER_5124(new BigDecimal("5124")), + + NUMBER_5125(new BigDecimal("5125")), + + NUMBER_5126(new BigDecimal("5126")), + + NUMBER_5127(new BigDecimal("5127")), + + NUMBER_5129(new BigDecimal("5129")), + + NUMBER_5130(new BigDecimal("5130")), + + NUMBER_5131(new BigDecimal("5131")), + + NUMBER_5132(new BigDecimal("5132")), + + NUMBER_5133(new BigDecimal("5133")), + + NUMBER_5134(new BigDecimal("5134")), + + NUMBER_5135(new BigDecimal("5135")), + + NUMBER_5136(new BigDecimal("5136")), + + NUMBER_5137(new BigDecimal("5137")), + + NUMBER_5138(new BigDecimal("5138")), + + NUMBER_5139(new BigDecimal("5139")), + + NUMBER_5140(new BigDecimal("5140")), + + NUMBER_5141(new BigDecimal("5141")), + + NUMBER_5142(new BigDecimal("5142")), + + NUMBER_5143(new BigDecimal("5143")), + + NUMBER_5144(new BigDecimal("5144")), + + NUMBER_5145(new BigDecimal("5145")), + + NUMBER_5146(new BigDecimal("5146")), + + NUMBER_5147(new BigDecimal("5147")), + + NUMBER_5148(new BigDecimal("5148")), + + NUMBER_5149(new BigDecimal("5149")), + + NUMBER_5150(new BigDecimal("5150")), + + NUMBER_5151(new BigDecimal("5151")), + + NUMBER_5152(new BigDecimal("5152")), + + NUMBER_5153(new BigDecimal("5153")), + + NUMBER_5154(new BigDecimal("5154")), + + NUMBER_5157(new BigDecimal("5157")), + + NUMBER_5158(new BigDecimal("5158")), + + NUMBER_5159(new BigDecimal("5159")), + + NUMBER_5160(new BigDecimal("5160")), + + NUMBER_5161(new BigDecimal("5161")), + + NUMBER_5162(new BigDecimal("5162")), + + NUMBER_5163(new BigDecimal("5163")), + + NUMBER_5164(new BigDecimal("5164")), + + NUMBER_5165(new BigDecimal("5165")), + + NUMBER_5166(new BigDecimal("5166")), + + NUMBER_5167(new BigDecimal("5167")), + + NUMBER_5168(new BigDecimal("5168")), + + NUMBER_5169(new BigDecimal("5169")), + + NUMBER_5170(new BigDecimal("5170")), + + NUMBER_5171(new BigDecimal("5171")), + + NUMBER_5172(new BigDecimal("5172")), + + NUMBER_5173(new BigDecimal("5173")), + + NUMBER_5174(new BigDecimal("5174")), + + NUMBER_5175(new BigDecimal("5175")), + + NUMBER_5176(new BigDecimal("5176")), + + NUMBER_5177(new BigDecimal("5177")), + + NUMBER_5178(new BigDecimal("5178")), + + NUMBER_5179(new BigDecimal("5179")), + + NUMBER_5180(new BigDecimal("5180")), + + NUMBER_5181(new BigDecimal("5181")), + + NUMBER_5182(new BigDecimal("5182")), + + NUMBER_5184(new BigDecimal("5184")), + + NUMBER_5185(new BigDecimal("5185")), + + NUMBER_5186(new BigDecimal("5186")), + + NUMBER_5187(new BigDecimal("5187")), + + NUMBER_5188(new BigDecimal("5188")), + + NUMBER_5189(new BigDecimal("5189")), + + NUMBER_5190(new BigDecimal("5190")), + + NUMBER_5191(new BigDecimal("5191")), + + NUMBER_5196(new BigDecimal("5196")), + + NUMBER_5198(new BigDecimal("5198")), + + NUMBER_5199(new BigDecimal("5199")), + + NUMBER_5200(new BigDecimal("5200")), + + NUMBER_5201(new BigDecimal("5201")), + + NUMBER_5202(new BigDecimal("5202")), + + NUMBER_5203(new BigDecimal("5203")), + + NUMBER_5204(new BigDecimal("5204")), + + NUMBER_5205(new BigDecimal("5205")), + + NUMBER_5206(new BigDecimal("5206")), + + NUMBER_5207(new BigDecimal("5207")), + + NUMBER_5211(new BigDecimal("5211")), + + NUMBER_5212(new BigDecimal("5212")), + + NUMBER_90001(new BigDecimal("90001")), + + NUMBER_90002(new BigDecimal("90002")), + + NUMBER_90003(new BigDecimal("90003")), + + NUMBER_90004(new BigDecimal("90004")), + + NUMBER_90005(new BigDecimal("90005")), + + NUMBER_90006(new BigDecimal("90006")), + + NUMBER_90007(new BigDecimal("90007")), + + NUMBER_90008(new BigDecimal("90008")), + + NUMBER_90009(new BigDecimal("90009")), + + NUMBER_90010(new BigDecimal("90010")), + + NUMBER_90011(new BigDecimal("90011")); + + private BigDecimal value; + + UnitAmenityListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static UnitAmenityListEnum fromValue(BigDecimal value) { + for (UnitAmenityListEnum b : UnitAmenityListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final UnitAmenityListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public UnitAmenityListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return UnitAmenityListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_UNIT_AMENITY_LIST = "unitAmenityList"; + @SerializedName(SERIALIZED_NAME_UNIT_AMENITY_LIST) + private List unitAmenityList = null; + + /** + * Gets or Sets mealPlanList + */ + @JsonAdapter(MealPlanListEnum.Adapter.class) + public enum MealPlanListEnum { + NUMBER_0(new BigDecimal("0")), + + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_90001(new BigDecimal("90001")); + + private BigDecimal value; + + MealPlanListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MealPlanListEnum fromValue(BigDecimal value) { + for (MealPlanListEnum b : MealPlanListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MealPlanListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MealPlanListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MealPlanListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; + @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) + private List mealPlanList = null; + + public AvailabilitySearchPostRequest() { + } + + public AvailabilitySearchPostRequest adultCount(Integer adultCount) { + + this.adultCount = adultCount; + return this; + } + + /** + * The amount of adults that will stay at the property. + * minimum: 1 + * @return adultCount + **/ + @javax.annotation.Nullable + + public Integer getAdultCount() { + return adultCount; + } + + + public void setAdultCount(Integer adultCount) { + this.adultCount = adultCount; + } + + + public AvailabilitySearchPostRequest childCount(Integer childCount) { + + this.childCount = childCount; + return this; + } + + /** + * The amount of children that will stay at the property. + * minimum: 0 + * @return childCount + **/ + @javax.annotation.Nullable + + public Integer getChildCount() { + return childCount; + } + + + public void setChildCount(Integer childCount) { + this.childCount = childCount; + } + + + public AvailabilitySearchPostRequest childAgeList(List childAgeList) { + + this.childAgeList = childAgeList; + return this; + } + + public AvailabilitySearchPostRequest addChildAgeListItem(Integer childAgeListItem) { + if (this.childAgeList == null) { + this.childAgeList = new ArrayList<>(); + } + this.childAgeList.add(childAgeListItem); + return this; + } + + /** + * A list describing the ages of the children that will stay at the property. If <code>childAgeList</code> is set <code>childCount</code> has to be set as well. If <code>childAgeList</code> and <code>childCount</code> are set, <code>childCount</code> must be equal to the length of <code>childAgeList</code>. + * @return childAgeList + **/ + @javax.annotation.Nullable + + public List getChildAgeList() { + return childAgeList; + } + + + public void setChildAgeList(List childAgeList) { + this.childAgeList = childAgeList; + } + + + public AvailabilitySearchPostRequest currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency code of the currency in which the lowest price for each found location should be returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public AvailabilitySearchPostRequest languageCode(LanguageCodeEnum languageCode) { + + this.languageCode = languageCode; + return this; + } + + /** + * The language code of the language in which the descriptive texts for each found property should be returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return languageCode + **/ + @javax.annotation.Nonnull + + public LanguageCodeEnum getLanguageCode() { + return languageCode; + } + + + public void setLanguageCode(LanguageCodeEnum languageCode) { + this.languageCode = languageCode; + } + + + public AvailabilitySearchPostRequest unitSystem(UnitSystemEnum unitSystem) { + + this.unitSystem = unitSystem; + return this; + } + + /** + * The unit system to use in the result. + * @return unitSystem + **/ + @javax.annotation.Nullable + + public UnitSystemEnum getUnitSystem() { + return unitSystem; + } + + + public void setUnitSystem(UnitSystemEnum unitSystem) { + this.unitSystem = unitSystem; + } + + + public AvailabilitySearchPostRequest minLengthOfStay(Integer minLengthOfStay) { + + this.minLengthOfStay = minLengthOfStay; + return this; + } + + /** + * The desired minimum length of stay in nights. + * minimum: 1 + * maximum: 30 + * @return minLengthOfStay + **/ + @javax.annotation.Nullable + + public Integer getMinLengthOfStay() { + return minLengthOfStay; + } + + + public void setMinLengthOfStay(Integer minLengthOfStay) { + this.minLengthOfStay = minLengthOfStay; + } + + + public AvailabilitySearchPostRequest maxLengthOfStay(Integer maxLengthOfStay) { + + this.maxLengthOfStay = maxLengthOfStay; + return this; + } + + /** + * The desired maximum length of stay in nights. + * minimum: 1 + * maximum: 30 + * @return maxLengthOfStay + **/ + @javax.annotation.Nullable + + public Integer getMaxLengthOfStay() { + return maxLengthOfStay; + } + + + public void setMaxLengthOfStay(Integer maxLengthOfStay) { + this.maxLengthOfStay = maxLengthOfStay; + } + + + public AvailabilitySearchPostRequest locationName(String locationName) { + + this.locationName = locationName; + return this; + } + + /** + * The name of a location the properties should be located in.If <code>locationType</code> is set, <code>locationName</code> has to bet set as well. + * @return locationName + **/ + @javax.annotation.Nullable + + public String getLocationName() { + return locationName; + } + + + public void setLocationName(String locationName) { + this.locationName = locationName; + } + + + public AvailabilitySearchPostRequest locationType(LocationTypeEnum locationType) { + + this.locationType = locationType; + return this; + } + + /** + * Defines the type of<code>locationName</code>. If <code>locationType</code> is set, <code>locationName</code> has to bet set as well.<p>See also <a href=\"#locationtypes\">in the appendix</a>.</p> + * @return locationType + **/ + @javax.annotation.Nullable + + public LocationTypeEnum getLocationType() { + return locationType; + } + + + public void setLocationType(LocationTypeEnum locationType) { + this.locationType = locationType; + } + + + public AvailabilitySearchPostRequest earliestArrival(String earliestArrival) { + + this.earliestArrival = earliestArrival; + return this; + } + + /** + * The earliest possible arrival date. Expects exactly the format of \"YYYY-MM-DD\". + * @return earliestArrival + **/ + @javax.annotation.Nullable + + public String getEarliestArrival() { + return earliestArrival; + } + + + public void setEarliestArrival(String earliestArrival) { + this.earliestArrival = earliestArrival; + } + + + public AvailabilitySearchPostRequest latestReturn(String latestReturn) { + + this.latestReturn = latestReturn; + return this; + } + + /** + * The latest possible departure date. Expects exactly the format of \"YYYY-MM-DD\". + * @return latestReturn + **/ + @javax.annotation.Nullable + + public String getLatestReturn() { + return latestReturn; + } + + + public void setLatestReturn(String latestReturn) { + this.latestReturn = latestReturn; + } + + + public AvailabilitySearchPostRequest sort(SortEnum sort) { + + this.sort = sort; + return this; + } + + /** + * The criteria to order the results by. Sort order for price is ascending, sort order for quality is always descending. Quality is an internally calculated score for the property.', )} + * @return sort + **/ + @javax.annotation.Nullable + + public SortEnum getSort() { + return sort; + } + + + public void setSort(SortEnum sort) { + this.sort = sort; + } + + + public AvailabilitySearchPostRequest serviceList(List serviceList) { + + this.serviceList = serviceList; + return this; + } + + public AvailabilitySearchPostRequest addServiceListItem(ServiceListEnum serviceListItem) { + if (this.serviceList == null) { + this.serviceList = new ArrayList<>(); + } + this.serviceList.add(serviceListItem); + return this; + } + + /** + * A list of service codes indicating which services and amenities the entire property should offer. The codes are AND chained.<p>See also <a href=\"#servicecodes\">in the appendix</a>.</p> + * @return serviceList + **/ + @javax.annotation.Nullable + + public List getServiceList() { + return serviceList; + } + + + public void setServiceList(List serviceList) { + this.serviceList = serviceList; + } + + + public AvailabilitySearchPostRequest typeList(List typeList) { + + this.typeList = typeList; + return this; + } + + public AvailabilitySearchPostRequest addTypeListItem(TypeListEnum typeListItem) { + if (this.typeList == null) { + this.typeList = new ArrayList<>(); + } + this.typeList.add(typeListItem); + return this; + } + + /** + * A list of property class type codes specifying the desired property classes. The codes are OR chained.<p>See also <a href=\"#propertyclass-type-codes\">in the appendix</a>.</p> + * @return typeList + **/ + @javax.annotation.Nullable + + public List getTypeList() { + return typeList; + } + + + public void setTypeList(List typeList) { + this.typeList = typeList; + } + + + public AvailabilitySearchPostRequest unitTypeList(List unitTypeList) { + + this.unitTypeList = unitTypeList; + return this; + } + + public AvailabilitySearchPostRequest addUnitTypeListItem(UnitTypeListEnum unitTypeListItem) { + if (this.unitTypeList == null) { + this.unitTypeList = new ArrayList<>(); + } + this.unitTypeList.add(unitTypeListItem); + return this; + } + + /** + * A list of unit and room type codes indicating which kinds of unit/room type is desired.<p>See also <a href=\"#unitand-room-type-codes\">in the appendix</a>.</p> + * @return unitTypeList + **/ + @javax.annotation.Nullable + + public List getUnitTypeList() { + return unitTypeList; + } + + + public void setUnitTypeList(List unitTypeList) { + this.unitTypeList = unitTypeList; + } + + + public AvailabilitySearchPostRequest unitAmenityList(List unitAmenityList) { + + this.unitAmenityList = unitAmenityList; + return this; + } + + public AvailabilitySearchPostRequest addUnitAmenityListItem(UnitAmenityListEnum unitAmenityListItem) { + if (this.unitAmenityList == null) { + this.unitAmenityList = new ArrayList<>(); + } + this.unitAmenityList.add(unitAmenityListItem); + return this; + } + + /** + * A list of room amenity type codes indicating which room level amenities are desired. The codes are AND chained.<p>See also <a href=\"#unitand-room-amenity-type-codes\">in the appendix</a>.</p> + * @return unitAmenityList + **/ + @javax.annotation.Nullable + + public List getUnitAmenityList() { + return unitAmenityList; + } + + + public void setUnitAmenityList(List unitAmenityList) { + this.unitAmenityList = unitAmenityList; + } + + + public AvailabilitySearchPostRequest mealPlanList(List mealPlanList) { + + this.mealPlanList = mealPlanList; + return this; + } + + public AvailabilitySearchPostRequest addMealPlanListItem(MealPlanListEnum mealPlanListItem) { + if (this.mealPlanList == null) { + this.mealPlanList = new ArrayList<>(); + } + this.mealPlanList.add(mealPlanListItem); + return this; + } + + /** + * A list of meal plan type codes indicating which kinds of meal plan type is desired.<p>See also <a href=\"#mealplan-type-codes\">in the appendix</a>.</p> + * @return mealPlanList + **/ + @javax.annotation.Nullable + + public List getMealPlanList() { + return mealPlanList; + } + + + public void setMealPlanList(List mealPlanList) { + this.mealPlanList = mealPlanList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailabilitySearchPostRequest availabilitySearchPostRequest = (AvailabilitySearchPostRequest) o; + return Objects.equals(this.adultCount, availabilitySearchPostRequest.adultCount) && + Objects.equals(this.childCount, availabilitySearchPostRequest.childCount) && + Objects.equals(this.childAgeList, availabilitySearchPostRequest.childAgeList) && + Objects.equals(this.currencyCode, availabilitySearchPostRequest.currencyCode) && + Objects.equals(this.languageCode, availabilitySearchPostRequest.languageCode) && + Objects.equals(this.unitSystem, availabilitySearchPostRequest.unitSystem) && + Objects.equals(this.minLengthOfStay, availabilitySearchPostRequest.minLengthOfStay) && + Objects.equals(this.maxLengthOfStay, availabilitySearchPostRequest.maxLengthOfStay) && + Objects.equals(this.locationName, availabilitySearchPostRequest.locationName) && + Objects.equals(this.locationType, availabilitySearchPostRequest.locationType) && + Objects.equals(this.earliestArrival, availabilitySearchPostRequest.earliestArrival) && + Objects.equals(this.latestReturn, availabilitySearchPostRequest.latestReturn) && + Objects.equals(this.sort, availabilitySearchPostRequest.sort) && + Objects.equals(this.serviceList, availabilitySearchPostRequest.serviceList) && + Objects.equals(this.typeList, availabilitySearchPostRequest.typeList) && + Objects.equals(this.unitTypeList, availabilitySearchPostRequest.unitTypeList) && + Objects.equals(this.unitAmenityList, availabilitySearchPostRequest.unitAmenityList) && + Objects.equals(this.mealPlanList, availabilitySearchPostRequest.mealPlanList); + } + + @Override + public int hashCode() { + return Objects.hash(adultCount, childCount, childAgeList, currencyCode, languageCode, unitSystem, minLengthOfStay, maxLengthOfStay, locationName, locationType, earliestArrival, latestReturn, sort, serviceList, typeList, unitTypeList, unitAmenityList, mealPlanList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailabilitySearchPostRequest {\n"); + sb.append(" adultCount: ").append(toIndentedString(adultCount)).append("\n"); + sb.append(" childCount: ").append(toIndentedString(childCount)).append("\n"); + sb.append(" childAgeList: ").append(toIndentedString(childAgeList)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + sb.append(" unitSystem: ").append(toIndentedString(unitSystem)).append("\n"); + sb.append(" minLengthOfStay: ").append(toIndentedString(minLengthOfStay)).append("\n"); + sb.append(" maxLengthOfStay: ").append(toIndentedString(maxLengthOfStay)).append("\n"); + sb.append(" locationName: ").append(toIndentedString(locationName)).append("\n"); + sb.append(" locationType: ").append(toIndentedString(locationType)).append("\n"); + sb.append(" earliestArrival: ").append(toIndentedString(earliestArrival)).append("\n"); + sb.append(" latestReturn: ").append(toIndentedString(latestReturn)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); + sb.append(" typeList: ").append(toIndentedString(typeList)).append("\n"); + sb.append(" unitTypeList: ").append(toIndentedString(unitTypeList)).append("\n"); + sb.append(" unitAmenityList: ").append(toIndentedString(unitAmenityList)).append("\n"); + sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("adultCount"); + openapiFields.add("childCount"); + openapiFields.add("childAgeList"); + openapiFields.add("currencyCode"); + openapiFields.add("languageCode"); + openapiFields.add("unitSystem"); + openapiFields.add("minLengthOfStay"); + openapiFields.add("maxLengthOfStay"); + openapiFields.add("locationName"); + openapiFields.add("locationType"); + openapiFields.add("earliestArrival"); + openapiFields.add("latestReturn"); + openapiFields.add("sort"); + openapiFields.add("serviceList"); + openapiFields.add("typeList"); + openapiFields.add("unitTypeList"); + openapiFields.add("unitAmenityList"); + openapiFields.add("mealPlanList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("languageCode"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailabilitySearchPostRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailabilitySearchPostRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailabilitySearchPostRequest is not found in the empty JSON string", AvailabilitySearchPostRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailabilitySearchPostRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailabilitySearchPostRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailabilitySearchPostRequest.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the optional json data is an array if present + if (jsonObj.get("childAgeList") != null && !jsonObj.get("childAgeList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `childAgeList` to be an array in the JSON string but got `%s`", jsonObj.get("childAgeList").toString())); + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + if (!jsonObj.get("languageCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); + } + if ((jsonObj.get("unitSystem") != null && !jsonObj.get("unitSystem").isJsonNull()) && !jsonObj.get("unitSystem").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `unitSystem` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitSystem").toString())); + } + if ((jsonObj.get("locationName") != null && !jsonObj.get("locationName").isJsonNull()) && !jsonObj.get("locationName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `locationName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locationName").toString())); + } + if ((jsonObj.get("locationType") != null && !jsonObj.get("locationType").isJsonNull()) && !jsonObj.get("locationType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `locationType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locationType").toString())); + } + if ((jsonObj.get("earliestArrival") != null && !jsonObj.get("earliestArrival").isJsonNull()) && !jsonObj.get("earliestArrival").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `earliestArrival` to be a primitive type in the JSON string but got `%s`", jsonObj.get("earliestArrival").toString())); + } + if ((jsonObj.get("latestReturn") != null && !jsonObj.get("latestReturn").isJsonNull()) && !jsonObj.get("latestReturn").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `latestReturn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("latestReturn").toString())); + } + if ((jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) && !jsonObj.get("sort").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sort` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sort").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("serviceList") != null && !jsonObj.get("serviceList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("typeList") != null && !jsonObj.get("typeList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `typeList` to be an array in the JSON string but got `%s`", jsonObj.get("typeList").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("unitTypeList") != null && !jsonObj.get("unitTypeList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `unitTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("unitTypeList").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("unitAmenityList") != null && !jsonObj.get("unitAmenityList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `unitAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("unitAmenityList").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("mealPlanList") != null && !jsonObj.get("mealPlanList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailabilitySearchPostRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailabilitySearchPostRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailabilitySearchPostRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailabilitySearchPostRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailabilitySearchPostRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailabilitySearchPostRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailabilitySearchPostRequest + * @throws IOException if the JSON string is invalid with respect to AvailabilitySearchPostRequest + */ + public static AvailabilitySearchPostRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailabilitySearchPostRequest.class); + } + + /** + * Convert an instance of AvailabilitySearchPostRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/AvailablePropertiesInner.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner.java new file mode 100644 index 0000000..5447b3d --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner.java @@ -0,0 +1,540 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * AvailablePropertiesInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * The currency code of the currency of the lowest price. + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + public static final String SERIALIZED_NAME_LOWEST_PRICE = "lowestPrice"; + @SerializedName(SERIALIZED_NAME_LOWEST_PRICE) + private BigDecimal lowestPrice; + + /** + * The type of the found location.<p>See also <a href=\"#locationtypes\">in the appendix</a>.</p> + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + FORMATTED_ADDRESS("formatted_address"), + + PLACE_ID("place_id"), + + LOCALITY("locality"), + + ADMINISTRATIVE_AREA_LEVEL_1("administrative_area_level_1"), + + ADMINISTRATIVE_AREA_LEVEL_2("administrative_area_level_2"), + + ADMINISTRATIVE_AREA_LEVEL_3("administrative_area_level_3"), + + ADMINISTRATIVE_AREA_LEVEL_4("administrative_area_level_4"), + + ADMINISTRATIVE_AREA_LEVEL_5("administrative_area_level_5"), + + STATE_CODE("state_code"), + + COUNTRY("country"), + + COUNTRY_CODE("country_code"), + + POSTAL_CODE("postal_code"), + + LANGUAGE("language"), + + NATURAL_FEATURE("natural_feature"), + + ESTABLISHMENT("establishment"), + + SUBLOCALITY("sublocality"), + + SUBLOCALITY_LEVEL_1("sublocality_level_1"), + + SUBLOCALITY_LEVEL_2("sublocality_level_2"), + + SUBLOCALITY_LEVEL_3("sublocality_level_3"), + + SUBLOCALITY_LEVEL_4("sublocality_level_4"), + + SUBLOCALITY_LEVEL_5("sublocality_level_5"), + + STREETNUMBER("streetNumber"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public AvailablePropertiesInner() { + } + + public AvailablePropertiesInner name(String name) { + + this.name = name; + return this; + } + + /** + * The name of the location. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AvailablePropertiesInner currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency code of the currency of the lowest price. + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public AvailablePropertiesInner lowestPrice(BigDecimal lowestPrice) { + + this.lowestPrice = lowestPrice; + return this; + } + + /** + * The lowest price available for this location. + * @return lowestPrice + **/ + @javax.annotation.Nonnull + + public BigDecimal getLowestPrice() { + return lowestPrice; + } + + + public void setLowestPrice(BigDecimal lowestPrice) { + this.lowestPrice = lowestPrice; + } + + + public AvailablePropertiesInner type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * The type of the found location.<p>See also <a href=\"#locationtypes\">in the appendix</a>.</p> + * @return type + **/ + @javax.annotation.Nonnull + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailablePropertiesInner availablePropertiesInner = (AvailablePropertiesInner) o; + return Objects.equals(this.name, availablePropertiesInner.name) && + Objects.equals(this.currencyCode, availablePropertiesInner.currencyCode) && + Objects.equals(this.lowestPrice, availablePropertiesInner.lowestPrice) && + Objects.equals(this.type, availablePropertiesInner.type); + } + + @Override + public int hashCode() { + return Objects.hash(name, currencyCode, lowestPrice, type); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailablePropertiesInner {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" lowestPrice: ").append(toIndentedString(lowestPrice)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("currencyCode"); + openapiFields.add("lowestPrice"); + openapiFields.add("type"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("lowestPrice"); + openapiRequiredFields.add("type"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailablePropertiesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner is not found in the empty JSON string", AvailablePropertiesInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailablePropertiesInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + if (!jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailablePropertiesInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailablePropertiesInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailablePropertiesInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailablePropertiesInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailablePropertiesInner + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner + */ + public static AvailablePropertiesInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner.class); + } + + /** + * Convert an instance of AvailablePropertiesInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/AvailablePropertiesInner1.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner1.java new file mode 100644 index 0000000..2380ff0 --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner1.java @@ -0,0 +1,2281 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.AvailablePropertiesInner1AttractionListInner; +import com.lodgea.model.AvailablePropertiesInner1Geo; +import com.lodgea.model.AvailablePropertiesInner1LowestPrice; +import com.lodgea.model.AvailablePropertiesInner1MediaListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * AvailablePropertiesInner1 + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner1 { + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private String code; + + /** + * The language code of the language in which the property description is written.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageCodeEnum.Adapter.class) + public enum LanguageCodeEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageCodeEnum fromValue(String value) { + for (LanguageCodeEnum b : LanguageCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) + private LanguageCodeEnum languageCode; + + /** + * The currency code for the currency in which prices are returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + /** + * The unit system (either \"metric\" or \"imperial\") used for measurements. + */ + @JsonAdapter(UnitSystemEnum.Adapter.class) + public enum UnitSystemEnum { + METRIC("metric"), + + IMPERIAL("imperial"); + + private String value; + + UnitSystemEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static UnitSystemEnum fromValue(String value) { + for (UnitSystemEnum b : UnitSystemEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final UnitSystemEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public UnitSystemEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return UnitSystemEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_UNIT_SYSTEM = "unitSystem"; + @SerializedName(SERIALIZED_NAME_UNIT_SYSTEM) + private UnitSystemEnum unitSystem; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_URI = "uri"; + @SerializedName(SERIALIZED_NAME_URI) + private String uri; + + /** + * Gets or Sets serviceList + */ + @JsonAdapter(ServiceListEnum.Adapter.class) + public enum ServiceListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_111(new BigDecimal("111")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_117(new BigDecimal("117")), + + NUMBER_118(new BigDecimal("118")), + + NUMBER_119(new BigDecimal("119")), + + NUMBER_120(new BigDecimal("120")), + + NUMBER_121(new BigDecimal("121")), + + NUMBER_122(new BigDecimal("122")), + + NUMBER_123(new BigDecimal("123")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_126(new BigDecimal("126")), + + NUMBER_127(new BigDecimal("127")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_129(new BigDecimal("129")), + + NUMBER_130(new BigDecimal("130")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_132(new BigDecimal("132")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_135(new BigDecimal("135")), + + NUMBER_136(new BigDecimal("136")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_138(new BigDecimal("138")), + + NUMBER_139(new BigDecimal("139")), + + NUMBER_140(new BigDecimal("140")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_142(new BigDecimal("142")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_144(new BigDecimal("144")), + + NUMBER_145(new BigDecimal("145")), + + NUMBER_146(new BigDecimal("146")), + + NUMBER_147(new BigDecimal("147")), + + NUMBER_148(new BigDecimal("148")), + + NUMBER_149(new BigDecimal("149")), + + NUMBER_150(new BigDecimal("150")), + + NUMBER_151(new BigDecimal("151")), + + NUMBER_152(new BigDecimal("152")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_162(new BigDecimal("162")), + + NUMBER_163(new BigDecimal("163")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_166(new BigDecimal("166")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_168(new BigDecimal("168")), + + NUMBER_169(new BigDecimal("169")), + + NUMBER_170(new BigDecimal("170")), + + NUMBER_171(new BigDecimal("171")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_174(new BigDecimal("174")), + + NUMBER_175(new BigDecimal("175")), + + NUMBER_176(new BigDecimal("176")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_180(new BigDecimal("180")), + + NUMBER_181(new BigDecimal("181")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_195(new BigDecimal("195")), + + NUMBER_196(new BigDecimal("196")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_200(new BigDecimal("200")), + + NUMBER_201(new BigDecimal("201")), + + NUMBER_202(new BigDecimal("202")), + + NUMBER_203(new BigDecimal("203")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_206(new BigDecimal("206")), + + NUMBER_207(new BigDecimal("207")), + + NUMBER_208(new BigDecimal("208")), + + NUMBER_209(new BigDecimal("209")), + + NUMBER_210(new BigDecimal("210")), + + NUMBER_211(new BigDecimal("211")), + + NUMBER_212(new BigDecimal("212")), + + NUMBER_213(new BigDecimal("213")), + + NUMBER_214(new BigDecimal("214")), + + NUMBER_215(new BigDecimal("215")), + + NUMBER_216(new BigDecimal("216")), + + NUMBER_217(new BigDecimal("217")), + + NUMBER_218(new BigDecimal("218")), + + NUMBER_219(new BigDecimal("219")), + + NUMBER_220(new BigDecimal("220")), + + NUMBER_221(new BigDecimal("221")), + + NUMBER_222(new BigDecimal("222")), + + NUMBER_223(new BigDecimal("223")), + + NUMBER_224(new BigDecimal("224")), + + NUMBER_225(new BigDecimal("225")), + + NUMBER_226(new BigDecimal("226")), + + NUMBER_227(new BigDecimal("227")), + + NUMBER_228(new BigDecimal("228")), + + NUMBER_229(new BigDecimal("229")), + + NUMBER_230(new BigDecimal("230")), + + NUMBER_231(new BigDecimal("231")), + + NUMBER_232(new BigDecimal("232")), + + NUMBER_233(new BigDecimal("233")), + + NUMBER_234(new BigDecimal("234")), + + NUMBER_235(new BigDecimal("235")), + + NUMBER_236(new BigDecimal("236")), + + NUMBER_237(new BigDecimal("237")), + + NUMBER_238(new BigDecimal("238")), + + NUMBER_239(new BigDecimal("239")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_243(new BigDecimal("243")), + + NUMBER_244(new BigDecimal("244")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_274(new BigDecimal("274")), + + NUMBER_275(new BigDecimal("275")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_284(new BigDecimal("284")), + + NUMBER_285(new BigDecimal("285")), + + NUMBER_286(new BigDecimal("286")), + + NUMBER_287(new BigDecimal("287")), + + NUMBER_288(new BigDecimal("288")), + + NUMBER_289(new BigDecimal("289")), + + NUMBER_290(new BigDecimal("290")), + + NUMBER_291(new BigDecimal("291")), + + NUMBER_292(new BigDecimal("292")), + + NUMBER_293(new BigDecimal("293")), + + NUMBER_294(new BigDecimal("294")), + + NUMBER_295(new BigDecimal("295")), + + NUMBER_296(new BigDecimal("296")), + + NUMBER_297(new BigDecimal("297")), + + NUMBER_298(new BigDecimal("298")), + + NUMBER_299(new BigDecimal("299")), + + NUMBER_300(new BigDecimal("300")), + + NUMBER_301(new BigDecimal("301")), + + NUMBER_302(new BigDecimal("302")), + + NUMBER_303(new BigDecimal("303")), + + NUMBER_304(new BigDecimal("304")), + + NUMBER_305(new BigDecimal("305")), + + NUMBER_306(new BigDecimal("306")), + + NUMBER_307(new BigDecimal("307")), + + NUMBER_308(new BigDecimal("308")), + + NUMBER_309(new BigDecimal("309")), + + NUMBER_310(new BigDecimal("310")), + + NUMBER_311(new BigDecimal("311")), + + NUMBER_312(new BigDecimal("312")), + + NUMBER_313(new BigDecimal("313")), + + NUMBER_314(new BigDecimal("314")), + + NUMBER_315(new BigDecimal("315")), + + NUMBER_316(new BigDecimal("316")), + + NUMBER_317(new BigDecimal("317")), + + NUMBER_318(new BigDecimal("318")), + + NUMBER_319(new BigDecimal("319")), + + NUMBER_320(new BigDecimal("320")), + + NUMBER_321(new BigDecimal("321")), + + NUMBER_322(new BigDecimal("322")), + + NUMBER_323(new BigDecimal("323")), + + NUMBER_324(new BigDecimal("324")), + + NUMBER_325(new BigDecimal("325")), + + NUMBER_326(new BigDecimal("326")), + + NUMBER_327(new BigDecimal("327")), + + NUMBER_328(new BigDecimal("328")), + + NUMBER_329(new BigDecimal("329")), + + NUMBER_331(new BigDecimal("331")), + + NUMBER_332(new BigDecimal("332")), + + NUMBER_333(new BigDecimal("333")), + + NUMBER_334(new BigDecimal("334")), + + NUMBER_335(new BigDecimal("335")), + + NUMBER_336(new BigDecimal("336")), + + NUMBER_337(new BigDecimal("337")), + + NUMBER_338(new BigDecimal("338")), + + NUMBER_339(new BigDecimal("339")), + + NUMBER_340(new BigDecimal("340")), + + NUMBER_341(new BigDecimal("341")), + + NUMBER_342(new BigDecimal("342")), + + NUMBER_343(new BigDecimal("343")), + + NUMBER_344(new BigDecimal("344")), + + NUMBER_345(new BigDecimal("345")), + + NUMBER_348(new BigDecimal("348")), + + NUMBER_349(new BigDecimal("349")), + + NUMBER_350(new BigDecimal("350")), + + NUMBER_351(new BigDecimal("351")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5034(new BigDecimal("5034")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_5037(new BigDecimal("5037")), + + NUMBER_5039(new BigDecimal("5039")), + + NUMBER_5040(new BigDecimal("5040")), + + NUMBER_5041(new BigDecimal("5041")), + + NUMBER_5042(new BigDecimal("5042")), + + NUMBER_5043(new BigDecimal("5043")), + + NUMBER_5044(new BigDecimal("5044")), + + NUMBER_5045(new BigDecimal("5045")), + + NUMBER_5046(new BigDecimal("5046")), + + NUMBER_5047(new BigDecimal("5047")), + + NUMBER_5048(new BigDecimal("5048")), + + NUMBER_5049(new BigDecimal("5049")), + + NUMBER_5050(new BigDecimal("5050")), + + NUMBER_5051(new BigDecimal("5051")), + + NUMBER_5052(new BigDecimal("5052")), + + NUMBER_5053(new BigDecimal("5053")), + + NUMBER_5054(new BigDecimal("5054")), + + NUMBER_5055(new BigDecimal("5055")), + + NUMBER_5056(new BigDecimal("5056")), + + NUMBER_5057(new BigDecimal("5057")), + + NUMBER_5058(new BigDecimal("5058")), + + NUMBER_5059(new BigDecimal("5059")), + + NUMBER_5060(new BigDecimal("5060")), + + NUMBER_5061(new BigDecimal("5061")), + + NUMBER_5062(new BigDecimal("5062")), + + NUMBER_5063(new BigDecimal("5063")), + + NUMBER_5064(new BigDecimal("5064")), + + NUMBER_5065(new BigDecimal("5065")), + + NUMBER_5066(new BigDecimal("5066")), + + NUMBER_5067(new BigDecimal("5067")), + + NUMBER_5068(new BigDecimal("5068")), + + NUMBER_5069(new BigDecimal("5069")), + + NUMBER_5070(new BigDecimal("5070")), + + NUMBER_5071(new BigDecimal("5071")), + + NUMBER_5072(new BigDecimal("5072")), + + NUMBER_5073(new BigDecimal("5073")), + + NUMBER_5074(new BigDecimal("5074")), + + NUMBER_5075(new BigDecimal("5075")), + + NUMBER_5076(new BigDecimal("5076")), + + NUMBER_5077(new BigDecimal("5077")), + + NUMBER_5078(new BigDecimal("5078")), + + NUMBER_5079(new BigDecimal("5079")), + + NUMBER_5080(new BigDecimal("5080")), + + NUMBER_5081(new BigDecimal("5081")), + + NUMBER_5082(new BigDecimal("5082")), + + NUMBER_5083(new BigDecimal("5083")), + + NUMBER_5084(new BigDecimal("5084")), + + NUMBER_5085(new BigDecimal("5085")), + + NUMBER_5086(new BigDecimal("5086")), + + NUMBER_5087(new BigDecimal("5087")), + + NUMBER_5088(new BigDecimal("5088")), + + NUMBER_5089(new BigDecimal("5089")), + + NUMBER_5090(new BigDecimal("5090")), + + NUMBER_5091(new BigDecimal("5091")), + + NUMBER_5092(new BigDecimal("5092")), + + NUMBER_5093(new BigDecimal("5093")), + + NUMBER_5094(new BigDecimal("5094")), + + NUMBER_5095(new BigDecimal("5095")), + + NUMBER_5096(new BigDecimal("5096")), + + NUMBER_5097(new BigDecimal("5097")), + + NUMBER_5098(new BigDecimal("5098")), + + NUMBER_5099(new BigDecimal("5099")), + + NUMBER_5100(new BigDecimal("5100")), + + NUMBER_5101(new BigDecimal("5101")), + + NUMBER_5102(new BigDecimal("5102")), + + NUMBER_5103(new BigDecimal("5103")), + + NUMBER_5104(new BigDecimal("5104")), + + NUMBER_5105(new BigDecimal("5105")), + + NUMBER_5106(new BigDecimal("5106")), + + NUMBER_5107(new BigDecimal("5107")), + + NUMBER_5108(new BigDecimal("5108")), + + NUMBER_5109(new BigDecimal("5109")), + + NUMBER_5110(new BigDecimal("5110")), + + NUMBER_5111(new BigDecimal("5111")), + + NUMBER_5112(new BigDecimal("5112")), + + NUMBER_5113(new BigDecimal("5113")), + + NUMBER_5114(new BigDecimal("5114")), + + NUMBER_5115(new BigDecimal("5115")), + + NUMBER_5116(new BigDecimal("5116")), + + NUMBER_5117(new BigDecimal("5117")), + + NUMBER_5118(new BigDecimal("5118")), + + NUMBER_5119(new BigDecimal("5119")), + + NUMBER_5120(new BigDecimal("5120")), + + NUMBER_5121(new BigDecimal("5121")), + + NUMBER_5122(new BigDecimal("5122")), + + NUMBER_5123(new BigDecimal("5123")), + + NUMBER_5124(new BigDecimal("5124")), + + NUMBER_5125(new BigDecimal("5125")), + + NUMBER_5126(new BigDecimal("5126")), + + NUMBER_5127(new BigDecimal("5127")), + + NUMBER_5128(new BigDecimal("5128")), + + NUMBER_5129(new BigDecimal("5129")), + + NUMBER_5130(new BigDecimal("5130")), + + NUMBER_5131(new BigDecimal("5131")), + + NUMBER_5132(new BigDecimal("5132")), + + NUMBER_5133(new BigDecimal("5133")), + + NUMBER_5134(new BigDecimal("5134")), + + NUMBER_5135(new BigDecimal("5135")), + + NUMBER_5136(new BigDecimal("5136")), + + NUMBER_5137(new BigDecimal("5137")), + + NUMBER_5138(new BigDecimal("5138")), + + NUMBER_5139(new BigDecimal("5139")), + + NUMBER_5140(new BigDecimal("5140")), + + NUMBER_5141(new BigDecimal("5141")), + + NUMBER_5142(new BigDecimal("5142")), + + NUMBER_5143(new BigDecimal("5143")), + + NUMBER_5144(new BigDecimal("5144")), + + NUMBER_5145(new BigDecimal("5145")), + + NUMBER_5146(new BigDecimal("5146")), + + NUMBER_5147(new BigDecimal("5147")), + + NUMBER_5148(new BigDecimal("5148")), + + NUMBER_5149(new BigDecimal("5149")), + + NUMBER_5150(new BigDecimal("5150")), + + NUMBER_5151(new BigDecimal("5151")), + + NUMBER_5152(new BigDecimal("5152")), + + NUMBER_5153(new BigDecimal("5153")), + + NUMBER_5154(new BigDecimal("5154")), + + NUMBER_5156(new BigDecimal("5156")), + + NUMBER_5157(new BigDecimal("5157")), + + NUMBER_5158(new BigDecimal("5158")), + + NUMBER_5159(new BigDecimal("5159")), + + NUMBER_5160(new BigDecimal("5160")), + + NUMBER_5161(new BigDecimal("5161")), + + NUMBER_5162(new BigDecimal("5162")), + + NUMBER_5163(new BigDecimal("5163")), + + NUMBER_5164(new BigDecimal("5164")), + + NUMBER_5165(new BigDecimal("5165")), + + NUMBER_5166(new BigDecimal("5166")), + + NUMBER_5167(new BigDecimal("5167")), + + NUMBER_5168(new BigDecimal("5168")), + + NUMBER_5169(new BigDecimal("5169")), + + NUMBER_5170(new BigDecimal("5170")), + + NUMBER_5171(new BigDecimal("5171")), + + NUMBER_5172(new BigDecimal("5172")), + + NUMBER_5173(new BigDecimal("5173")), + + NUMBER_5174(new BigDecimal("5174")), + + NUMBER_5175(new BigDecimal("5175")), + + NUMBER_5176(new BigDecimal("5176")), + + NUMBER_5177(new BigDecimal("5177")), + + NUMBER_5178(new BigDecimal("5178")), + + NUMBER_6000(new BigDecimal("6000")), + + NUMBER_6001(new BigDecimal("6001")), + + NUMBER_90001(new BigDecimal("90001")); + + private BigDecimal value; + + ServiceListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ServiceListEnum fromValue(BigDecimal value) { + for (ServiceListEnum b : ServiceListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ServiceListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ServiceListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ServiceListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; + @SerializedName(SERIALIZED_NAME_SERVICE_LIST) + private List serviceList = new ArrayList<>(); + + /** + * Gets or Sets categoryList + */ + @JsonAdapter(CategoryListEnum.Adapter.class) + public enum CategoryListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")); + + private BigDecimal value; + + CategoryListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CategoryListEnum fromValue(BigDecimal value) { + for (CategoryListEnum b : CategoryListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CategoryListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CategoryListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CategoryListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_CATEGORY_LIST = "categoryList"; + @SerializedName(SERIALIZED_NAME_CATEGORY_LIST) + private List categoryList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_URI_PATH = "uriPath"; + @SerializedName(SERIALIZED_NAME_URI_PATH) + private String uriPath; + + public static final String SERIALIZED_NAME_TEXT = "text"; + @SerializedName(SERIALIZED_NAME_TEXT) + private String text; + + public static final String SERIALIZED_NAME_GEO = "geo"; + @SerializedName(SERIALIZED_NAME_GEO) + private AvailablePropertiesInner1Geo geo; + + public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; + @SerializedName(SERIALIZED_NAME_MEDIA_LIST) + private List mediaList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_ATTRACTION_LIST = "attractionList"; + @SerializedName(SERIALIZED_NAME_ATTRACTION_LIST) + private List attractionList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_LOWEST_PRICE = "lowestPrice"; + @SerializedName(SERIALIZED_NAME_LOWEST_PRICE) + private AvailablePropertiesInner1LowestPrice lowestPrice; + + public AvailablePropertiesInner1() { + } + + public AvailablePropertiesInner1 code(String code) { + + this.code = code; + return this; + } + + /** + * The properties unique code/ID. + * @return code + **/ + @javax.annotation.Nonnull + + public String getCode() { + return code; + } + + + public void setCode(String code) { + this.code = code; + } + + + public AvailablePropertiesInner1 languageCode(LanguageCodeEnum languageCode) { + + this.languageCode = languageCode; + return this; + } + + /** + * The language code of the language in which the property description is written.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return languageCode + **/ + @javax.annotation.Nonnull + + public LanguageCodeEnum getLanguageCode() { + return languageCode; + } + + + public void setLanguageCode(LanguageCodeEnum languageCode) { + this.languageCode = languageCode; + } + + + public AvailablePropertiesInner1 currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency code for the currency in which prices are returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public AvailablePropertiesInner1 unitSystem(UnitSystemEnum unitSystem) { + + this.unitSystem = unitSystem; + return this; + } + + /** + * The unit system (either \"metric\" or \"imperial\") used for measurements. + * @return unitSystem + **/ + @javax.annotation.Nonnull + + public UnitSystemEnum getUnitSystem() { + return unitSystem; + } + + + public void setUnitSystem(UnitSystemEnum unitSystem) { + this.unitSystem = unitSystem; + } + + + public AvailablePropertiesInner1 name(String name) { + + this.name = name; + return this; + } + + /** + * The name of the property. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AvailablePropertiesInner1 uri(String uri) { + + this.uri = uri; + return this; + } + + /** + * A URI for the property. + * @return uri + **/ + @javax.annotation.Nonnull + + public String getUri() { + return uri; + } + + + public void setUri(String uri) { + this.uri = uri; + } + + + public AvailablePropertiesInner1 serviceList(List serviceList) { + + this.serviceList = serviceList; + return this; + } + + public AvailablePropertiesInner1 addServiceListItem(ServiceListEnum serviceListItem) { + this.serviceList.add(serviceListItem); + return this; + } + + /** + * A list of service codes indicating the services and amenities the property has.<p>See also <a href=\"#servicecodes\">in the appendix</a>.</p> + * @return serviceList + **/ + @javax.annotation.Nonnull + + public List getServiceList() { + return serviceList; + } + + + public void setServiceList(List serviceList) { + this.serviceList = serviceList; + } + + + public AvailablePropertiesInner1 categoryList(List categoryList) { + + this.categoryList = categoryList; + return this; + } + + public AvailablePropertiesInner1 addCategoryListItem(CategoryListEnum categoryListItem) { + this.categoryList.add(categoryListItem); + return this; + } + + /** + * A list of property class type codes indicating the types of the property.<p>See also <a href=\"#propertyclass-type-codes\">in the appendix</a>.</p> + * @return categoryList + **/ + @javax.annotation.Nonnull + + public List getCategoryList() { + return categoryList; + } + + + public void setCategoryList(List categoryList) { + this.categoryList = categoryList; + } + + + public AvailablePropertiesInner1 uriPath(String uriPath) { + + this.uriPath = uriPath; + return this; + } + + /** + * A URI path for the property. + * @return uriPath + **/ + @javax.annotation.Nonnull + + public String getUriPath() { + return uriPath; + } + + + public void setUriPath(String uriPath) { + this.uriPath = uriPath; + } + + + public AvailablePropertiesInner1 text(String text) { + + this.text = text; + return this; + } + + /** + * A description of the property. + * @return text + **/ + @javax.annotation.Nonnull + + public String getText() { + return text; + } + + + public void setText(String text) { + this.text = text; + } + + + public AvailablePropertiesInner1 geo(AvailablePropertiesInner1Geo geo) { + + this.geo = geo; + return this; + } + + /** + * Get geo + * @return geo + **/ + @javax.annotation.Nullable + + public AvailablePropertiesInner1Geo getGeo() { + return geo; + } + + + public void setGeo(AvailablePropertiesInner1Geo geo) { + this.geo = geo; + } + + + public AvailablePropertiesInner1 mediaList(List mediaList) { + + this.mediaList = mediaList; + return this; + } + + public AvailablePropertiesInner1 addMediaListItem(AvailablePropertiesInner1MediaListInner mediaListItem) { + this.mediaList.add(mediaListItem); + return this; + } + + /** + * A list of media objects for the property. + * @return mediaList + **/ + @javax.annotation.Nonnull + + public List getMediaList() { + return mediaList; + } + + + public void setMediaList(List mediaList) { + this.mediaList = mediaList; + } + + + public AvailablePropertiesInner1 attractionList(List attractionList) { + + this.attractionList = attractionList; + return this; + } + + public AvailablePropertiesInner1 addAttractionListItem(AvailablePropertiesInner1AttractionListInner attractionListItem) { + this.attractionList.add(attractionListItem); + return this; + } + + /** + * A list of objects describing the attractions available at the property. + * @return attractionList + **/ + @javax.annotation.Nonnull + + public List getAttractionList() { + return attractionList; + } + + + public void setAttractionList(List attractionList) { + this.attractionList = attractionList; + } + + + public AvailablePropertiesInner1 lowestPrice(AvailablePropertiesInner1LowestPrice lowestPrice) { + + this.lowestPrice = lowestPrice; + return this; + } + + /** + * Get lowestPrice + * @return lowestPrice + **/ + @javax.annotation.Nonnull + + public AvailablePropertiesInner1LowestPrice getLowestPrice() { + return lowestPrice; + } + + + public void setLowestPrice(AvailablePropertiesInner1LowestPrice lowestPrice) { + this.lowestPrice = lowestPrice; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailablePropertiesInner1 availablePropertiesInner1 = (AvailablePropertiesInner1) o; + return Objects.equals(this.code, availablePropertiesInner1.code) && + Objects.equals(this.languageCode, availablePropertiesInner1.languageCode) && + Objects.equals(this.currencyCode, availablePropertiesInner1.currencyCode) && + Objects.equals(this.unitSystem, availablePropertiesInner1.unitSystem) && + Objects.equals(this.name, availablePropertiesInner1.name) && + Objects.equals(this.uri, availablePropertiesInner1.uri) && + Objects.equals(this.serviceList, availablePropertiesInner1.serviceList) && + Objects.equals(this.categoryList, availablePropertiesInner1.categoryList) && + Objects.equals(this.uriPath, availablePropertiesInner1.uriPath) && + Objects.equals(this.text, availablePropertiesInner1.text) && + Objects.equals(this.geo, availablePropertiesInner1.geo) && + Objects.equals(this.mediaList, availablePropertiesInner1.mediaList) && + Objects.equals(this.attractionList, availablePropertiesInner1.attractionList) && + Objects.equals(this.lowestPrice, availablePropertiesInner1.lowestPrice); + } + + @Override + public int hashCode() { + return Objects.hash(code, languageCode, currencyCode, unitSystem, name, uri, serviceList, categoryList, uriPath, text, geo, mediaList, attractionList, lowestPrice); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailablePropertiesInner1 {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" unitSystem: ").append(toIndentedString(unitSystem)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); + sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); + sb.append(" categoryList: ").append(toIndentedString(categoryList)).append("\n"); + sb.append(" uriPath: ").append(toIndentedString(uriPath)).append("\n"); + sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append(" geo: ").append(toIndentedString(geo)).append("\n"); + sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); + sb.append(" attractionList: ").append(toIndentedString(attractionList)).append("\n"); + sb.append(" lowestPrice: ").append(toIndentedString(lowestPrice)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("code"); + openapiFields.add("languageCode"); + openapiFields.add("currencyCode"); + openapiFields.add("unitSystem"); + openapiFields.add("name"); + openapiFields.add("uri"); + openapiFields.add("serviceList"); + openapiFields.add("categoryList"); + openapiFields.add("uriPath"); + openapiFields.add("text"); + openapiFields.add("geo"); + openapiFields.add("mediaList"); + openapiFields.add("attractionList"); + openapiFields.add("lowestPrice"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("code"); + openapiRequiredFields.add("languageCode"); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("unitSystem"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("uri"); + openapiRequiredFields.add("serviceList"); + openapiRequiredFields.add("categoryList"); + openapiRequiredFields.add("uriPath"); + openapiRequiredFields.add("text"); + openapiRequiredFields.add("mediaList"); + openapiRequiredFields.add("attractionList"); + openapiRequiredFields.add("lowestPrice"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner1 + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailablePropertiesInner1.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner1 is not found in the empty JSON string", AvailablePropertiesInner1.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailablePropertiesInner1.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner1` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner1.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); + } + if (!jsonObj.get("languageCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + if (!jsonObj.get("unitSystem").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `unitSystem` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitSystem").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("uri").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uri").toString())); + } + // ensure the required json array is present + if (jsonObj.get("serviceList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("serviceList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("categoryList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("categoryList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `categoryList` to be an array in the JSON string but got `%s`", jsonObj.get("categoryList").toString())); + } + if (!jsonObj.get("uriPath").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uriPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uriPath").toString())); + } + if (!jsonObj.get("text").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); + } + // validate the optional field `geo` + if (jsonObj.get("geo") != null && !jsonObj.get("geo").isJsonNull()) { + AvailablePropertiesInner1Geo.validateJsonObject(jsonObj.getAsJsonObject("geo")); + } + // ensure the json data is an array + if (!jsonObj.get("mediaList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); + } + + JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); + // validate the required field `mediaList` (array) + for (int i = 0; i < jsonArraymediaList.size(); i++) { + AvailablePropertiesInner1MediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("attractionList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attractionList` to be an array in the JSON string but got `%s`", jsonObj.get("attractionList").toString())); + } + + JsonArray jsonArrayattractionList = jsonObj.getAsJsonArray("attractionList"); + // validate the required field `attractionList` (array) + for (int i = 0; i < jsonArrayattractionList.size(); i++) { + AvailablePropertiesInner1AttractionListInner.validateJsonObject(jsonArrayattractionList.get(i).getAsJsonObject()); + }; + // validate the required field `lowestPrice` + AvailablePropertiesInner1LowestPrice.validateJsonObject(jsonObj.getAsJsonObject("lowestPrice")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailablePropertiesInner1.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner1' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner1.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailablePropertiesInner1 value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailablePropertiesInner1 read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailablePropertiesInner1 given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailablePropertiesInner1 + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner1 + */ + public static AvailablePropertiesInner1 fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner1.class); + } + + /** + * Convert an instance of AvailablePropertiesInner1 to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInner.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInner.java new file mode 100644 index 0000000..e6131e3 --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInner.java @@ -0,0 +1,560 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.AvailablePropertiesInner1AttractionListInnerDistance; +import java.io.IOException; +import java.math.BigDecimal; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * AvailablePropertiesInner1AttractionListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner1AttractionListInner { + /** + * The code for this attraction type.<p>See also <a href=\"#attractioncategory-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(TypeCodeEnum.Adapter.class) + public enum TypeCodeEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_90001(new BigDecimal("90001")), + + NUMBER_90002(new BigDecimal("90002")), + + NUMBER_90003(new BigDecimal("90003")), + + NUMBER_90004(new BigDecimal("90004")), + + NUMBER_90005(new BigDecimal("90005")), + + NUMBER_90006(new BigDecimal("90006")), + + NUMBER_90007(new BigDecimal("90007")), + + NUMBER_90008(new BigDecimal("90008")), + + NUMBER_90009(new BigDecimal("90009")), + + NUMBER_90010(new BigDecimal("90010")); + + private BigDecimal value; + + TypeCodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeCodeEnum fromValue(BigDecimal value) { + for (TypeCodeEnum b : TypeCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeCodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; + @SerializedName(SERIALIZED_NAME_TYPE_CODE) + private TypeCodeEnum typeCode; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DISTANCE = "distance"; + @SerializedName(SERIALIZED_NAME_DISTANCE) + private AvailablePropertiesInner1AttractionListInnerDistance distance; + + public AvailablePropertiesInner1AttractionListInner() { + } + + public AvailablePropertiesInner1AttractionListInner typeCode(TypeCodeEnum typeCode) { + + this.typeCode = typeCode; + return this; + } + + /** + * The code for this attraction type.<p>See also <a href=\"#attractioncategory-codes\">in the appendix</a>.</p> + * @return typeCode + **/ + @javax.annotation.Nonnull + + public TypeCodeEnum getTypeCode() { + return typeCode; + } + + + public void setTypeCode(TypeCodeEnum typeCode) { + this.typeCode = typeCode; + } + + + public AvailablePropertiesInner1AttractionListInner name(String name) { + + this.name = name; + return this; + } + + /** + * The name of the attraction. Names are proper nouns and therefore not affected by the given language code. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AvailablePropertiesInner1AttractionListInner distance(AvailablePropertiesInner1AttractionListInnerDistance distance) { + + this.distance = distance; + return this; + } + + /** + * Get distance + * @return distance + **/ + @javax.annotation.Nonnull + + public AvailablePropertiesInner1AttractionListInnerDistance getDistance() { + return distance; + } + + + public void setDistance(AvailablePropertiesInner1AttractionListInnerDistance distance) { + this.distance = distance; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailablePropertiesInner1AttractionListInner availablePropertiesInner1AttractionListInner = (AvailablePropertiesInner1AttractionListInner) o; + return Objects.equals(this.typeCode, availablePropertiesInner1AttractionListInner.typeCode) && + Objects.equals(this.name, availablePropertiesInner1AttractionListInner.name) && + Objects.equals(this.distance, availablePropertiesInner1AttractionListInner.distance); + } + + @Override + public int hashCode() { + return Objects.hash(typeCode, name, distance); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailablePropertiesInner1AttractionListInner {\n"); + sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" distance: ").append(toIndentedString(distance)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("typeCode"); + openapiFields.add("name"); + openapiFields.add("distance"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("typeCode"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("distance"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner1AttractionListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailablePropertiesInner1AttractionListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner1AttractionListInner is not found in the empty JSON string", AvailablePropertiesInner1AttractionListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailablePropertiesInner1AttractionListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner1AttractionListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner1AttractionListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // validate the required field `distance` + AvailablePropertiesInner1AttractionListInnerDistance.validateJsonObject(jsonObj.getAsJsonObject("distance")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailablePropertiesInner1AttractionListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner1AttractionListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner1AttractionListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailablePropertiesInner1AttractionListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailablePropertiesInner1AttractionListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailablePropertiesInner1AttractionListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailablePropertiesInner1AttractionListInner + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner1AttractionListInner + */ + public static AvailablePropertiesInner1AttractionListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner1AttractionListInner.class); + } + + /** + * Convert an instance of AvailablePropertiesInner1AttractionListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistance.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistance.java new file mode 100644 index 0000000..a8e47ea --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistance.java @@ -0,0 +1,291 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * The distance from the property to this attraction. Whether this is road or air distance is not clearly defined as the values are entered by the tenants admins. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner1AttractionListInnerDistance { + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + private BigDecimal value; + + /** + * The unit of the value of the distance. + */ + @JsonAdapter(UnitEnum.Adapter.class) + public enum UnitEnum { + M("m"), + + FT("ft"); + + private String value; + + UnitEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static UnitEnum fromValue(String value) { + for (UnitEnum b : UnitEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final UnitEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public UnitEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return UnitEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_UNIT = "unit"; + @SerializedName(SERIALIZED_NAME_UNIT) + private UnitEnum unit; + + public AvailablePropertiesInner1AttractionListInnerDistance() { + } + + public AvailablePropertiesInner1AttractionListInnerDistance value(BigDecimal value) { + + this.value = value; + return this; + } + + /** + * The numeric value of the distance. + * @return value + **/ + @javax.annotation.Nonnull + + public BigDecimal getValue() { + return value; + } + + + public void setValue(BigDecimal value) { + this.value = value; + } + + + public AvailablePropertiesInner1AttractionListInnerDistance unit(UnitEnum unit) { + + this.unit = unit; + return this; + } + + /** + * The unit of the value of the distance. + * @return unit + **/ + @javax.annotation.Nonnull + + public UnitEnum getUnit() { + return unit; + } + + + public void setUnit(UnitEnum unit) { + this.unit = unit; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailablePropertiesInner1AttractionListInnerDistance availablePropertiesInner1AttractionListInnerDistance = (AvailablePropertiesInner1AttractionListInnerDistance) o; + return Objects.equals(this.value, availablePropertiesInner1AttractionListInnerDistance.value) && + Objects.equals(this.unit, availablePropertiesInner1AttractionListInnerDistance.unit); + } + + @Override + public int hashCode() { + return Objects.hash(value, unit); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailablePropertiesInner1AttractionListInnerDistance {\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append(" unit: ").append(toIndentedString(unit)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("value"); + openapiFields.add("unit"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("value"); + openapiRequiredFields.add("unit"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner1AttractionListInnerDistance + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailablePropertiesInner1AttractionListInnerDistance.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner1AttractionListInnerDistance is not found in the empty JSON string", AvailablePropertiesInner1AttractionListInnerDistance.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailablePropertiesInner1AttractionListInnerDistance.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner1AttractionListInnerDistance` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner1AttractionListInnerDistance.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("unit").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `unit` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unit").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailablePropertiesInner1AttractionListInnerDistance.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner1AttractionListInnerDistance' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner1AttractionListInnerDistance.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailablePropertiesInner1AttractionListInnerDistance value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailablePropertiesInner1AttractionListInnerDistance read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailablePropertiesInner1AttractionListInnerDistance given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailablePropertiesInner1AttractionListInnerDistance + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner1AttractionListInnerDistance + */ + public static AvailablePropertiesInner1AttractionListInnerDistance fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner1AttractionListInnerDistance.class); + } + + /** + * Convert an instance of AvailablePropertiesInner1AttractionListInnerDistance to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/AvailablePropertiesInner1Geo.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner1Geo.java new file mode 100644 index 0000000..3db502b --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner1Geo.java @@ -0,0 +1,1007 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.AvailablePropertiesInner1GeoLocation; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * A geographical information set describing the location of this property.<br><br>See also <a href=\"#locationtypes\">in the appendix</a>. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner1Geo { + /** + * The language of the localizable fields ot this geographical information set.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageEnum.Adapter.class) + public enum LanguageEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageEnum fromValue(String value) { + for (LanguageEnum b : LanguageEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE = "language"; + @SerializedName(SERIALIZED_NAME_LANGUAGE) + private LanguageEnum language; + + public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; + @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) + private String formattedAddress; + + public static final String SERIALIZED_NAME_ROUTE = "route"; + @SerializedName(SERIALIZED_NAME_ROUTE) + private String route; + + public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; + @SerializedName(SERIALIZED_NAME_STREET_NUMBER) + private String streetNumber; + + public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; + @SerializedName(SERIALIZED_NAME_POSTAL_CODE) + private String postalCode; + + public static final String SERIALIZED_NAME_LOCALITY = "locality"; + @SerializedName(SERIALIZED_NAME_LOCALITY) + private String locality; + + public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; + @SerializedName(SERIALIZED_NAME_SUBLOCALITY) + private String sublocality; + + public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; + @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) + private String sublocalityLevel1; + + public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL2 = "sublocality_level_2"; + @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL2) + private String sublocalityLevel2; + + public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL3 = "sublocality_level_3"; + @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL3) + private String sublocalityLevel3; + + public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL4 = "sublocality_level_4"; + @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL4) + private String sublocalityLevel4; + + public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL5 = "sublocality_level_5"; + @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL5) + private String sublocalityLevel5; + + public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; + @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) + private String administrativeAreaLevel1; + + public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL2 = "administrative_area_level_2"; + @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL2) + private String administrativeAreaLevel2; + + public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; + @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) + private String administrativeAreaLevel3; + + public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL4 = "administrative_area_level_4"; + @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL4) + private String administrativeAreaLevel4; + + public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL5 = "administrative_area_level_5"; + @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL5) + private String administrativeAreaLevel5; + + public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; + @SerializedName(SERIALIZED_NAME_STATE_CODE) + private String stateCode; + + public static final String SERIALIZED_NAME_COUNTRY = "country"; + @SerializedName(SERIALIZED_NAME_COUNTRY) + private String country; + + public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; + @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) + private String countryCode; + + public static final String SERIALIZED_NAME_LOCATION = "location"; + @SerializedName(SERIALIZED_NAME_LOCATION) + private AvailablePropertiesInner1GeoLocation location; + + public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; + @SerializedName(SERIALIZED_NAME_PLACE_ID) + private String placeId; + + public AvailablePropertiesInner1Geo() { + } + + public AvailablePropertiesInner1Geo language(LanguageEnum language) { + + this.language = language; + return this; + } + + /** + * The language of the localizable fields ot this geographical information set.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return language + **/ + @javax.annotation.Nonnull + + public LanguageEnum getLanguage() { + return language; + } + + + public void setLanguage(LanguageEnum language) { + this.language = language; + } + + + public AvailablePropertiesInner1Geo formattedAddress(String formattedAddress) { + + this.formattedAddress = formattedAddress; + return this; + } + + /** + * The formatted address in the local format of the properties location. + * @return formattedAddress + **/ + @javax.annotation.Nonnull + + public String getFormattedAddress() { + return formattedAddress; + } + + + public void setFormattedAddress(String formattedAddress) { + this.formattedAddress = formattedAddress; + } + + + public AvailablePropertiesInner1Geo route(String route) { + + this.route = route; + return this; + } + + /** + * The name of the route or street. + * @return route + **/ + @javax.annotation.Nullable + + public String getRoute() { + return route; + } + + + public void setRoute(String route) { + this.route = route; + } + + + public AvailablePropertiesInner1Geo streetNumber(String streetNumber) { + + this.streetNumber = streetNumber; + return this; + } + + /** + * The number of the street. + * @return streetNumber + **/ + @javax.annotation.Nullable + + public String getStreetNumber() { + return streetNumber; + } + + + public void setStreetNumber(String streetNumber) { + this.streetNumber = streetNumber; + } + + + public AvailablePropertiesInner1Geo postalCode(String postalCode) { + + this.postalCode = postalCode; + return this; + } + + /** + * The postal code of the location. + * @return postalCode + **/ + @javax.annotation.Nullable + + public String getPostalCode() { + return postalCode; + } + + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + public AvailablePropertiesInner1Geo locality(String locality) { + + this.locality = locality; + return this; + } + + /** + * A city or town. + * @return locality + **/ + @javax.annotation.Nullable + + public String getLocality() { + return locality; + } + + + public void setLocality(String locality) { + this.locality = locality; + } + + + public AvailablePropertiesInner1Geo sublocality(String sublocality) { + + this.sublocality = sublocality; + return this; + } + + /** + * A smaller area within a locality. + * @return sublocality + **/ + @javax.annotation.Nullable + + public String getSublocality() { + return sublocality; + } + + + public void setSublocality(String sublocality) { + this.sublocality = sublocality; + } + + + public AvailablePropertiesInner1Geo sublocalityLevel1(String sublocalityLevel1) { + + this.sublocalityLevel1 = sublocalityLevel1; + return this; + } + + /** + * A smaller area within a locality at level 1. + * @return sublocalityLevel1 + **/ + @javax.annotation.Nullable + + public String getSublocalityLevel1() { + return sublocalityLevel1; + } + + + public void setSublocalityLevel1(String sublocalityLevel1) { + this.sublocalityLevel1 = sublocalityLevel1; + } + + + public AvailablePropertiesInner1Geo sublocalityLevel2(String sublocalityLevel2) { + + this.sublocalityLevel2 = sublocalityLevel2; + return this; + } + + /** + * A smaller area within a locality at level 2. + * @return sublocalityLevel2 + **/ + @javax.annotation.Nullable + + public String getSublocalityLevel2() { + return sublocalityLevel2; + } + + + public void setSublocalityLevel2(String sublocalityLevel2) { + this.sublocalityLevel2 = sublocalityLevel2; + } + + + public AvailablePropertiesInner1Geo sublocalityLevel3(String sublocalityLevel3) { + + this.sublocalityLevel3 = sublocalityLevel3; + return this; + } + + /** + * A smaller area within a locality at level 3. + * @return sublocalityLevel3 + **/ + @javax.annotation.Nullable + + public String getSublocalityLevel3() { + return sublocalityLevel3; + } + + + public void setSublocalityLevel3(String sublocalityLevel3) { + this.sublocalityLevel3 = sublocalityLevel3; + } + + + public AvailablePropertiesInner1Geo sublocalityLevel4(String sublocalityLevel4) { + + this.sublocalityLevel4 = sublocalityLevel4; + return this; + } + + /** + * A smaller area within a locality at level 4. + * @return sublocalityLevel4 + **/ + @javax.annotation.Nullable + + public String getSublocalityLevel4() { + return sublocalityLevel4; + } + + + public void setSublocalityLevel4(String sublocalityLevel4) { + this.sublocalityLevel4 = sublocalityLevel4; + } + + + public AvailablePropertiesInner1Geo sublocalityLevel5(String sublocalityLevel5) { + + this.sublocalityLevel5 = sublocalityLevel5; + return this; + } + + /** + * A smaller area within a locality at level 5. + * @return sublocalityLevel5 + **/ + @javax.annotation.Nullable + + public String getSublocalityLevel5() { + return sublocalityLevel5; + } + + + public void setSublocalityLevel5(String sublocalityLevel5) { + this.sublocalityLevel5 = sublocalityLevel5; + } + + + public AvailablePropertiesInner1Geo administrativeAreaLevel1(String administrativeAreaLevel1) { + + this.administrativeAreaLevel1 = administrativeAreaLevel1; + return this; + } + + /** + * A level 1 administrative area, such as a state or province. + * @return administrativeAreaLevel1 + **/ + @javax.annotation.Nullable + + public String getAdministrativeAreaLevel1() { + return administrativeAreaLevel1; + } + + + public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { + this.administrativeAreaLevel1 = administrativeAreaLevel1; + } + + + public AvailablePropertiesInner1Geo administrativeAreaLevel2(String administrativeAreaLevel2) { + + this.administrativeAreaLevel2 = administrativeAreaLevel2; + return this; + } + + /** + * A level 2 administrative area. + * @return administrativeAreaLevel2 + **/ + @javax.annotation.Nullable + + public String getAdministrativeAreaLevel2() { + return administrativeAreaLevel2; + } + + + public void setAdministrativeAreaLevel2(String administrativeAreaLevel2) { + this.administrativeAreaLevel2 = administrativeAreaLevel2; + } + + + public AvailablePropertiesInner1Geo administrativeAreaLevel3(String administrativeAreaLevel3) { + + this.administrativeAreaLevel3 = administrativeAreaLevel3; + return this; + } + + /** + * A level 3 administrative area + * @return administrativeAreaLevel3 + **/ + @javax.annotation.Nullable + + public String getAdministrativeAreaLevel3() { + return administrativeAreaLevel3; + } + + + public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { + this.administrativeAreaLevel3 = administrativeAreaLevel3; + } + + + public AvailablePropertiesInner1Geo administrativeAreaLevel4(String administrativeAreaLevel4) { + + this.administrativeAreaLevel4 = administrativeAreaLevel4; + return this; + } + + /** + * A level 4 administrative area. + * @return administrativeAreaLevel4 + **/ + @javax.annotation.Nullable + + public String getAdministrativeAreaLevel4() { + return administrativeAreaLevel4; + } + + + public void setAdministrativeAreaLevel4(String administrativeAreaLevel4) { + this.administrativeAreaLevel4 = administrativeAreaLevel4; + } + + + public AvailablePropertiesInner1Geo administrativeAreaLevel5(String administrativeAreaLevel5) { + + this.administrativeAreaLevel5 = administrativeAreaLevel5; + return this; + } + + /** + * A level 5 administrative area + * @return administrativeAreaLevel5 + **/ + @javax.annotation.Nullable + + public String getAdministrativeAreaLevel5() { + return administrativeAreaLevel5; + } + + + public void setAdministrativeAreaLevel5(String administrativeAreaLevel5) { + this.administrativeAreaLevel5 = administrativeAreaLevel5; + } + + + public AvailablePropertiesInner1Geo stateCode(String stateCode) { + + this.stateCode = stateCode; + return this; + } + + /** + * The state or province code for the administrative area. + * @return stateCode + **/ + @javax.annotation.Nullable + + public String getStateCode() { + return stateCode; + } + + + public void setStateCode(String stateCode) { + this.stateCode = stateCode; + } + + + public AvailablePropertiesInner1Geo country(String country) { + + this.country = country; + return this; + } + + /** + * The country of this geographical information set. + * @return country + **/ + @javax.annotation.Nullable + + public String getCountry() { + return country; + } + + + public void setCountry(String country) { + this.country = country; + } + + + public AvailablePropertiesInner1Geo countryCode(String countryCode) { + + this.countryCode = countryCode; + return this; + } + + /** + * The country code for the country. + * @return countryCode + **/ + @javax.annotation.Nullable + + public String getCountryCode() { + return countryCode; + } + + + public void setCountryCode(String countryCode) { + this.countryCode = countryCode; + } + + + public AvailablePropertiesInner1Geo location(AvailablePropertiesInner1GeoLocation location) { + + this.location = location; + return this; + } + + /** + * Get location + * @return location + **/ + @javax.annotation.Nonnull + + public AvailablePropertiesInner1GeoLocation getLocation() { + return location; + } + + + public void setLocation(AvailablePropertiesInner1GeoLocation location) { + this.location = location; + } + + + public AvailablePropertiesInner1Geo placeId(String placeId) { + + this.placeId = placeId; + return this; + } + + /** + * Uniquely identifies a place in our database. + * @return placeId + **/ + @javax.annotation.Nonnull + + public String getPlaceId() { + return placeId; + } + + + public void setPlaceId(String placeId) { + this.placeId = placeId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailablePropertiesInner1Geo availablePropertiesInner1Geo = (AvailablePropertiesInner1Geo) o; + return Objects.equals(this.language, availablePropertiesInner1Geo.language) && + Objects.equals(this.formattedAddress, availablePropertiesInner1Geo.formattedAddress) && + Objects.equals(this.route, availablePropertiesInner1Geo.route) && + Objects.equals(this.streetNumber, availablePropertiesInner1Geo.streetNumber) && + Objects.equals(this.postalCode, availablePropertiesInner1Geo.postalCode) && + Objects.equals(this.locality, availablePropertiesInner1Geo.locality) && + Objects.equals(this.sublocality, availablePropertiesInner1Geo.sublocality) && + Objects.equals(this.sublocalityLevel1, availablePropertiesInner1Geo.sublocalityLevel1) && + Objects.equals(this.sublocalityLevel2, availablePropertiesInner1Geo.sublocalityLevel2) && + Objects.equals(this.sublocalityLevel3, availablePropertiesInner1Geo.sublocalityLevel3) && + Objects.equals(this.sublocalityLevel4, availablePropertiesInner1Geo.sublocalityLevel4) && + Objects.equals(this.sublocalityLevel5, availablePropertiesInner1Geo.sublocalityLevel5) && + Objects.equals(this.administrativeAreaLevel1, availablePropertiesInner1Geo.administrativeAreaLevel1) && + Objects.equals(this.administrativeAreaLevel2, availablePropertiesInner1Geo.administrativeAreaLevel2) && + Objects.equals(this.administrativeAreaLevel3, availablePropertiesInner1Geo.administrativeAreaLevel3) && + Objects.equals(this.administrativeAreaLevel4, availablePropertiesInner1Geo.administrativeAreaLevel4) && + Objects.equals(this.administrativeAreaLevel5, availablePropertiesInner1Geo.administrativeAreaLevel5) && + Objects.equals(this.stateCode, availablePropertiesInner1Geo.stateCode) && + Objects.equals(this.country, availablePropertiesInner1Geo.country) && + Objects.equals(this.countryCode, availablePropertiesInner1Geo.countryCode) && + Objects.equals(this.location, availablePropertiesInner1Geo.location) && + Objects.equals(this.placeId, availablePropertiesInner1Geo.placeId); + } + + @Override + public int hashCode() { + return Objects.hash(language, formattedAddress, route, streetNumber, postalCode, locality, sublocality, sublocalityLevel1, sublocalityLevel2, sublocalityLevel3, sublocalityLevel4, sublocalityLevel5, administrativeAreaLevel1, administrativeAreaLevel2, administrativeAreaLevel3, administrativeAreaLevel4, administrativeAreaLevel5, stateCode, country, countryCode, location, placeId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailablePropertiesInner1Geo {\n"); + sb.append(" language: ").append(toIndentedString(language)).append("\n"); + sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); + sb.append(" route: ").append(toIndentedString(route)).append("\n"); + sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); + sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); + sb.append(" sublocalityLevel2: ").append(toIndentedString(sublocalityLevel2)).append("\n"); + sb.append(" sublocalityLevel3: ").append(toIndentedString(sublocalityLevel3)).append("\n"); + sb.append(" sublocalityLevel4: ").append(toIndentedString(sublocalityLevel4)).append("\n"); + sb.append(" sublocalityLevel5: ").append(toIndentedString(sublocalityLevel5)).append("\n"); + sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); + sb.append(" administrativeAreaLevel2: ").append(toIndentedString(administrativeAreaLevel2)).append("\n"); + sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); + sb.append(" administrativeAreaLevel4: ").append(toIndentedString(administrativeAreaLevel4)).append("\n"); + sb.append(" administrativeAreaLevel5: ").append(toIndentedString(administrativeAreaLevel5)).append("\n"); + sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); + sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("language"); + openapiFields.add("formatted_address"); + openapiFields.add("route"); + openapiFields.add("street_number"); + openapiFields.add("postal_code"); + openapiFields.add("locality"); + openapiFields.add("sublocality"); + openapiFields.add("sublocality_level_1"); + openapiFields.add("sublocality_level_2"); + openapiFields.add("sublocality_level_3"); + openapiFields.add("sublocality_level_4"); + openapiFields.add("sublocality_level_5"); + openapiFields.add("administrative_area_level_1"); + openapiFields.add("administrative_area_level_2"); + openapiFields.add("administrative_area_level_3"); + openapiFields.add("administrative_area_level_4"); + openapiFields.add("administrative_area_level_5"); + openapiFields.add("state_code"); + openapiFields.add("country"); + openapiFields.add("country_code"); + openapiFields.add("location"); + openapiFields.add("place_id"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("language"); + openapiRequiredFields.add("formatted_address"); + openapiRequiredFields.add("location"); + openapiRequiredFields.add("place_id"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner1Geo + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailablePropertiesInner1Geo.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner1Geo is not found in the empty JSON string", AvailablePropertiesInner1Geo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailablePropertiesInner1Geo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner1Geo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner1Geo.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("language").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); + } + if (!jsonObj.get("formatted_address").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); + } + if ((jsonObj.get("route") != null && !jsonObj.get("route").isJsonNull()) && !jsonObj.get("route").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); + } + if ((jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonNull()) && !jsonObj.get("street_number").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); + } + if ((jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonNull()) && !jsonObj.get("postal_code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); + } + if ((jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonNull()) && !jsonObj.get("locality").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); + } + if ((jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonNull()) && !jsonObj.get("sublocality").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); + } + if ((jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonNull()) && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); + } + if ((jsonObj.get("sublocality_level_2") != null && !jsonObj.get("sublocality_level_2").isJsonNull()) && !jsonObj.get("sublocality_level_2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_2").toString())); + } + if ((jsonObj.get("sublocality_level_3") != null && !jsonObj.get("sublocality_level_3").isJsonNull()) && !jsonObj.get("sublocality_level_3").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_3").toString())); + } + if ((jsonObj.get("sublocality_level_4") != null && !jsonObj.get("sublocality_level_4").isJsonNull()) && !jsonObj.get("sublocality_level_4").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_4` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_4").toString())); + } + if ((jsonObj.get("sublocality_level_5") != null && !jsonObj.get("sublocality_level_5").isJsonNull()) && !jsonObj.get("sublocality_level_5").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_5` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_5").toString())); + } + if ((jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonNull()) && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); + } + if ((jsonObj.get("administrative_area_level_2") != null && !jsonObj.get("administrative_area_level_2").isJsonNull()) && !jsonObj.get("administrative_area_level_2").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_2").toString())); + } + if ((jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonNull()) && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); + } + if ((jsonObj.get("administrative_area_level_4") != null && !jsonObj.get("administrative_area_level_4").isJsonNull()) && !jsonObj.get("administrative_area_level_4").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_4` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_4").toString())); + } + if ((jsonObj.get("administrative_area_level_5") != null && !jsonObj.get("administrative_area_level_5").isJsonNull()) && !jsonObj.get("administrative_area_level_5").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_5` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_5").toString())); + } + if ((jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonNull()) && !jsonObj.get("state_code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); + } + if ((jsonObj.get("country") != null && !jsonObj.get("country").isJsonNull()) && !jsonObj.get("country").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); + } + if ((jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonNull()) && !jsonObj.get("country_code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); + } + // validate the required field `location` + AvailablePropertiesInner1GeoLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); + if (!jsonObj.get("place_id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailablePropertiesInner1Geo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner1Geo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner1Geo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailablePropertiesInner1Geo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailablePropertiesInner1Geo read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailablePropertiesInner1Geo given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailablePropertiesInner1Geo + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner1Geo + */ + public static AvailablePropertiesInner1Geo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner1Geo.class); + } + + /** + * Convert an instance of AvailablePropertiesInner1Geo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner1GeoLocation.java similarity index 59% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java rename to src/main/java/com/lodgea/model/AvailablePropertiesInner1GeoLocation.java index 080fec5..512a8da 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner1GeoLocation.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; @@ -39,6 +37,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -46,64 +45,62 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponsePropertyGeoDeLocation + * AvailablePropertiesInner1GeoLocation */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoDeLocation { - public static final String SERIALIZED_NAME_LAT = "lat"; - @SerializedName(SERIALIZED_NAME_LAT) - private BigDecimal lat; - +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner1GeoLocation { public static final String SERIALIZED_NAME_LNG = "lng"; @SerializedName(SERIALIZED_NAME_LNG) private BigDecimal lng; - public V1PropertyGetPost200ResponsePropertyGeoDeLocation() { + public static final String SERIALIZED_NAME_LAT = "lat"; + @SerializedName(SERIALIZED_NAME_LAT) + private BigDecimal lat; + + public AvailablePropertiesInner1GeoLocation() { } - public V1PropertyGetPost200ResponsePropertyGeoDeLocation lat(BigDecimal lat) { + public AvailablePropertiesInner1GeoLocation lng(BigDecimal lng) { - this.lat = lat; + this.lng = lng; return this; } /** - * Get lat - * @return lat + * The longitude coordinate of the location. + * @return lng **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54.9157118", value = "") + @javax.annotation.Nonnull - public BigDecimal getLat() { - return lat; + public BigDecimal getLng() { + return lng; } - public void setLat(BigDecimal lat) { - this.lat = lat; + public void setLng(BigDecimal lng) { + this.lng = lng; } - public V1PropertyGetPost200ResponsePropertyGeoDeLocation lng(BigDecimal lng) { + public AvailablePropertiesInner1GeoLocation lat(BigDecimal lat) { - this.lng = lng; + this.lat = lat; return this; } /** - * Get lng - * @return lng + * The location of the property as coordinates + * @return lat **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "8.304857", value = "") + @javax.annotation.Nonnull - public BigDecimal getLng() { - return lng; + public BigDecimal getLat() { + return lat; } - public void setLng(BigDecimal lng) { - this.lng = lng; + public void setLat(BigDecimal lat) { + this.lat = lat; } @@ -116,22 +113,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponsePropertyGeoDeLocation v1PropertyGetPost200ResponsePropertyGeoDeLocation = (V1PropertyGetPost200ResponsePropertyGeoDeLocation) o; - return Objects.equals(this.lat, v1PropertyGetPost200ResponsePropertyGeoDeLocation.lat) && - Objects.equals(this.lng, v1PropertyGetPost200ResponsePropertyGeoDeLocation.lng); + AvailablePropertiesInner1GeoLocation availablePropertiesInner1GeoLocation = (AvailablePropertiesInner1GeoLocation) o; + return Objects.equals(this.lng, availablePropertiesInner1GeoLocation.lng) && + Objects.equals(this.lat, availablePropertiesInner1GeoLocation.lat); } @Override public int hashCode() { - return Objects.hash(lat, lng); + return Objects.hash(lng, lat); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoDeLocation {\n"); - sb.append(" lat: ").append(toIndentedString(lat)).append("\n"); + sb.append("class AvailablePropertiesInner1GeoLocation {\n"); sb.append(" lng: ").append(toIndentedString(lng)).append("\n"); + sb.append(" lat: ").append(toIndentedString(lat)).append("\n"); sb.append("}"); return sb.toString(); } @@ -154,33 +151,40 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("lat"); openapiFields.add("lng"); + openapiFields.add("lat"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("lng"); + openapiRequiredFields.add("lat"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDeLocation + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner1GeoLocation */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoDeLocation.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoDeLocation is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoDeLocation.openapiRequiredFields.toString())); + if (!AvailablePropertiesInner1GeoLocation.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner1GeoLocation is not found in the empty JSON string", AvailablePropertiesInner1GeoLocation.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoDeLocation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoDeLocation` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!AvailablePropertiesInner1GeoLocation.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner1GeoLocation` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner1GeoLocation.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } } @@ -189,22 +193,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoDeLocation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoDeLocation' and its subtypes + if (!AvailablePropertiesInner1GeoLocation.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner1GeoLocation' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoDeLocation.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner1GeoLocation.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoDeLocation value) throws IOException { + public void write(JsonWriter out, AvailablePropertiesInner1GeoLocation value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponsePropertyGeoDeLocation read(JsonReader in) throws IOException { + public AvailablePropertiesInner1GeoLocation read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -215,18 +219,18 @@ public V1PropertyGetPost200ResponsePropertyGeoDeLocation read(JsonReader in) thr } /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoDeLocation given an JSON string + * Create an instance of AvailablePropertiesInner1GeoLocation given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoDeLocation - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDeLocation + * @return An instance of AvailablePropertiesInner1GeoLocation + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner1GeoLocation */ - public static V1PropertyGetPost200ResponsePropertyGeoDeLocation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoDeLocation.class); + public static AvailablePropertiesInner1GeoLocation fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner1GeoLocation.class); } /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoDeLocation to an JSON string + * Convert an instance of AvailablePropertiesInner1GeoLocation to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/AvailablePropertiesInner1LowestPrice.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner1LowestPrice.java new file mode 100644 index 0000000..71bb003 --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner1LowestPrice.java @@ -0,0 +1,477 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * An object outlining the stay with the lowest available price point for this property. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner1LowestPrice { + public static final String SERIALIZED_NAME_AMOUNT = "amount"; + @SerializedName(SERIALIZED_NAME_AMOUNT) + private BigDecimal amount; + + /** + * The currency code for the given amount.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + public static final String SERIALIZED_NAME_ARRIVAL_DATE = "arrivalDate"; + @SerializedName(SERIALIZED_NAME_ARRIVAL_DATE) + private BigDecimal arrivalDate; + + public static final String SERIALIZED_NAME_RETURN_DATE = "returnDate"; + @SerializedName(SERIALIZED_NAME_RETURN_DATE) + private BigDecimal returnDate; + + public static final String SERIALIZED_NAME_LENGTH_OF_STAY = "lengthOfStay"; + @SerializedName(SERIALIZED_NAME_LENGTH_OF_STAY) + private BigDecimal lengthOfStay; + + public AvailablePropertiesInner1LowestPrice() { + } + + public AvailablePropertiesInner1LowestPrice amount(BigDecimal amount) { + + this.amount = amount; + return this; + } + + /** + * The amount of the lowest price. + * @return amount + **/ + @javax.annotation.Nonnull + + public BigDecimal getAmount() { + return amount; + } + + + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + + + public AvailablePropertiesInner1LowestPrice currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency code for the given amount.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public AvailablePropertiesInner1LowestPrice arrivalDate(BigDecimal arrivalDate) { + + this.arrivalDate = arrivalDate; + return this; + } + + /** + * Arrival date for the given price as unix timestamp (seconds). + * @return arrivalDate + **/ + @javax.annotation.Nonnull + + public BigDecimal getArrivalDate() { + return arrivalDate; + } + + + public void setArrivalDate(BigDecimal arrivalDate) { + this.arrivalDate = arrivalDate; + } + + + public AvailablePropertiesInner1LowestPrice returnDate(BigDecimal returnDate) { + + this.returnDate = returnDate; + return this; + } + + /** + * Departure date for the given price as unix timestamp (seconds). + * @return returnDate + **/ + @javax.annotation.Nonnull + + public BigDecimal getReturnDate() { + return returnDate; + } + + + public void setReturnDate(BigDecimal returnDate) { + this.returnDate = returnDate; + } + + + public AvailablePropertiesInner1LowestPrice lengthOfStay(BigDecimal lengthOfStay) { + + this.lengthOfStay = lengthOfStay; + return this; + } + + /** + * The amount of nights of stay this price is for + * @return lengthOfStay + **/ + @javax.annotation.Nonnull + + public BigDecimal getLengthOfStay() { + return lengthOfStay; + } + + + public void setLengthOfStay(BigDecimal lengthOfStay) { + this.lengthOfStay = lengthOfStay; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailablePropertiesInner1LowestPrice availablePropertiesInner1LowestPrice = (AvailablePropertiesInner1LowestPrice) o; + return Objects.equals(this.amount, availablePropertiesInner1LowestPrice.amount) && + Objects.equals(this.currencyCode, availablePropertiesInner1LowestPrice.currencyCode) && + Objects.equals(this.arrivalDate, availablePropertiesInner1LowestPrice.arrivalDate) && + Objects.equals(this.returnDate, availablePropertiesInner1LowestPrice.returnDate) && + Objects.equals(this.lengthOfStay, availablePropertiesInner1LowestPrice.lengthOfStay); + } + + @Override + public int hashCode() { + return Objects.hash(amount, currencyCode, arrivalDate, returnDate, lengthOfStay); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailablePropertiesInner1LowestPrice {\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" arrivalDate: ").append(toIndentedString(arrivalDate)).append("\n"); + sb.append(" returnDate: ").append(toIndentedString(returnDate)).append("\n"); + sb.append(" lengthOfStay: ").append(toIndentedString(lengthOfStay)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("amount"); + openapiFields.add("currencyCode"); + openapiFields.add("arrivalDate"); + openapiFields.add("returnDate"); + openapiFields.add("lengthOfStay"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("amount"); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("arrivalDate"); + openapiRequiredFields.add("returnDate"); + openapiRequiredFields.add("lengthOfStay"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner1LowestPrice + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailablePropertiesInner1LowestPrice.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner1LowestPrice is not found in the empty JSON string", AvailablePropertiesInner1LowestPrice.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailablePropertiesInner1LowestPrice.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner1LowestPrice` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner1LowestPrice.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailablePropertiesInner1LowestPrice.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner1LowestPrice' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner1LowestPrice.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailablePropertiesInner1LowestPrice value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailablePropertiesInner1LowestPrice read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailablePropertiesInner1LowestPrice given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailablePropertiesInner1LowestPrice + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner1LowestPrice + */ + public static AvailablePropertiesInner1LowestPrice fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner1LowestPrice.class); + } + + /** + * Convert an instance of AvailablePropertiesInner1LowestPrice to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/AvailablePropertiesInner1MediaListInner.java b/src/main/java/com/lodgea/model/AvailablePropertiesInner1MediaListInner.java new file mode 100644 index 0000000..58f98bb --- /dev/null +++ b/src/main/java/com/lodgea/model/AvailablePropertiesInner1MediaListInner.java @@ -0,0 +1,626 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * AvailablePropertiesInner1MediaListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class AvailablePropertiesInner1MediaListInner { + /** + * Gets or Sets tagList + */ + @JsonAdapter(TagListEnum.Adapter.class) + public enum TagListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_284(new BigDecimal("284")), + + NUMBER_285(new BigDecimal("285")), + + NUMBER_286(new BigDecimal("286")), + + NUMBER_287(new BigDecimal("287")), + + NUMBER_289(new BigDecimal("289")), + + NUMBER_290(new BigDecimal("290")), + + NUMBER_291(new BigDecimal("291")); + + private BigDecimal value; + + TagListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TagListEnum fromValue(BigDecimal value) { + for (TagListEnum b : TagListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TagListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TagListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TagListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_TAG_LIST = "tagList"; + @SerializedName(SERIALIZED_NAME_TAG_LIST) + private List tagList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; + @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) + private Boolean isMainImage; + + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; + @SerializedName(SERIALIZED_NAME_SORT_ORDER) + private BigDecimal sortOrder; + + public AvailablePropertiesInner1MediaListInner() { + } + + public AvailablePropertiesInner1MediaListInner tagList(List tagList) { + + this.tagList = tagList; + return this; + } + + public AvailablePropertiesInner1MediaListInner addTagListItem(TagListEnum tagListItem) { + this.tagList.add(tagListItem); + return this; + } + + /** + * A list of tag codes for the media.<p>See also <a href=\"#imagetype-codes\">in the appendix</a>.</p> + * @return tagList + **/ + @javax.annotation.Nonnull + + public List getTagList() { + return tagList; + } + + + public void setTagList(List tagList) { + this.tagList = tagList; + } + + + public AvailablePropertiesInner1MediaListInner isMainImage(Boolean isMainImage) { + + this.isMainImage = isMainImage; + return this; + } + + /** + * Whether the media is the main image for the property. + * @return isMainImage + **/ + @javax.annotation.Nonnull + + public Boolean getIsMainImage() { + return isMainImage; + } + + + public void setIsMainImage(Boolean isMainImage) { + this.isMainImage = isMainImage; + } + + + public AvailablePropertiesInner1MediaListInner url(String url) { + + this.url = url; + return this; + } + + /** + * The URL for the media. + * @return url + **/ + @javax.annotation.Nonnull + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public AvailablePropertiesInner1MediaListInner sortOrder(BigDecimal sortOrder) { + + this.sortOrder = sortOrder; + return this; + } + + /** + * The sort order for the media. + * @return sortOrder + **/ + @javax.annotation.Nonnull + + public BigDecimal getSortOrder() { + return sortOrder; + } + + + public void setSortOrder(BigDecimal sortOrder) { + this.sortOrder = sortOrder; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AvailablePropertiesInner1MediaListInner availablePropertiesInner1MediaListInner = (AvailablePropertiesInner1MediaListInner) o; + return Objects.equals(this.tagList, availablePropertiesInner1MediaListInner.tagList) && + Objects.equals(this.isMainImage, availablePropertiesInner1MediaListInner.isMainImage) && + Objects.equals(this.url, availablePropertiesInner1MediaListInner.url) && + Objects.equals(this.sortOrder, availablePropertiesInner1MediaListInner.sortOrder); + } + + @Override + public int hashCode() { + return Objects.hash(tagList, isMainImage, url, sortOrder); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AvailablePropertiesInner1MediaListInner {\n"); + sb.append(" tagList: ").append(toIndentedString(tagList)).append("\n"); + sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("tagList"); + openapiFields.add("isMainImage"); + openapiFields.add("url"); + openapiFields.add("sortOrder"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("tagList"); + openapiRequiredFields.add("isMainImage"); + openapiRequiredFields.add("url"); + openapiRequiredFields.add("sortOrder"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AvailablePropertiesInner1MediaListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AvailablePropertiesInner1MediaListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AvailablePropertiesInner1MediaListInner is not found in the empty JSON string", AvailablePropertiesInner1MediaListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AvailablePropertiesInner1MediaListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailablePropertiesInner1MediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AvailablePropertiesInner1MediaListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("tagList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("tagList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tagList` to be an array in the JSON string but got `%s`", jsonObj.get("tagList").toString())); + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AvailablePropertiesInner1MediaListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AvailablePropertiesInner1MediaListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AvailablePropertiesInner1MediaListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AvailablePropertiesInner1MediaListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AvailablePropertiesInner1MediaListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AvailablePropertiesInner1MediaListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of AvailablePropertiesInner1MediaListInner + * @throws IOException if the JSON string is invalid with respect to AvailablePropertiesInner1MediaListInner + */ + public static AvailablePropertiesInner1MediaListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AvailablePropertiesInner1MediaListInner.class); + } + + /** + * Convert an instance of AvailablePropertiesInner1MediaListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/LocationSearch.java b/src/main/java/com/lodgea/model/LocationSearch.java deleted file mode 100644 index 15c4d43..0000000 --- a/src/main/java/com/lodgea/model/LocationSearch.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * LocationSearch - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class LocationSearch { - public static final String SERIALIZED_NAME_SEARCH_TEXT = "searchText"; - @SerializedName(SERIALIZED_NAME_SEARCH_TEXT) - private String searchText; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public LocationSearch() { - } - - public LocationSearch searchText(String searchText) { - - this.searchText = searchText; - return this; - } - - /** - * Get searchText - * @return searchText - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Hotel Stadt Hamburg", value = "") - - public String getSearchText() { - return searchText; - } - - - public void setSearchText(String searchText) { - this.searchText = searchText; - } - - - public LocationSearch currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public LocationSearch languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LocationSearch locationSearch = (LocationSearch) o; - return Objects.equals(this.searchText, locationSearch.searchText) && - Objects.equals(this.currencyCode, locationSearch.currencyCode) && - Objects.equals(this.languageCode, locationSearch.languageCode); - } - - @Override - public int hashCode() { - return Objects.hash(searchText, currencyCode, languageCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LocationSearch {\n"); - sb.append(" searchText: ").append(toIndentedString(searchText)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("searchText"); - openapiFields.add("currencyCode"); - openapiFields.add("languageCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LocationSearch - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (LocationSearch.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in LocationSearch is not found in the empty JSON string", LocationSearch.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!LocationSearch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LocationSearch` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("searchText") != null && !jsonObj.get("searchText").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `searchText` to be a primitive type in the JSON string but got `%s`", jsonObj.get("searchText").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!LocationSearch.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LocationSearch' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LocationSearch.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, LocationSearch value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public LocationSearch read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of LocationSearch given an JSON string - * - * @param jsonString JSON string - * @return An instance of LocationSearch - * @throws IOException if the JSON string is invalid with respect to LocationSearch - */ - public static LocationSearch fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LocationSearch.class); - } - - /** - * Convert an instance of LocationSearch to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/LocationSearchPost200Response.java b/src/main/java/com/lodgea/model/LocationSearchPost200Response.java new file mode 100644 index 0000000..2d9a274 --- /dev/null +++ b/src/main/java/com/lodgea/model/LocationSearchPost200Response.java @@ -0,0 +1,380 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.AvailablePropertiesInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * LocationSearchPost200Response + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class LocationSearchPost200Response { + /** + * The language code of the language in which the descriptive texts for each found location are returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageCodeEnum.Adapter.class) + public enum LanguageCodeEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageCodeEnum fromValue(String value) { + for (LanguageCodeEnum b : LanguageCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) + private LanguageCodeEnum languageCode; + + public static final String SERIALIZED_NAME_LIST = "list"; + @SerializedName(SERIALIZED_NAME_LIST) + private List _list = new ArrayList<>(); + + public LocationSearchPost200Response() { + } + + public LocationSearchPost200Response languageCode(LanguageCodeEnum languageCode) { + + this.languageCode = languageCode; + return this; + } + + /** + * The language code of the language in which the descriptive texts for each found location are returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return languageCode + **/ + @javax.annotation.Nonnull + + public LanguageCodeEnum getLanguageCode() { + return languageCode; + } + + + public void setLanguageCode(LanguageCodeEnum languageCode) { + this.languageCode = languageCode; + } + + + public LocationSearchPost200Response _list(List _list) { + + this._list = _list; + return this; + } + + public LocationSearchPost200Response addListItem(AvailablePropertiesInner _listItem) { + this._list.add(_listItem); + return this; + } + + /** + * A list of available properties matching the given criteria. + * @return _list + **/ + @javax.annotation.Nonnull + + public List getList() { + return _list; + } + + + public void setList(List _list) { + this._list = _list; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LocationSearchPost200Response locationSearchPost200Response = (LocationSearchPost200Response) o; + return Objects.equals(this.languageCode, locationSearchPost200Response.languageCode) && + Objects.equals(this._list, locationSearchPost200Response._list); + } + + @Override + public int hashCode() { + return Objects.hash(languageCode, _list); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LocationSearchPost200Response {\n"); + sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("languageCode"); + openapiFields.add("list"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("languageCode"); + openapiRequiredFields.add("list"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to LocationSearchPost200Response + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!LocationSearchPost200Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LocationSearchPost200Response is not found in the empty JSON string", LocationSearchPost200Response.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!LocationSearchPost200Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LocationSearchPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : LocationSearchPost200Response.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("languageCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("list").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); + } + + JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); + // validate the required field `list` (array) + for (int i = 0; i < jsonArray_list.size(); i++) { + AvailablePropertiesInner.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!LocationSearchPost200Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LocationSearchPost200Response' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LocationSearchPost200Response.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, LocationSearchPost200Response value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public LocationSearchPost200Response read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of LocationSearchPost200Response given an JSON string + * + * @param jsonString JSON string + * @return An instance of LocationSearchPost200Response + * @throws IOException if the JSON string is invalid with respect to LocationSearchPost200Response + */ + public static LocationSearchPost200Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LocationSearchPost200Response.class); + } + + /** + * Convert an instance of LocationSearchPost200Response to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/org/openapitools/client/model/LocationSearch.java b/src/main/java/com/lodgea/model/LocationSearchPost400Response.java similarity index 51% rename from src/main/java/org/openapitools/client/model/LocationSearch.java rename to src/main/java/com/lodgea/model/LocationSearchPost400Response.java index 8e30797..296a56f 100644 --- a/src/main/java/org/openapitools/client/model/LocationSearch.java +++ b/src/main/java/com/lodgea/model/LocationSearchPost400Response.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -11,7 +11,7 @@ */ -package org.openapitools.client.model; +package com.lodgea.model; import java.util.Objects; import java.util.Arrays; @@ -20,9 +20,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.LocationSearchPost400ResponseValidationErrorsInner; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -38,44 +39,49 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; -import org.openapitools.client.JSON; +import com.lodgea.JSON; /** - * LocationSearch + * LocationSearchPost400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class LocationSearch { - public static final String SERIALIZED_NAME_SEARCH_TEXT = "searchText"; - @SerializedName(SERIALIZED_NAME_SEARCH_TEXT) - private String searchText; +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class LocationSearchPost400Response { + public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors"; + @SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS) + private List validationErrors = new ArrayList<>(); - public LocationSearch() { + public LocationSearchPost400Response() { } - public LocationSearch searchText(String searchText) { + public LocationSearchPost400Response validationErrors(List validationErrors) { - this.searchText = searchText; + this.validationErrors = validationErrors; + return this; + } + + public LocationSearchPost400Response addValidationErrorsItem(LocationSearchPost400ResponseValidationErrorsInner validationErrorsItem) { + this.validationErrors.add(validationErrorsItem); return this; } /** - * Get searchText - * @return searchText + * Get validationErrors + * @return validationErrors **/ @javax.annotation.Nonnull - @ApiModelProperty(example = "Hotel Stadt Hamburg", required = true, value = "") - public String getSearchText() { - return searchText; + public List getValidationErrors() { + return validationErrors; } - public void setSearchText(String searchText) { - this.searchText = searchText; + public void setValidationErrors(List validationErrors) { + this.validationErrors = validationErrors; } @@ -88,20 +94,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - LocationSearch locationSearch = (LocationSearch) o; - return Objects.equals(this.searchText, locationSearch.searchText); + LocationSearchPost400Response locationSearchPost400Response = (LocationSearchPost400Response) o; + return Objects.equals(this.validationErrors, locationSearchPost400Response.validationErrors); } @Override public int hashCode() { - return Objects.hash(searchText); + return Objects.hash(validationErrors); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class LocationSearch {\n"); - sb.append(" searchText: ").append(toIndentedString(searchText)).append("\n"); + sb.append("class LocationSearchPost400Response {\n"); + sb.append(" validationErrors: ").append(toIndentedString(validationErrors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -124,67 +130,72 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("searchText"); + openapiFields.add("validationErrors"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("searchText"); + openapiRequiredFields.add("validationErrors"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LocationSearch + * @throws IOException if the JSON Object is invalid with respect to LocationSearchPost400Response */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (LocationSearch.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in LocationSearch is not found in the empty JSON string", LocationSearch.openapiRequiredFields.toString())); + if (!LocationSearchPost400Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LocationSearchPost400Response is not found in the empty JSON string", LocationSearchPost400Response.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!LocationSearch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LocationSearch` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!LocationSearchPost400Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LocationSearchPost400Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : LocationSearch.openapiRequiredFields) { + for (String requiredField : LocationSearchPost400Response.openapiRequiredFields) { if (jsonObj.get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (jsonObj.get("searchText") != null && !jsonObj.get("searchText").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `searchText` to be a primitive type in the JSON string but got `%s`", jsonObj.get("searchText").toString())); + // ensure the json data is an array + if (!jsonObj.get("validationErrors").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `validationErrors` to be an array in the JSON string but got `%s`", jsonObj.get("validationErrors").toString())); } + + JsonArray jsonArrayvalidationErrors = jsonObj.getAsJsonArray("validationErrors"); + // validate the required field `validationErrors` (array) + for (int i = 0; i < jsonArrayvalidationErrors.size(); i++) { + LocationSearchPost400ResponseValidationErrorsInner.validateJsonObject(jsonArrayvalidationErrors.get(i).getAsJsonObject()); + }; } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!LocationSearch.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LocationSearch' and its subtypes + if (!LocationSearchPost400Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LocationSearchPost400Response' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LocationSearch.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LocationSearchPost400Response.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, LocationSearch value) throws IOException { + public void write(JsonWriter out, LocationSearchPost400Response value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public LocationSearch read(JsonReader in) throws IOException { + public LocationSearchPost400Response read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -195,18 +206,18 @@ public LocationSearch read(JsonReader in) throws IOException { } /** - * Create an instance of LocationSearch given an JSON string + * Create an instance of LocationSearchPost400Response given an JSON string * * @param jsonString JSON string - * @return An instance of LocationSearch - * @throws IOException if the JSON string is invalid with respect to LocationSearch + * @return An instance of LocationSearchPost400Response + * @throws IOException if the JSON string is invalid with respect to LocationSearchPost400Response */ - public static LocationSearch fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LocationSearch.class); + public static LocationSearchPost400Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LocationSearchPost400Response.class); } /** - * Convert an instance of LocationSearch to an JSON string + * Convert an instance of LocationSearchPost400Response to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInner.java b/src/main/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInner.java new file mode 100644 index 0000000..cbf7b69 --- /dev/null +++ b/src/main/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInner.java @@ -0,0 +1,364 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * A Zod issue. More fields can be present depending on the issue type. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class LocationSearchPost400ResponseValidationErrorsInner { + /** + * The ZodIssueCode describing the issue. + */ + @JsonAdapter(CodeEnum.Adapter.class) + public enum CodeEnum { + INVALID_TYPE("invalid_type"), + + INVALID_LITERAL("invalid_literal"), + + CUSTOM("custom"), + + INVALID_UNION("invalid_union"), + + INVALID_UNION_DISCRIMINATOR("invalid_union_discriminator"), + + INVALID_ENUM_VALUE("invalid_enum_value"), + + UNRECOGNIZED_KEYS("unrecognized_keys"), + + INVALID_ARGUMENTS("invalid_arguments"), + + INVALID_RETURN_TYPE("invalid_return_type"), + + INVALID_DATE("invalid_date"), + + INVALID_STRING("invalid_string"), + + TOO_SMALL("too_small"), + + TOO_BIG("too_big"), + + INVALID_INTERSECTION_TYPES("invalid_intersection_types"), + + NOT_MULTIPLE_OF("not_multiple_of"), + + NOT_FINITE("not_finite"); + + private String value; + + CodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CodeEnum fromValue(String value) { + for (CodeEnum b : CodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private CodeEnum code; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_PATH = "path"; + @SerializedName(SERIALIZED_NAME_PATH) + private List path = new ArrayList<>(); + + public LocationSearchPost400ResponseValidationErrorsInner() { + } + + public LocationSearchPost400ResponseValidationErrorsInner code(CodeEnum code) { + + this.code = code; + return this; + } + + /** + * The ZodIssueCode describing the issue. + * @return code + **/ + @javax.annotation.Nonnull + + public CodeEnum getCode() { + return code; + } + + + public void setCode(CodeEnum code) { + this.code = code; + } + + + public LocationSearchPost400ResponseValidationErrorsInner message(String message) { + + this.message = message; + return this; + } + + /** + * A message describing the error in a human readable way. + * @return message + **/ + @javax.annotation.Nonnull + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public LocationSearchPost400ResponseValidationErrorsInner path(List path) { + + this.path = path; + return this; + } + + public LocationSearchPost400ResponseValidationErrorsInner addPathItem(String pathItem) { + this.path.add(pathItem); + return this; + } + + /** + * An array describing the position of the faulty property. The first segment will always be either \"body\", \"pathParameters\" or \"queryParameters\" indicating on which part of your request the error occurred. + * @return path + **/ + @javax.annotation.Nonnull + + public List getPath() { + return path; + } + + + public void setPath(List path) { + this.path = path; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LocationSearchPost400ResponseValidationErrorsInner locationSearchPost400ResponseValidationErrorsInner = (LocationSearchPost400ResponseValidationErrorsInner) o; + return Objects.equals(this.code, locationSearchPost400ResponseValidationErrorsInner.code) && + Objects.equals(this.message, locationSearchPost400ResponseValidationErrorsInner.message) && + Objects.equals(this.path, locationSearchPost400ResponseValidationErrorsInner.path); + } + + @Override + public int hashCode() { + return Objects.hash(code, message, path); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LocationSearchPost400ResponseValidationErrorsInner {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("code"); + openapiFields.add("message"); + openapiFields.add("path"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("code"); + openapiRequiredFields.add("message"); + openapiRequiredFields.add("path"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to LocationSearchPost400ResponseValidationErrorsInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!LocationSearchPost400ResponseValidationErrorsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LocationSearchPost400ResponseValidationErrorsInner is not found in the empty JSON string", LocationSearchPost400ResponseValidationErrorsInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!LocationSearchPost400ResponseValidationErrorsInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LocationSearchPost400ResponseValidationErrorsInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : LocationSearchPost400ResponseValidationErrorsInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); + } + if (!jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + // ensure the required json array is present + if (jsonObj.get("path") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("path").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `path` to be an array in the JSON string but got `%s`", jsonObj.get("path").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!LocationSearchPost400ResponseValidationErrorsInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LocationSearchPost400ResponseValidationErrorsInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LocationSearchPost400ResponseValidationErrorsInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, LocationSearchPost400ResponseValidationErrorsInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public LocationSearchPost400ResponseValidationErrorsInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of LocationSearchPost400ResponseValidationErrorsInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of LocationSearchPost400ResponseValidationErrorsInner + * @throws IOException if the JSON string is invalid with respect to LocationSearchPost400ResponseValidationErrorsInner + */ + public static LocationSearchPost400ResponseValidationErrorsInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LocationSearchPost400ResponseValidationErrorsInner.class); + } + + /** + * Convert an instance of LocationSearchPost400ResponseValidationErrorsInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/LocationSearchPostRequest.java b/src/main/java/com/lodgea/model/LocationSearchPostRequest.java new file mode 100644 index 0000000..f7a5829 --- /dev/null +++ b/src/main/java/com/lodgea/model/LocationSearchPostRequest.java @@ -0,0 +1,541 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * LocationSearchPostRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class LocationSearchPostRequest { + public static final String SERIALIZED_NAME_SEARCH_TEXT = "searchText"; + @SerializedName(SERIALIZED_NAME_SEARCH_TEXT) + private String searchText; + + /** + * The currency code of the currency in which the lowest price for each found location should be returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + /** + * The language code of the language in which the descriptive texts for each found location should be returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageCodeEnum.Adapter.class) + public enum LanguageCodeEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageCodeEnum fromValue(String value) { + for (LanguageCodeEnum b : LanguageCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) + private LanguageCodeEnum languageCode; + + public LocationSearchPostRequest() { + } + + public LocationSearchPostRequest searchText(String searchText) { + + this.searchText = searchText; + return this; + } + + /** + * A search text in free form to search locations by. + * @return searchText + **/ + @javax.annotation.Nonnull + + public String getSearchText() { + return searchText; + } + + + public void setSearchText(String searchText) { + this.searchText = searchText; + } + + + public LocationSearchPostRequest currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency code of the currency in which the lowest price for each found location should be returned.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public LocationSearchPostRequest languageCode(LanguageCodeEnum languageCode) { + + this.languageCode = languageCode; + return this; + } + + /** + * The language code of the language in which the descriptive texts for each found location should be returned.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return languageCode + **/ + @javax.annotation.Nonnull + + public LanguageCodeEnum getLanguageCode() { + return languageCode; + } + + + public void setLanguageCode(LanguageCodeEnum languageCode) { + this.languageCode = languageCode; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LocationSearchPostRequest locationSearchPostRequest = (LocationSearchPostRequest) o; + return Objects.equals(this.searchText, locationSearchPostRequest.searchText) && + Objects.equals(this.currencyCode, locationSearchPostRequest.currencyCode) && + Objects.equals(this.languageCode, locationSearchPostRequest.languageCode); + } + + @Override + public int hashCode() { + return Objects.hash(searchText, currencyCode, languageCode); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LocationSearchPostRequest {\n"); + sb.append(" searchText: ").append(toIndentedString(searchText)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("searchText"); + openapiFields.add("currencyCode"); + openapiFields.add("languageCode"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("searchText"); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("languageCode"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to LocationSearchPostRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!LocationSearchPostRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LocationSearchPostRequest is not found in the empty JSON string", LocationSearchPostRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!LocationSearchPostRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LocationSearchPostRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : LocationSearchPostRequest.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("searchText").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `searchText` to be a primitive type in the JSON string but got `%s`", jsonObj.get("searchText").toString())); + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + if (!jsonObj.get("languageCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!LocationSearchPostRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LocationSearchPostRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LocationSearchPostRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, LocationSearchPostRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public LocationSearchPostRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of LocationSearchPostRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of LocationSearchPostRequest + * @throws IOException if the JSON string is invalid with respect to LocationSearchPostRequest + */ + public static LocationSearchPostRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LocationSearchPostRequest.class); + } + + /** + * Convert an instance of LocationSearchPostRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1PropertyListPost200Response.java b/src/main/java/com/lodgea/model/PropertiesGet200Response.java similarity index 57% rename from src/main/java/com/lodgea/model/V1PropertyListPost200Response.java rename to src/main/java/com/lodgea/model/PropertiesGet200Response.java index 9a9dfb4..237e468 100644 --- a/src/main/java/com/lodgea/model/V1PropertyListPost200Response.java +++ b/src/main/java/com/lodgea/model/PropertiesGet200Response.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,9 +20,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyListPost200ResponseListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesGet200ResponseListInner; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -41,6 +39,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -48,31 +47,28 @@ import com.lodgea.JSON; /** - * V1PropertyListPost200Response + * PropertiesGet200Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyListPost200Response { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesGet200Response { public static final String SERIALIZED_NAME_LIST = "list"; @SerializedName(SERIALIZED_NAME_LIST) - private List _list = null; + private List _list = new ArrayList<>(); public static final String SERIALIZED_NAME_PAGE_TOKEN = "pageToken"; @SerializedName(SERIALIZED_NAME_PAGE_TOKEN) private String pageToken; - public V1PropertyListPost200Response() { + public PropertiesGet200Response() { } - public V1PropertyListPost200Response _list(List _list) { + public PropertiesGet200Response _list(List _list) { this._list = _list; return this; } - public V1PropertyListPost200Response addListItem(V1PropertyListPost200ResponseListInner _listItem) { - if (this._list == null) { - this._list = new ArrayList<>(); - } + public PropertiesGet200Response addListItem(PropertiesGet200ResponseListInner _listItem) { this._list.add(_listItem); return this; } @@ -81,31 +77,29 @@ public V1PropertyListPost200Response addListItem(V1PropertyListPost200ResponseLi * Get _list * @return _list **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull - public List getList() { + public List getList() { return _list; } - public void setList(List _list) { + public void setList(List _list) { this._list = _list; } - public V1PropertyListPost200Response pageToken(String pageToken) { + public PropertiesGet200Response pageToken(String pageToken) { this.pageToken = pageToken; return this; } /** - * Get pageToken + * The page token to pass in the subsequent call to retrieve more results, only returned if more results are available. * @return pageToken **/ @javax.annotation.Nullable - @ApiModelProperty(value = "") public String getPageToken() { return pageToken; @@ -126,9 +120,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyListPost200Response v1PropertyListPost200Response = (V1PropertyListPost200Response) o; - return Objects.equals(this._list, v1PropertyListPost200Response._list) && - Objects.equals(this.pageToken, v1PropertyListPost200Response.pageToken); + PropertiesGet200Response propertiesGet200Response = (PropertiesGet200Response) o; + return Objects.equals(this._list, propertiesGet200Response._list) && + Objects.equals(this.pageToken, propertiesGet200Response.pageToken); } @Override @@ -139,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyListPost200Response {\n"); + sb.append("class PropertiesGet200Response {\n"); sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); sb.append(" pageToken: ").append(toIndentedString(pageToken)).append("\n"); sb.append("}"); @@ -169,43 +163,47 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("list"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyListPost200Response + * @throws IOException if the JSON Object is invalid with respect to PropertiesGet200Response */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyListPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyListPost200Response is not found in the empty JSON string", V1PropertyListPost200Response.openapiRequiredFields.toString())); + if (!PropertiesGet200Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesGet200Response is not found in the empty JSON string", PropertiesGet200Response.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyListPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyListPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesGet200Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesGet200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); } } - JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); - if (jsonArray_list != null) { - // ensure the json data is an array - if (!jsonObj.get("list").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); - } - // validate the optional field `list` (array) - for (int i = 0; i < jsonArray_list.size(); i++) { - V1PropertyListPost200ResponseListInner.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); - }; + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesGet200Response.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("list").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); } - if (jsonObj.get("pageToken") != null && !jsonObj.get("pageToken").isJsonPrimitive()) { + + JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); + // validate the required field `list` (array) + for (int i = 0; i < jsonArray_list.size(); i++) { + PropertiesGet200ResponseListInner.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); + }; + if ((jsonObj.get("pageToken") != null && !jsonObj.get("pageToken").isJsonNull()) && !jsonObj.get("pageToken").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `pageToken` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pageToken").toString())); } } @@ -214,22 +212,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyListPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyListPost200Response' and its subtypes + if (!PropertiesGet200Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesGet200Response' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyListPost200Response.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesGet200Response.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyListPost200Response value) throws IOException { + public void write(JsonWriter out, PropertiesGet200Response value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyListPost200Response read(JsonReader in) throws IOException { + public PropertiesGet200Response read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -240,18 +238,18 @@ public V1PropertyListPost200Response read(JsonReader in) throws IOException { } /** - * Create an instance of V1PropertyListPost200Response given an JSON string + * Create an instance of PropertiesGet200Response given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyListPost200Response - * @throws IOException if the JSON string is invalid with respect to V1PropertyListPost200Response + * @return An instance of PropertiesGet200Response + * @throws IOException if the JSON string is invalid with respect to PropertiesGet200Response */ - public static V1PropertyListPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyListPost200Response.class); + public static PropertiesGet200Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesGet200Response.class); } /** - * Convert an instance of V1PropertyListPost200Response to an JSON string + * Convert an instance of PropertiesGet200Response to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/V1PropertyListPost200ResponseListInner.java b/src/main/java/com/lodgea/model/PropertiesGet200ResponseListInner.java similarity index 63% rename from src/main/java/com/lodgea/model/V1PropertyListPost200ResponseListInner.java rename to src/main/java/com/lodgea/model/PropertiesGet200ResponseListInner.java index 02d1b57..0b2b2b0 100644 --- a/src/main/java/com/lodgea/model/V1PropertyListPost200ResponseListInner.java +++ b/src/main/java/com/lodgea/model/PropertiesGet200ResponseListInner.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; @@ -39,6 +37,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -46,10 +45,10 @@ import com.lodgea.JSON; /** - * V1PropertyListPost200ResponseListInner + * PropertiesGet200ResponseListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyListPost200ResponseListInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesGet200ResponseListInner { public static final String SERIALIZED_NAME_PUBLISHED = "published"; @SerializedName(SERIALIZED_NAME_PUBLISHED) private Boolean published; @@ -74,21 +73,20 @@ public class V1PropertyListPost200ResponseListInner { @SerializedName(SERIALIZED_NAME_LAST_UPDATED) private BigDecimal lastUpdated; - public V1PropertyListPost200ResponseListInner() { + public PropertiesGet200ResponseListInner() { } - public V1PropertyListPost200ResponseListInner published(Boolean published) { + public PropertiesGet200ResponseListInner published(Boolean published) { this.published = published; return this; } /** - * Get published + * Whether the property is in published state. * @return published **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getPublished() { return published; @@ -100,18 +98,17 @@ public void setPublished(Boolean published) { } - public V1PropertyListPost200ResponseListInner name(String name) { + public PropertiesGet200ResponseListInner name(String name) { this.name = name; return this; } /** - * Get name + * The name of the property. * @return name **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Strandresidenz Sylt", value = "") + @javax.annotation.Nonnull public String getName() { return name; @@ -123,18 +120,17 @@ public void setName(String name) { } - public V1PropertyListPost200ResponseListInner propertyId(String propertyId) { + public PropertiesGet200ResponseListInner propertyId(String propertyId) { this.propertyId = propertyId; return this; } /** - * Get propertyId + * The unique identifier for the property. * @return propertyId **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") + @javax.annotation.Nonnull public String getPropertyId() { return propertyId; @@ -146,18 +142,17 @@ public void setPropertyId(String propertyId) { } - public V1PropertyListPost200ResponseListInner image(String image) { + public PropertiesGet200ResponseListInner image(String image) { this.image = image; return this; } /** - * Get image + * The file name of the image for the property. * @return image **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "obj_1280x960_54620_001.jpg", value = "") + @javax.annotation.Nonnull public String getImage() { return image; @@ -169,18 +164,17 @@ public void setImage(String image) { } - public V1PropertyListPost200ResponseListInner address(String address) { + public PropertiesGet200ResponseListInner address(String address) { this.address = address; return this; } /** - * Get address + * The address of the property. * @return address **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Germany", value = "") + @javax.annotation.Nonnull public String getAddress() { return address; @@ -192,18 +186,17 @@ public void setAddress(String address) { } - public V1PropertyListPost200ResponseListInner lastUpdated(BigDecimal lastUpdated) { + public PropertiesGet200ResponseListInner lastUpdated(BigDecimal lastUpdated) { this.lastUpdated = lastUpdated; return this; } /** - * Get lastUpdated + * The timestamp of the last update to the property (Unix in ms). * @return lastUpdated **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1652091337389", value = "") + @javax.annotation.Nonnull public BigDecimal getLastUpdated() { return lastUpdated; @@ -224,13 +217,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyListPost200ResponseListInner v1PropertyListPost200ResponseListInner = (V1PropertyListPost200ResponseListInner) o; - return Objects.equals(this.published, v1PropertyListPost200ResponseListInner.published) && - Objects.equals(this.name, v1PropertyListPost200ResponseListInner.name) && - Objects.equals(this.propertyId, v1PropertyListPost200ResponseListInner.propertyId) && - Objects.equals(this.image, v1PropertyListPost200ResponseListInner.image) && - Objects.equals(this.address, v1PropertyListPost200ResponseListInner.address) && - Objects.equals(this.lastUpdated, v1PropertyListPost200ResponseListInner.lastUpdated); + PropertiesGet200ResponseListInner propertiesGet200ResponseListInner = (PropertiesGet200ResponseListInner) o; + return Objects.equals(this.published, propertiesGet200ResponseListInner.published) && + Objects.equals(this.name, propertiesGet200ResponseListInner.name) && + Objects.equals(this.propertyId, propertiesGet200ResponseListInner.propertyId) && + Objects.equals(this.image, propertiesGet200ResponseListInner.image) && + Objects.equals(this.address, propertiesGet200ResponseListInner.address) && + Objects.equals(this.lastUpdated, propertiesGet200ResponseListInner.lastUpdated); } @Override @@ -241,7 +234,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyListPost200ResponseListInner {\n"); + sb.append("class PropertiesGet200ResponseListInner {\n"); sb.append(" published: ").append(toIndentedString(published)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); @@ -279,40 +272,51 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("published"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("propertyId"); + openapiRequiredFields.add("image"); + openapiRequiredFields.add("address"); + openapiRequiredFields.add("lastUpdated"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyListPost200ResponseListInner + * @throws IOException if the JSON Object is invalid with respect to PropertiesGet200ResponseListInner */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyListPost200ResponseListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyListPost200ResponseListInner is not found in the empty JSON string", V1PropertyListPost200ResponseListInner.openapiRequiredFields.toString())); + if (!PropertiesGet200ResponseListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesGet200ResponseListInner is not found in the empty JSON string", PropertiesGet200ResponseListInner.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyListPost200ResponseListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyListPost200ResponseListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesGet200ResponseListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesGet200ResponseListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); } } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesGet200ResponseListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { + if (!jsonObj.get("propertyId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); } - if (jsonObj.get("image") != null && !jsonObj.get("image").isJsonPrimitive()) { + if (!jsonObj.get("image").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `image` to be a primitive type in the JSON string but got `%s`", jsonObj.get("image").toString())); } - if (jsonObj.get("address") != null && !jsonObj.get("address").isJsonPrimitive()) { + if (!jsonObj.get("address").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address").toString())); } } @@ -321,22 +325,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyListPost200ResponseListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyListPost200ResponseListInner' and its subtypes + if (!PropertiesGet200ResponseListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesGet200ResponseListInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyListPost200ResponseListInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesGet200ResponseListInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyListPost200ResponseListInner value) throws IOException { + public void write(JsonWriter out, PropertiesGet200ResponseListInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyListPost200ResponseListInner read(JsonReader in) throws IOException { + public PropertiesGet200ResponseListInner read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -347,18 +351,18 @@ public V1PropertyListPost200ResponseListInner read(JsonReader in) throws IOExcep } /** - * Create an instance of V1PropertyListPost200ResponseListInner given an JSON string + * Create an instance of PropertiesGet200ResponseListInner given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyListPost200ResponseListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyListPost200ResponseListInner + * @return An instance of PropertiesGet200ResponseListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesGet200ResponseListInner */ - public static V1PropertyListPost200ResponseListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyListPost200ResponseListInner.class); + public static PropertiesGet200ResponseListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesGet200ResponseListInner.class); } /** - * Convert an instance of V1PropertyListPost200ResponseListInner to an JSON string + * Convert an instance of PropertiesGet200ResponseListInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200Response.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200Response.java new file mode 100644 index 0000000..3e11ead --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200Response.java @@ -0,0 +1,228 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdAvailabilityGet200Response + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdAvailabilityGet200Response { + public static final String SERIALIZED_NAME_AVAILABILITY_LIST = "availabilityList"; + @SerializedName(SERIALIZED_NAME_AVAILABILITY_LIST) + private List availabilityList = new ArrayList<>(); + + public PropertiesPropertyIdAvailabilityGet200Response() { + } + + public PropertiesPropertyIdAvailabilityGet200Response availabilityList(List availabilityList) { + + this.availabilityList = availabilityList; + return this; + } + + public PropertiesPropertyIdAvailabilityGet200Response addAvailabilityListItem(PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner availabilityListItem) { + this.availabilityList.add(availabilityListItem); + return this; + } + + /** + * An array of objects describing the available booking options. + * @return availabilityList + **/ + @javax.annotation.Nonnull + + public List getAvailabilityList() { + return availabilityList; + } + + + public void setAvailabilityList(List availabilityList) { + this.availabilityList = availabilityList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdAvailabilityGet200Response propertiesPropertyIdAvailabilityGet200Response = (PropertiesPropertyIdAvailabilityGet200Response) o; + return Objects.equals(this.availabilityList, propertiesPropertyIdAvailabilityGet200Response.availabilityList); + } + + @Override + public int hashCode() { + return Objects.hash(availabilityList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdAvailabilityGet200Response {\n"); + sb.append(" availabilityList: ").append(toIndentedString(availabilityList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("availabilityList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("availabilityList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdAvailabilityGet200Response + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdAvailabilityGet200Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdAvailabilityGet200Response is not found in the empty JSON string", PropertiesPropertyIdAvailabilityGet200Response.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdAvailabilityGet200Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdAvailabilityGet200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdAvailabilityGet200Response.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("availabilityList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `availabilityList` to be an array in the JSON string but got `%s`", jsonObj.get("availabilityList").toString())); + } + + JsonArray jsonArrayavailabilityList = jsonObj.getAsJsonArray("availabilityList"); + // validate the required field `availabilityList` (array) + for (int i = 0; i < jsonArrayavailabilityList.size(); i++) { + PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.validateJsonObject(jsonArrayavailabilityList.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdAvailabilityGet200Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdAvailabilityGet200Response' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdAvailabilityGet200Response.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdAvailabilityGet200Response value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdAvailabilityGet200Response read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdAvailabilityGet200Response given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdAvailabilityGet200Response + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdAvailabilityGet200Response + */ + public static PropertiesPropertyIdAvailabilityGet200Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdAvailabilityGet200Response.class); + } + + /** + * Convert an instance of PropertiesPropertyIdAvailabilityGet200Response to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.java new file mode 100644 index 0000000..fdbcfce --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.java @@ -0,0 +1,437 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner { + public static final String SERIALIZED_NAME_RATE_PLAN_LIST = "ratePlanList"; + @SerializedName(SERIALIZED_NAME_RATE_PLAN_LIST) + private List ratePlanList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * Gets or Sets mealPlanList + */ + @JsonAdapter(MealPlanListEnum.Adapter.class) + public enum MealPlanListEnum { + NUMBER_0(new BigDecimal("0")), + + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_90001(new BigDecimal("90001")); + + private BigDecimal value; + + MealPlanListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MealPlanListEnum fromValue(BigDecimal value) { + for (MealPlanListEnum b : MealPlanListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MealPlanListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MealPlanListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MealPlanListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; + @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) + private List mealPlanList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_ROOM_TYPE_LIST = "roomTypeList"; + @SerializedName(SERIALIZED_NAME_ROOM_TYPE_LIST) + private List roomTypeList = new ArrayList<>(); + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner() { + } + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner ratePlanList(List ratePlanList) { + + this.ratePlanList = ratePlanList; + return this; + } + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner addRatePlanListItem(PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner ratePlanListItem) { + this.ratePlanList.add(ratePlanListItem); + return this; + } + + /** + * A list of available rate plans. + * @return ratePlanList + **/ + @javax.annotation.Nonnull + + public List getRatePlanList() { + return ratePlanList; + } + + + public void setRatePlanList(List ratePlanList) { + this.ratePlanList = ratePlanList; + } + + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner name(String name) { + + this.name = name; + return this; + } + + /** + * The name of the rate plan group. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner mealPlanList(List mealPlanList) { + + this.mealPlanList = mealPlanList; + return this; + } + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner addMealPlanListItem(MealPlanListEnum mealPlanListItem) { + this.mealPlanList.add(mealPlanListItem); + return this; + } + + /** + * The available meal plans.<p>See also <a href=\"#mealplan-type-codes\">in the appendix</a>.</p> + * @return mealPlanList + **/ + @javax.annotation.Nonnull + + public List getMealPlanList() { + return mealPlanList; + } + + + public void setMealPlanList(List mealPlanList) { + this.mealPlanList = mealPlanList; + } + + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner roomTypeList(List roomTypeList) { + + this.roomTypeList = roomTypeList; + return this; + } + + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner addRoomTypeListItem(String roomTypeListItem) { + this.roomTypeList.add(roomTypeListItem); + return this; + } + + /** + * The rooms this availability is for. + * @return roomTypeList + **/ + @javax.annotation.Nonnull + + public List getRoomTypeList() { + return roomTypeList; + } + + + public void setRoomTypeList(List roomTypeList) { + this.roomTypeList = roomTypeList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner propertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner = (PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner) o; + return Objects.equals(this.ratePlanList, propertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.ratePlanList) && + Objects.equals(this.name, propertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.name) && + Objects.equals(this.mealPlanList, propertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.mealPlanList) && + Objects.equals(this.roomTypeList, propertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.roomTypeList); + } + + @Override + public int hashCode() { + return Objects.hash(ratePlanList, name, mealPlanList, roomTypeList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner {\n"); + sb.append(" ratePlanList: ").append(toIndentedString(ratePlanList)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); + sb.append(" roomTypeList: ").append(toIndentedString(roomTypeList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("ratePlanList"); + openapiFields.add("name"); + openapiFields.add("mealPlanList"); + openapiFields.add("roomTypeList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("ratePlanList"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("mealPlanList"); + openapiRequiredFields.add("roomTypeList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner is not found in the empty JSON string", PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("ratePlanList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `ratePlanList` to be an array in the JSON string but got `%s`", jsonObj.get("ratePlanList").toString())); + } + + JsonArray jsonArrayratePlanList = jsonObj.getAsJsonArray("ratePlanList"); + // validate the required field `ratePlanList` (array) + for (int i = 0; i < jsonArrayratePlanList.size(); i++) { + PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.validateJsonObject(jsonArrayratePlanList.get(i).getAsJsonObject()); + }; + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // ensure the required json array is present + if (jsonObj.get("mealPlanList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("mealPlanList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("roomTypeList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("roomTypeList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `roomTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("roomTypeList").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner + */ + public static PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200Response.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200Response.java new file mode 100644 index 0000000..f43cfbf --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200Response.java @@ -0,0 +1,261 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200Response + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200Response { + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private PropertiesPropertyIdGet200ResponseProperty property; + + public static final String SERIALIZED_NAME_PRODUCT_LIST = "productList"; + @SerializedName(SERIALIZED_NAME_PRODUCT_LIST) + private List productList = new ArrayList<>(); + + public PropertiesPropertyIdGet200Response() { + } + + public PropertiesPropertyIdGet200Response property(PropertiesPropertyIdGet200ResponseProperty property) { + + this.property = property; + return this; + } + + /** + * Get property + * @return property + **/ + @javax.annotation.Nonnull + + public PropertiesPropertyIdGet200ResponseProperty getProperty() { + return property; + } + + + public void setProperty(PropertiesPropertyIdGet200ResponseProperty property) { + this.property = property; + } + + + public PropertiesPropertyIdGet200Response productList(List productList) { + + this.productList = productList; + return this; + } + + public PropertiesPropertyIdGet200Response addProductListItem(PropertiesPropertyIdGet200ResponseProductListInner productListItem) { + this.productList.add(productListItem); + return this; + } + + /** + * Get productList + * @return productList + **/ + @javax.annotation.Nonnull + + public List getProductList() { + return productList; + } + + + public void setProductList(List productList) { + this.productList = productList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200Response propertiesPropertyIdGet200Response = (PropertiesPropertyIdGet200Response) o; + return Objects.equals(this.property, propertiesPropertyIdGet200Response.property) && + Objects.equals(this.productList, propertiesPropertyIdGet200Response.productList); + } + + @Override + public int hashCode() { + return Objects.hash(property, productList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200Response {\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" productList: ").append(toIndentedString(productList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("property"); + openapiFields.add("productList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("property"); + openapiRequiredFields.add("productList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200Response + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200Response.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200Response is not found in the empty JSON string", PropertiesPropertyIdGet200Response.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200Response.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200Response.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // validate the required field `property` + PropertiesPropertyIdGet200ResponseProperty.validateJsonObject(jsonObj.getAsJsonObject("property")); + // ensure the json data is an array + if (!jsonObj.get("productList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `productList` to be an array in the JSON string but got `%s`", jsonObj.get("productList").toString())); + } + + JsonArray jsonArrayproductList = jsonObj.getAsJsonArray("productList"); + // validate the required field `productList` (array) + for (int i = 0; i < jsonArrayproductList.size(); i++) { + PropertiesPropertyIdGet200ResponseProductListInner.validateJsonObject(jsonArrayproductList.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200Response.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200Response' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200Response.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200Response value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200Response read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200Response given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200Response + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200Response + */ + public static PropertiesPropertyIdGet200Response fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200Response.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200Response to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInner.java new file mode 100644 index 0000000..d303bdb --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInner.java @@ -0,0 +1,562 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * A list of available products for this property. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponseProductListInner { + public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; + @SerializedName(SERIALIZED_NAME_PROPERTY_ID) + private String propertyId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * The code of the meal plan.<p>See also <a href=\"#mealplan-type-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(MealPlanListEnum.Adapter.class) + public enum MealPlanListEnum { + NUMBER_0(new BigDecimal("0")), + + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_90001(new BigDecimal("90001")); + + private BigDecimal value; + + MealPlanListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MealPlanListEnum fromValue(BigDecimal value) { + for (MealPlanListEnum b : MealPlanListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MealPlanListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MealPlanListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MealPlanListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; + @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) + private List mealPlanList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_ROOM_TYPE_LIST = "roomTypeList"; + @SerializedName(SERIALIZED_NAME_ROOM_TYPE_LIST) + private List roomTypeList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_IS_L_O_S_PRICING = "isLOSPricing"; + @SerializedName(SERIALIZED_NAME_IS_L_O_S_PRICING) + private Boolean isLOSPricing; + + public static final String SERIALIZED_NAME_IS_O_B_P_PRICING = "isOBPPricing"; + @SerializedName(SERIALIZED_NAME_IS_O_B_P_PRICING) + private Boolean isOBPPricing; + + public static final String SERIALIZED_NAME_RATE_PLAN_LIST = "ratePlanList"; + @SerializedName(SERIALIZED_NAME_RATE_PLAN_LIST) + private List ratePlanList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_POLICY_INFO = "policyInfo"; + @SerializedName(SERIALIZED_NAME_POLICY_INFO) + private PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo policyInfo; + + public PropertiesPropertyIdGet200ResponseProductListInner() { + } + + public PropertiesPropertyIdGet200ResponseProductListInner propertyId(String propertyId) { + + this.propertyId = propertyId; + return this; + } + + /** + * The ID of the property. + * @return propertyId + **/ + @javax.annotation.Nonnull + + public String getPropertyId() { + return propertyId; + } + + + public void setPropertyId(String propertyId) { + this.propertyId = propertyId; + } + + + public PropertiesPropertyIdGet200ResponseProductListInner name(String name) { + + this.name = name; + return this; + } + + /** + * The name of the product. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public PropertiesPropertyIdGet200ResponseProductListInner mealPlanList(List mealPlanList) { + + this.mealPlanList = mealPlanList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProductListInner addMealPlanListItem(MealPlanListEnum mealPlanListItem) { + this.mealPlanList.add(mealPlanListItem); + return this; + } + + /** + * A list of meal type codes included in this product. + * @return mealPlanList + **/ + @javax.annotation.Nonnull + + public List getMealPlanList() { + return mealPlanList; + } + + + public void setMealPlanList(List mealPlanList) { + this.mealPlanList = mealPlanList; + } + + + public PropertiesPropertyIdGet200ResponseProductListInner roomTypeList(List roomTypeList) { + + this.roomTypeList = roomTypeList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProductListInner addRoomTypeListItem(String roomTypeListItem) { + this.roomTypeList.add(roomTypeListItem); + return this; + } + + /** + * An array of strings describing the room types included in this product. + * @return roomTypeList + **/ + @javax.annotation.Nonnull + + public List getRoomTypeList() { + return roomTypeList; + } + + + public void setRoomTypeList(List roomTypeList) { + this.roomTypeList = roomTypeList; + } + + + public PropertiesPropertyIdGet200ResponseProductListInner isLOSPricing(Boolean isLOSPricing) { + + this.isLOSPricing = isLOSPricing; + return this; + } + + /** + * Whether this product is length of stay pricing. + * @return isLOSPricing + **/ + @javax.annotation.Nullable + + public Boolean getIsLOSPricing() { + return isLOSPricing; + } + + + public void setIsLOSPricing(Boolean isLOSPricing) { + this.isLOSPricing = isLOSPricing; + } + + + public PropertiesPropertyIdGet200ResponseProductListInner isOBPPricing(Boolean isOBPPricing) { + + this.isOBPPricing = isOBPPricing; + return this; + } + + /** + * Whether this product is occupancy based pricing. + * @return isOBPPricing + **/ + @javax.annotation.Nullable + + public Boolean getIsOBPPricing() { + return isOBPPricing; + } + + + public void setIsOBPPricing(Boolean isOBPPricing) { + this.isOBPPricing = isOBPPricing; + } + + + public PropertiesPropertyIdGet200ResponseProductListInner ratePlanList(List ratePlanList) { + + this.ratePlanList = ratePlanList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProductListInner addRatePlanListItem(PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner ratePlanListItem) { + this.ratePlanList.add(ratePlanListItem); + return this; + } + + /** + * The rate plans for this product. + * @return ratePlanList + **/ + @javax.annotation.Nonnull + + public List getRatePlanList() { + return ratePlanList; + } + + + public void setRatePlanList(List ratePlanList) { + this.ratePlanList = ratePlanList; + } + + + public PropertiesPropertyIdGet200ResponseProductListInner policyInfo(PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo policyInfo) { + + this.policyInfo = policyInfo; + return this; + } + + /** + * Get policyInfo + * @return policyInfo + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo getPolicyInfo() { + return policyInfo; + } + + + public void setPolicyInfo(PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo policyInfo) { + this.policyInfo = policyInfo; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponseProductListInner propertiesPropertyIdGet200ResponseProductListInner = (PropertiesPropertyIdGet200ResponseProductListInner) o; + return Objects.equals(this.propertyId, propertiesPropertyIdGet200ResponseProductListInner.propertyId) && + Objects.equals(this.name, propertiesPropertyIdGet200ResponseProductListInner.name) && + Objects.equals(this.mealPlanList, propertiesPropertyIdGet200ResponseProductListInner.mealPlanList) && + Objects.equals(this.roomTypeList, propertiesPropertyIdGet200ResponseProductListInner.roomTypeList) && + Objects.equals(this.isLOSPricing, propertiesPropertyIdGet200ResponseProductListInner.isLOSPricing) && + Objects.equals(this.isOBPPricing, propertiesPropertyIdGet200ResponseProductListInner.isOBPPricing) && + Objects.equals(this.ratePlanList, propertiesPropertyIdGet200ResponseProductListInner.ratePlanList) && + Objects.equals(this.policyInfo, propertiesPropertyIdGet200ResponseProductListInner.policyInfo); + } + + @Override + public int hashCode() { + return Objects.hash(propertyId, name, mealPlanList, roomTypeList, isLOSPricing, isOBPPricing, ratePlanList, policyInfo); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponseProductListInner {\n"); + sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); + sb.append(" roomTypeList: ").append(toIndentedString(roomTypeList)).append("\n"); + sb.append(" isLOSPricing: ").append(toIndentedString(isLOSPricing)).append("\n"); + sb.append(" isOBPPricing: ").append(toIndentedString(isOBPPricing)).append("\n"); + sb.append(" ratePlanList: ").append(toIndentedString(ratePlanList)).append("\n"); + sb.append(" policyInfo: ").append(toIndentedString(policyInfo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("propertyId"); + openapiFields.add("name"); + openapiFields.add("mealPlanList"); + openapiFields.add("roomTypeList"); + openapiFields.add("isLOSPricing"); + openapiFields.add("isOBPPricing"); + openapiFields.add("ratePlanList"); + openapiFields.add("policyInfo"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("propertyId"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("mealPlanList"); + openapiRequiredFields.add("roomTypeList"); + openapiRequiredFields.add("ratePlanList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponseProductListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponseProductListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponseProductListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponseProductListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponseProductListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponseProductListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("propertyId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // ensure the required json array is present + if (jsonObj.get("mealPlanList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("mealPlanList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("roomTypeList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("roomTypeList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `roomTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("roomTypeList").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("ratePlanList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `ratePlanList` to be an array in the JSON string but got `%s`", jsonObj.get("ratePlanList").toString())); + } + + JsonArray jsonArrayratePlanList = jsonObj.getAsJsonArray("ratePlanList"); + // validate the required field `ratePlanList` (array) + for (int i = 0; i < jsonArrayratePlanList.size(); i++) { + PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.validateJsonObject(jsonArrayratePlanList.get(i).getAsJsonObject()); + }; + // validate the optional field `policyInfo` + if (jsonObj.get("policyInfo") != null && !jsonObj.get("policyInfo").isJsonNull()) { + PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.validateJsonObject(jsonObj.getAsJsonObject("policyInfo")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponseProductListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponseProductListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponseProductListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponseProductListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponseProductListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponseProductListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponseProductListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInner + */ + public static PropertiesPropertyIdGet200ResponseProductListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponseProductListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponseProductListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.java new file mode 100644 index 0000000..757124c --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.java @@ -0,0 +1,649 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * The policy info for this product. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo { + public static final String SERIALIZED_NAME_CHECK_IN_TIME = "checkInTime"; + @SerializedName(SERIALIZED_NAME_CHECK_IN_TIME) + private BigDecimal checkInTime; + + public static final String SERIALIZED_NAME_CHECK_OUT_TIME = "checkOutTime"; + @SerializedName(SERIALIZED_NAME_CHECK_OUT_TIME) + private BigDecimal checkOutTime; + + public static final String SERIALIZED_NAME_TOTAL_GUEST_COUNT = "totalGuestCount"; + @SerializedName(SERIALIZED_NAME_TOTAL_GUEST_COUNT) + private BigDecimal totalGuestCount; + + public static final String SERIALIZED_NAME_CANCELLATION_POLICY_LIST = "cancellationPolicyList"; + @SerializedName(SERIALIZED_NAME_CANCELLATION_POLICY_LIST) + private List cancellationPolicyList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MIN = "advanceBookingMin"; + @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MIN) + private BigDecimal advanceBookingMin; + + public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MAX = "advanceBookingMax"; + @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MAX) + private BigDecimal advanceBookingMax; + + public static final String SERIALIZED_NAME_PETS_POLICY = "petsPolicy"; + @SerializedName(SERIALIZED_NAME_PETS_POLICY) + private PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy; + + /** + * The type of the prepayment policy. + */ + @JsonAdapter(PrepaymentPolicyEnum.Adapter.class) + public enum PrepaymentPolicyEnum { + CANCELLATION_FEE_BEGINS("after_cancellation_fee_begins"), + + RESERVATION_IS_MADE("after_reservation_is_made"); + + private String value; + + PrepaymentPolicyEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PrepaymentPolicyEnum fromValue(String value) { + for (PrepaymentPolicyEnum b : PrepaymentPolicyEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PrepaymentPolicyEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PrepaymentPolicyEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PrepaymentPolicyEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PREPAYMENT_POLICY = "prepaymentPolicy"; + @SerializedName(SERIALIZED_NAME_PREPAYMENT_POLICY) + private PrepaymentPolicyEnum prepaymentPolicy; + + public static final String SERIALIZED_NAME_GUARANTEE_POLICY = "guaranteePolicy"; + @SerializedName(SERIALIZED_NAME_GUARANTEE_POLICY) + private PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy guaranteePolicy; + + public static final String SERIALIZED_NAME_TAX_POLICY_LIST = "taxPolicyList"; + @SerializedName(SERIALIZED_NAME_TAX_POLICY_LIST) + private List taxPolicyList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_FEE_POLICY_LIST = "feePolicyList"; + @SerializedName(SERIALIZED_NAME_FEE_POLICY_LIST) + private List feePolicyList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo() { + } + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo checkInTime(BigDecimal checkInTime) { + + this.checkInTime = checkInTime; + return this; + } + + /** + * Check-in time (unix timestamp in ms). + * @return checkInTime + **/ + @javax.annotation.Nonnull + + public BigDecimal getCheckInTime() { + return checkInTime; + } + + + public void setCheckInTime(BigDecimal checkInTime) { + this.checkInTime = checkInTime; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo checkOutTime(BigDecimal checkOutTime) { + + this.checkOutTime = checkOutTime; + return this; + } + + /** + * Check-out time (unix timestamp in ms). + * @return checkOutTime + **/ + @javax.annotation.Nonnull + + public BigDecimal getCheckOutTime() { + return checkOutTime; + } + + + public void setCheckOutTime(BigDecimal checkOutTime) { + this.checkOutTime = checkOutTime; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo totalGuestCount(BigDecimal totalGuestCount) { + + this.totalGuestCount = totalGuestCount; + return this; + } + + /** + * The maximum number of guests allowed. + * @return totalGuestCount + **/ + @javax.annotation.Nullable + + public BigDecimal getTotalGuestCount() { + return totalGuestCount; + } + + + public void setTotalGuestCount(BigDecimal totalGuestCount) { + this.totalGuestCount = totalGuestCount; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo cancellationPolicyList(List cancellationPolicyList) { + + this.cancellationPolicyList = cancellationPolicyList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo addCancellationPolicyListItem(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner cancellationPolicyListItem) { + this.cancellationPolicyList.add(cancellationPolicyListItem); + return this; + } + + /** + * List of cancellation policies. + * @return cancellationPolicyList + **/ + @javax.annotation.Nonnull + + public List getCancellationPolicyList() { + return cancellationPolicyList; + } + + + public void setCancellationPolicyList(List cancellationPolicyList) { + this.cancellationPolicyList = cancellationPolicyList; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo advanceBookingMin(BigDecimal advanceBookingMin) { + + this.advanceBookingMin = advanceBookingMin; + return this; + } + + /** + * The minimum number of days in advance a booking must be made + * @return advanceBookingMin + **/ + @javax.annotation.Nonnull + + public BigDecimal getAdvanceBookingMin() { + return advanceBookingMin; + } + + + public void setAdvanceBookingMin(BigDecimal advanceBookingMin) { + this.advanceBookingMin = advanceBookingMin; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo advanceBookingMax(BigDecimal advanceBookingMax) { + + this.advanceBookingMax = advanceBookingMax; + return this; + } + + /** + * The maximum number of days in advance a booking can be made + * @return advanceBookingMax + **/ + @javax.annotation.Nonnull + + public BigDecimal getAdvanceBookingMax() { + return advanceBookingMax; + } + + + public void setAdvanceBookingMax(BigDecimal advanceBookingMax) { + this.advanceBookingMax = advanceBookingMax; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo petsPolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { + + this.petsPolicy = petsPolicy; + return this; + } + + /** + * Get petsPolicy + * @return petsPolicy + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy getPetsPolicy() { + return petsPolicy; + } + + + public void setPetsPolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { + this.petsPolicy = petsPolicy; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo prepaymentPolicy(PrepaymentPolicyEnum prepaymentPolicy) { + + this.prepaymentPolicy = prepaymentPolicy; + return this; + } + + /** + * The type of the prepayment policy. + * @return prepaymentPolicy + **/ + @javax.annotation.Nullable + + public PrepaymentPolicyEnum getPrepaymentPolicy() { + return prepaymentPolicy; + } + + + public void setPrepaymentPolicy(PrepaymentPolicyEnum prepaymentPolicy) { + this.prepaymentPolicy = prepaymentPolicy; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo guaranteePolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy guaranteePolicy) { + + this.guaranteePolicy = guaranteePolicy; + return this; + } + + /** + * Get guaranteePolicy + * @return guaranteePolicy + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy getGuaranteePolicy() { + return guaranteePolicy; + } + + + public void setGuaranteePolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy guaranteePolicy) { + this.guaranteePolicy = guaranteePolicy; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo taxPolicyList(List taxPolicyList) { + + this.taxPolicyList = taxPolicyList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo addTaxPolicyListItem(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner taxPolicyListItem) { + this.taxPolicyList.add(taxPolicyListItem); + return this; + } + + /** + * A list of taxes and their policies. + * @return taxPolicyList + **/ + @javax.annotation.Nonnull + + public List getTaxPolicyList() { + return taxPolicyList; + } + + + public void setTaxPolicyList(List taxPolicyList) { + this.taxPolicyList = taxPolicyList; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo feePolicyList(List feePolicyList) { + + this.feePolicyList = feePolicyList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo addFeePolicyListItem(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner feePolicyListItem) { + this.feePolicyList.add(feePolicyListItem); + return this; + } + + /** + * A list of fees and their policies. + * @return feePolicyList + **/ + @javax.annotation.Nonnull + + public List getFeePolicyList() { + return feePolicyList; + } + + + public void setFeePolicyList(List feePolicyList) { + this.feePolicyList = feePolicyList; + } + + + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo name(String name) { + + this.name = name; + return this; + } + + /** + * The name of this policy. + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo = (PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo) o; + return Objects.equals(this.checkInTime, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.checkInTime) && + Objects.equals(this.checkOutTime, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.checkOutTime) && + Objects.equals(this.totalGuestCount, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.totalGuestCount) && + Objects.equals(this.cancellationPolicyList, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.cancellationPolicyList) && + Objects.equals(this.advanceBookingMin, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.advanceBookingMin) && + Objects.equals(this.advanceBookingMax, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.advanceBookingMax) && + Objects.equals(this.petsPolicy, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.petsPolicy) && + Objects.equals(this.prepaymentPolicy, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.prepaymentPolicy) && + Objects.equals(this.guaranteePolicy, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.guaranteePolicy) && + Objects.equals(this.taxPolicyList, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.taxPolicyList) && + Objects.equals(this.feePolicyList, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.feePolicyList) && + Objects.equals(this.name, propertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.name); + } + + @Override + public int hashCode() { + return Objects.hash(checkInTime, checkOutTime, totalGuestCount, cancellationPolicyList, advanceBookingMin, advanceBookingMax, petsPolicy, prepaymentPolicy, guaranteePolicy, taxPolicyList, feePolicyList, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo {\n"); + sb.append(" checkInTime: ").append(toIndentedString(checkInTime)).append("\n"); + sb.append(" checkOutTime: ").append(toIndentedString(checkOutTime)).append("\n"); + sb.append(" totalGuestCount: ").append(toIndentedString(totalGuestCount)).append("\n"); + sb.append(" cancellationPolicyList: ").append(toIndentedString(cancellationPolicyList)).append("\n"); + sb.append(" advanceBookingMin: ").append(toIndentedString(advanceBookingMin)).append("\n"); + sb.append(" advanceBookingMax: ").append(toIndentedString(advanceBookingMax)).append("\n"); + sb.append(" petsPolicy: ").append(toIndentedString(petsPolicy)).append("\n"); + sb.append(" prepaymentPolicy: ").append(toIndentedString(prepaymentPolicy)).append("\n"); + sb.append(" guaranteePolicy: ").append(toIndentedString(guaranteePolicy)).append("\n"); + sb.append(" taxPolicyList: ").append(toIndentedString(taxPolicyList)).append("\n"); + sb.append(" feePolicyList: ").append(toIndentedString(feePolicyList)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("checkInTime"); + openapiFields.add("checkOutTime"); + openapiFields.add("totalGuestCount"); + openapiFields.add("cancellationPolicyList"); + openapiFields.add("advanceBookingMin"); + openapiFields.add("advanceBookingMax"); + openapiFields.add("petsPolicy"); + openapiFields.add("prepaymentPolicy"); + openapiFields.add("guaranteePolicy"); + openapiFields.add("taxPolicyList"); + openapiFields.add("feePolicyList"); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("checkInTime"); + openapiRequiredFields.add("checkOutTime"); + openapiRequiredFields.add("cancellationPolicyList"); + openapiRequiredFields.add("advanceBookingMin"); + openapiRequiredFields.add("advanceBookingMax"); + openapiRequiredFields.add("taxPolicyList"); + openapiRequiredFields.add("feePolicyList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo is not found in the empty JSON string", PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("cancellationPolicyList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cancellationPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("cancellationPolicyList").toString())); + } + + JsonArray jsonArraycancellationPolicyList = jsonObj.getAsJsonArray("cancellationPolicyList"); + // validate the required field `cancellationPolicyList` (array) + for (int i = 0; i < jsonArraycancellationPolicyList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.validateJsonObject(jsonArraycancellationPolicyList.get(i).getAsJsonObject()); + }; + // validate the optional field `petsPolicy` + if (jsonObj.get("petsPolicy") != null && !jsonObj.get("petsPolicy").isJsonNull()) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.validateJsonObject(jsonObj.getAsJsonObject("petsPolicy")); + } + if ((jsonObj.get("prepaymentPolicy") != null && !jsonObj.get("prepaymentPolicy").isJsonNull()) && !jsonObj.get("prepaymentPolicy").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `prepaymentPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prepaymentPolicy").toString())); + } + // validate the optional field `guaranteePolicy` + if (jsonObj.get("guaranteePolicy") != null && !jsonObj.get("guaranteePolicy").isJsonNull()) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.validateJsonObject(jsonObj.getAsJsonObject("guaranteePolicy")); + } + // ensure the json data is an array + if (!jsonObj.get("taxPolicyList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `taxPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("taxPolicyList").toString())); + } + + JsonArray jsonArraytaxPolicyList = jsonObj.getAsJsonArray("taxPolicyList"); + // validate the required field `taxPolicyList` (array) + for (int i = 0; i < jsonArraytaxPolicyList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.validateJsonObject(jsonArraytaxPolicyList.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("feePolicyList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `feePolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("feePolicyList").toString())); + } + + JsonArray jsonArrayfeePolicyList = jsonObj.getAsJsonArray("feePolicyList"); + // validate the required field `feePolicyList` (array) + for (int i = 0; i < jsonArrayfeePolicyList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.validateJsonObject(jsonArrayfeePolicyList.get(i).getAsJsonObject()); + }; + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo + */ + public static PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.java similarity index 50% rename from src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInner.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.java index 0022e0f..6b53087 100644 --- a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInner.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,9 +20,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -41,6 +39,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -48,10 +47,10 @@ import com.lodgea.JSON; /** - * V1AvailabilityGetPost200ResponseRatePlanListInner + * PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilityGetPost200ResponseRatePlanListInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner { public static final String SERIALIZED_NAME_ACTIVE = "active"; @SerializedName(SERIALIZED_NAME_ACTIVE) private Boolean active; @@ -66,23 +65,22 @@ public class V1AvailabilityGetPost200ResponseRatePlanListInner { public static final String SERIALIZED_NAME_PRICING_LIST = "pricingList"; @SerializedName(SERIALIZED_NAME_PRICING_LIST) - private List pricingList = null; + private List pricingList = new ArrayList<>(); - public V1AvailabilityGetPost200ResponseRatePlanListInner() { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner() { } - public V1AvailabilityGetPost200ResponseRatePlanListInner active(Boolean active) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner active(Boolean active) { this.active = active; return this; } /** - * Get active + * Whether the rate plan is active. * @return active **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getActive() { return active; @@ -94,18 +92,17 @@ public void setActive(Boolean active) { } - public V1AvailabilityGetPost200ResponseRatePlanListInner name(String name) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner name(String name) { this.name = name; return this; } /** - * Get name + * The name of the rate plan. * @return name **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard 8436", value = "") + @javax.annotation.Nonnull public String getName() { return name; @@ -117,18 +114,17 @@ public void setName(String name) { } - public V1AvailabilityGetPost200ResponseRatePlanListInner code(String code) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner code(String code) { this.code = code; return this; } /** - * Get code + * The code identifying the rate plan. * @return code **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "standard-8436", value = "") + @javax.annotation.Nonnull public String getCode() { return code; @@ -140,16 +136,13 @@ public void setCode(String code) { } - public V1AvailabilityGetPost200ResponseRatePlanListInner pricingList(List pricingList) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner pricingList(List pricingList) { this.pricingList = pricingList; return this; } - public V1AvailabilityGetPost200ResponseRatePlanListInner addPricingListItem(V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner pricingListItem) { - if (this.pricingList == null) { - this.pricingList = new ArrayList<>(); - } + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner addPricingListItem(PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner pricingListItem) { this.pricingList.add(pricingListItem); return this; } @@ -158,15 +151,14 @@ public V1AvailabilityGetPost200ResponseRatePlanListInner addPricingListItem(V1Av * Get pricingList * @return pricingList **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull - public List getPricingList() { + public List getPricingList() { return pricingList; } - public void setPricingList(List pricingList) { + public void setPricingList(List pricingList) { this.pricingList = pricingList; } @@ -180,11 +172,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1AvailabilityGetPost200ResponseRatePlanListInner v1AvailabilityGetPost200ResponseRatePlanListInner = (V1AvailabilityGetPost200ResponseRatePlanListInner) o; - return Objects.equals(this.active, v1AvailabilityGetPost200ResponseRatePlanListInner.active) && - Objects.equals(this.name, v1AvailabilityGetPost200ResponseRatePlanListInner.name) && - Objects.equals(this.code, v1AvailabilityGetPost200ResponseRatePlanListInner.code) && - Objects.equals(this.pricingList, v1AvailabilityGetPost200ResponseRatePlanListInner.pricingList); + PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner = (PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner) o; + return Objects.equals(this.active, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.active) && + Objects.equals(this.name, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.name) && + Objects.equals(this.code, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.code) && + Objects.equals(this.pricingList, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.pricingList); } @Override @@ -195,7 +187,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilityGetPost200ResponseRatePlanListInner {\n"); + sb.append("class PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner {\n"); sb.append(" active: ").append(toIndentedString(active)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" code: ").append(toIndentedString(code)).append("\n"); @@ -229,70 +221,77 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("active"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("code"); + openapiRequiredFields.add("pricingList"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilityGetPost200ResponseRatePlanListInner + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1AvailabilityGetPost200ResponseRatePlanListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilityGetPost200ResponseRatePlanListInner is not found in the empty JSON string", V1AvailabilityGetPost200ResponseRatePlanListInner.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1AvailabilityGetPost200ResponseRatePlanListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilityGetPost200ResponseRatePlanListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { + if (!jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { + if (!jsonObj.get("code").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); } - JsonArray jsonArraypricingList = jsonObj.getAsJsonArray("pricingList"); - if (jsonArraypricingList != null) { - // ensure the json data is an array - if (!jsonObj.get("pricingList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `pricingList` to be an array in the JSON string but got `%s`", jsonObj.get("pricingList").toString())); - } - - // validate the optional field `pricingList` (array) - for (int i = 0; i < jsonArraypricingList.size(); i++) { - V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.validateJsonObject(jsonArraypricingList.get(i).getAsJsonObject()); - }; + // ensure the json data is an array + if (!jsonObj.get("pricingList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `pricingList` to be an array in the JSON string but got `%s`", jsonObj.get("pricingList").toString())); } + + JsonArray jsonArraypricingList = jsonObj.getAsJsonArray("pricingList"); + // validate the required field `pricingList` (array) + for (int i = 0; i < jsonArraypricingList.size(); i++) { + PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.validateJsonObject(jsonArraypricingList.get(i).getAsJsonObject()); + }; } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilityGetPost200ResponseRatePlanListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilityGetPost200ResponseRatePlanListInner' and its subtypes + if (!PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilityGetPost200ResponseRatePlanListInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1AvailabilityGetPost200ResponseRatePlanListInner value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1AvailabilityGetPost200ResponseRatePlanListInner read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -303,18 +302,18 @@ public V1AvailabilityGetPost200ResponseRatePlanListInner read(JsonReader in) thr } /** - * Create an instance of V1AvailabilityGetPost200ResponseRatePlanListInner given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner given an JSON string * * @param jsonString JSON string - * @return An instance of V1AvailabilityGetPost200ResponseRatePlanListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilityGetPost200ResponseRatePlanListInner + * @return An instance of PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner */ - public static V1AvailabilityGetPost200ResponseRatePlanListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilityGetPost200ResponseRatePlanListInner.class); + public static PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner.class); } /** - * Convert an instance of V1AvailabilityGetPost200ResponseRatePlanListInner to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.java similarity index 50% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.java index 08edd8e..9ac3578 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,11 +20,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; +import java.util.HashMap; +import java.util.Map; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -40,6 +39,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -47,10 +47,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner + * PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner { public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) private BigDecimal dateTime; @@ -61,27 +61,26 @@ public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricin public static final String SERIALIZED_NAME_PRICE_LIST = "priceList"; @SerializedName(SERIALIZED_NAME_PRICE_LIST) - private V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList priceList; + private Map priceList = new HashMap<>(); public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) private String currencyCode; - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner() { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner() { } - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner dateTime(BigDecimal dateTime) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner dateTime(BigDecimal dateTime) { this.dateTime = dateTime; return this; } /** - * Get dateTime + * The timestamp of the pricing information. * @return dateTime **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1614556800000", value = "") + @javax.annotation.Nonnull public BigDecimal getDateTime() { return dateTime; @@ -93,18 +92,17 @@ public void setDateTime(BigDecimal dateTime) { } - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner occupancy(BigDecimal occupancy) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner occupancy(BigDecimal occupancy) { this.occupancy = occupancy; return this; } /** - * Get occupancy + * The number of occupants for which the pricing applies. * @return occupancy **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") + @javax.annotation.Nonnull public BigDecimal getOccupancy() { return occupancy; @@ -116,41 +114,44 @@ public void setOccupancy(BigDecimal occupancy) { } - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner priceList(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList priceList) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner priceList(Map priceList) { this.priceList = priceList; return this; } + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner putPriceListItem(String key, BigDecimal priceListItem) { + this.priceList.put(key, priceListItem); + return this; + } + /** - * Get priceList + * A mapping of number of days of stay to prices. * @return priceList **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList getPriceList() { + public Map getPriceList() { return priceList; } - public void setPriceList(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList priceList) { + public void setPriceList(Map priceList) { this.priceList = priceList; } - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner currencyCode(String currencyCode) { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } /** - * Get currencyCode + * The currency code for the prices. * @return currencyCode **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") + @javax.annotation.Nonnull public String getCurrencyCode() { return currencyCode; @@ -171,11 +172,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner = (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner) o; - return Objects.equals(this.dateTime, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.dateTime) && - Objects.equals(this.occupancy, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.occupancy) && - Objects.equals(this.priceList, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.priceList) && - Objects.equals(this.currencyCode, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.currencyCode); + PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner = (PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner) o; + return Objects.equals(this.dateTime, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.dateTime) && + Objects.equals(this.occupancy, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.occupancy) && + Objects.equals(this.priceList, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.priceList) && + Objects.equals(this.currencyCode, propertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.currencyCode); } @Override @@ -186,7 +187,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner {\n"); + sb.append("class PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner {\n"); sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n"); sb.append(" occupancy: ").append(toIndentedString(occupancy)).append("\n"); sb.append(" priceList: ").append(toIndentedString(priceList)).append("\n"); @@ -220,35 +221,40 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("dateTime"); + openapiRequiredFields.add("occupancy"); + openapiRequiredFields.add("priceList"); + openapiRequiredFields.add("currencyCode"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); } } - // validate the optional field `priceList` - if (jsonObj.getAsJsonObject("priceList") != null) { - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.validateJsonObject(jsonObj.getAsJsonObject("priceList")); + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); } } @@ -257,22 +263,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner' and its subtypes + if (!PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -283,18 +289,18 @@ public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListI } /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner + * @return An instance of PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner */ - public static V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.class); + public static PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner.class); } /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProperty.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProperty.java new file mode 100644 index 0000000..f1edfee --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProperty.java @@ -0,0 +1,781 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.AvailablePropertiesInner1Geo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyAwardListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyContactListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyGuestInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyRecordCreated; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyRecordModified; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyServiceListInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * An object containing all available base data for the requested property. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponseProperty { + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private String code; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_RECORD_CREATED = "recordCreated"; + @SerializedName(SERIALIZED_NAME_RECORD_CREATED) + private PropertiesPropertyIdGet200ResponsePropertyRecordCreated recordCreated; + + public static final String SERIALIZED_NAME_RECORD_MODIFIED = "recordModified"; + @SerializedName(SERIALIZED_NAME_RECORD_MODIFIED) + private PropertiesPropertyIdGet200ResponsePropertyRecordModified recordModified; + + public static final String SERIALIZED_NAME_PROPERTY_INFO = "propertyInfo"; + @SerializedName(SERIALIZED_NAME_PROPERTY_INFO) + private PropertiesPropertyIdGet200ResponsePropertyPropertyInfo propertyInfo; + + public static final String SERIALIZED_NAME_GUEST_INFO = "guestInfo"; + @SerializedName(SERIALIZED_NAME_GUEST_INFO) + private PropertiesPropertyIdGet200ResponsePropertyGuestInfo guestInfo; + + public static final String SERIALIZED_NAME_AWARD_LIST = "awardList"; + @SerializedName(SERIALIZED_NAME_AWARD_LIST) + private List awardList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CONTACT_LIST = "contactList"; + @SerializedName(SERIALIZED_NAME_CONTACT_LIST) + private List contactList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_FACILITY_INFO = "facilityInfo"; + @SerializedName(SERIALIZED_NAME_FACILITY_INFO) + private PropertiesPropertyIdGet200ResponsePropertyFacilityInfo facilityInfo; + + public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; + @SerializedName(SERIALIZED_NAME_MEDIA_LIST) + private List mediaList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_GEO = "geo"; + @SerializedName(SERIALIZED_NAME_GEO) + private Map geo = null; + + public static final String SERIALIZED_NAME_PUBLISHED = "published"; + @SerializedName(SERIALIZED_NAME_PUBLISHED) + private Boolean published; + + public static final String SERIALIZED_NAME_POLICY_LIST = "policyList"; + @SerializedName(SERIALIZED_NAME_POLICY_LIST) + private List policyList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_URI = "uri"; + @SerializedName(SERIALIZED_NAME_URI) + private String uri; + + public static final String SERIALIZED_NAME_CANCELLATION_GRACE_PERIOD = "cancellationGracePeriod"; + @SerializedName(SERIALIZED_NAME_CANCELLATION_GRACE_PERIOD) + private PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod cancellationGracePeriod; + + public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; + @SerializedName(SERIALIZED_NAME_SERVICE_LIST) + private List serviceList = new ArrayList<>(); + + public PropertiesPropertyIdGet200ResponseProperty() { + } + + public PropertiesPropertyIdGet200ResponseProperty code(String code) { + + this.code = code; + return this; + } + + /** + * The properties unique identifier. + * @return code + **/ + @javax.annotation.Nonnull + + public String getCode() { + return code; + } + + + public void setCode(String code) { + this.code = code; + } + + + public PropertiesPropertyIdGet200ResponseProperty name(String name) { + + this.name = name; + return this; + } + + /** + * The properties name. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public PropertiesPropertyIdGet200ResponseProperty recordCreated(PropertiesPropertyIdGet200ResponsePropertyRecordCreated recordCreated) { + + this.recordCreated = recordCreated; + return this; + } + + /** + * Get recordCreated + * @return recordCreated + **/ + @javax.annotation.Nonnull + + public PropertiesPropertyIdGet200ResponsePropertyRecordCreated getRecordCreated() { + return recordCreated; + } + + + public void setRecordCreated(PropertiesPropertyIdGet200ResponsePropertyRecordCreated recordCreated) { + this.recordCreated = recordCreated; + } + + + public PropertiesPropertyIdGet200ResponseProperty recordModified(PropertiesPropertyIdGet200ResponsePropertyRecordModified recordModified) { + + this.recordModified = recordModified; + return this; + } + + /** + * Get recordModified + * @return recordModified + **/ + @javax.annotation.Nonnull + + public PropertiesPropertyIdGet200ResponsePropertyRecordModified getRecordModified() { + return recordModified; + } + + + public void setRecordModified(PropertiesPropertyIdGet200ResponsePropertyRecordModified recordModified) { + this.recordModified = recordModified; + } + + + public PropertiesPropertyIdGet200ResponseProperty propertyInfo(PropertiesPropertyIdGet200ResponsePropertyPropertyInfo propertyInfo) { + + this.propertyInfo = propertyInfo; + return this; + } + + /** + * Get propertyInfo + * @return propertyInfo + **/ + @javax.annotation.Nonnull + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo getPropertyInfo() { + return propertyInfo; + } + + + public void setPropertyInfo(PropertiesPropertyIdGet200ResponsePropertyPropertyInfo propertyInfo) { + this.propertyInfo = propertyInfo; + } + + + public PropertiesPropertyIdGet200ResponseProperty guestInfo(PropertiesPropertyIdGet200ResponsePropertyGuestInfo guestInfo) { + + this.guestInfo = guestInfo; + return this; + } + + /** + * Get guestInfo + * @return guestInfo + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponsePropertyGuestInfo getGuestInfo() { + return guestInfo; + } + + + public void setGuestInfo(PropertiesPropertyIdGet200ResponsePropertyGuestInfo guestInfo) { + this.guestInfo = guestInfo; + } + + + public PropertiesPropertyIdGet200ResponseProperty awardList(List awardList) { + + this.awardList = awardList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProperty addAwardListItem(PropertiesPropertyIdGet200ResponsePropertyAwardListInner awardListItem) { + this.awardList.add(awardListItem); + return this; + } + + /** + * A list of the ratings available for this property. + * @return awardList + **/ + @javax.annotation.Nonnull + + public List getAwardList() { + return awardList; + } + + + public void setAwardList(List awardList) { + this.awardList = awardList; + } + + + public PropertiesPropertyIdGet200ResponseProperty contactList(List contactList) { + + this.contactList = contactList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProperty addContactListItem(PropertiesPropertyIdGet200ResponsePropertyContactListInner contactListItem) { + this.contactList.add(contactListItem); + return this; + } + + /** + * A contact with a profile type and a list of addresses + * @return contactList + **/ + @javax.annotation.Nonnull + + public List getContactList() { + return contactList; + } + + + public void setContactList(List contactList) { + this.contactList = contactList; + } + + + public PropertiesPropertyIdGet200ResponseProperty facilityInfo(PropertiesPropertyIdGet200ResponsePropertyFacilityInfo facilityInfo) { + + this.facilityInfo = facilityInfo; + return this; + } + + /** + * Get facilityInfo + * @return facilityInfo + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfo getFacilityInfo() { + return facilityInfo; + } + + + public void setFacilityInfo(PropertiesPropertyIdGet200ResponsePropertyFacilityInfo facilityInfo) { + this.facilityInfo = facilityInfo; + } + + + public PropertiesPropertyIdGet200ResponseProperty mediaList(List mediaList) { + + this.mediaList = mediaList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProperty addMediaListItem(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner mediaListItem) { + this.mediaList.add(mediaListItem); + return this; + } + + /** + * A list of media objects for the property. + * @return mediaList + **/ + @javax.annotation.Nonnull + + public List getMediaList() { + return mediaList; + } + + + public void setMediaList(List mediaList) { + this.mediaList = mediaList; + } + + + public PropertiesPropertyIdGet200ResponseProperty geo(Map geo) { + + this.geo = geo; + return this; + } + + public PropertiesPropertyIdGet200ResponseProperty putGeoItem(String key, AvailablePropertiesInner1Geo geoItem) { + if (this.geo == null) { + this.geo = new HashMap<>(); + } + this.geo.put(key, geoItem); + return this; + } + + /** + * An object containing language codes as keys and objects describing the properties geographical location as values. + * @return geo + **/ + @javax.annotation.Nullable + + public Map getGeo() { + return geo; + } + + + public void setGeo(Map geo) { + this.geo = geo; + } + + + public PropertiesPropertyIdGet200ResponseProperty published(Boolean published) { + + this.published = published; + return this; + } + + /** + * Indicates whether the policy has been published or not. + * @return published + **/ + @javax.annotation.Nonnull + + public Boolean getPublished() { + return published; + } + + + public void setPublished(Boolean published) { + this.published = published; + } + + + public PropertiesPropertyIdGet200ResponseProperty policyList(List policyList) { + + this.policyList = policyList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProperty addPolicyListItem(PropertiesPropertyIdGet200ResponsePropertyPolicyListInner policyListItem) { + this.policyList.add(policyListItem); + return this; + } + + /** + * A list of policies associated with the property. + * @return policyList + **/ + @javax.annotation.Nonnull + + public List getPolicyList() { + return policyList; + } + + + public void setPolicyList(List policyList) { + this.policyList = policyList; + } + + + public PropertiesPropertyIdGet200ResponseProperty uri(String uri) { + + this.uri = uri; + return this; + } + + /** + * A unique identifier for the accommodation. + * @return uri + **/ + @javax.annotation.Nullable + + public String getUri() { + return uri; + } + + + public void setUri(String uri) { + this.uri = uri; + } + + + public PropertiesPropertyIdGet200ResponseProperty cancellationGracePeriod(PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod cancellationGracePeriod) { + + this.cancellationGracePeriod = cancellationGracePeriod; + return this; + } + + /** + * Get cancellationGracePeriod + * @return cancellationGracePeriod + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod getCancellationGracePeriod() { + return cancellationGracePeriod; + } + + + public void setCancellationGracePeriod(PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod cancellationGracePeriod) { + this.cancellationGracePeriod = cancellationGracePeriod; + } + + + public PropertiesPropertyIdGet200ResponseProperty serviceList(List serviceList) { + + this.serviceList = serviceList; + return this; + } + + public PropertiesPropertyIdGet200ResponseProperty addServiceListItem(PropertiesPropertyIdGet200ResponsePropertyServiceListInner serviceListItem) { + this.serviceList.add(serviceListItem); + return this; + } + + /** + * A list of objects each describing an available service, its pricing and its availability. + * @return serviceList + **/ + @javax.annotation.Nonnull + + public List getServiceList() { + return serviceList; + } + + + public void setServiceList(List serviceList) { + this.serviceList = serviceList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponseProperty propertiesPropertyIdGet200ResponseProperty = (PropertiesPropertyIdGet200ResponseProperty) o; + return Objects.equals(this.code, propertiesPropertyIdGet200ResponseProperty.code) && + Objects.equals(this.name, propertiesPropertyIdGet200ResponseProperty.name) && + Objects.equals(this.recordCreated, propertiesPropertyIdGet200ResponseProperty.recordCreated) && + Objects.equals(this.recordModified, propertiesPropertyIdGet200ResponseProperty.recordModified) && + Objects.equals(this.propertyInfo, propertiesPropertyIdGet200ResponseProperty.propertyInfo) && + Objects.equals(this.guestInfo, propertiesPropertyIdGet200ResponseProperty.guestInfo) && + Objects.equals(this.awardList, propertiesPropertyIdGet200ResponseProperty.awardList) && + Objects.equals(this.contactList, propertiesPropertyIdGet200ResponseProperty.contactList) && + Objects.equals(this.facilityInfo, propertiesPropertyIdGet200ResponseProperty.facilityInfo) && + Objects.equals(this.mediaList, propertiesPropertyIdGet200ResponseProperty.mediaList) && + Objects.equals(this.geo, propertiesPropertyIdGet200ResponseProperty.geo) && + Objects.equals(this.published, propertiesPropertyIdGet200ResponseProperty.published) && + Objects.equals(this.policyList, propertiesPropertyIdGet200ResponseProperty.policyList) && + Objects.equals(this.uri, propertiesPropertyIdGet200ResponseProperty.uri) && + Objects.equals(this.cancellationGracePeriod, propertiesPropertyIdGet200ResponseProperty.cancellationGracePeriod) && + Objects.equals(this.serviceList, propertiesPropertyIdGet200ResponseProperty.serviceList); + } + + @Override + public int hashCode() { + return Objects.hash(code, name, recordCreated, recordModified, propertyInfo, guestInfo, awardList, contactList, facilityInfo, mediaList, geo, published, policyList, uri, cancellationGracePeriod, serviceList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponseProperty {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" recordCreated: ").append(toIndentedString(recordCreated)).append("\n"); + sb.append(" recordModified: ").append(toIndentedString(recordModified)).append("\n"); + sb.append(" propertyInfo: ").append(toIndentedString(propertyInfo)).append("\n"); + sb.append(" guestInfo: ").append(toIndentedString(guestInfo)).append("\n"); + sb.append(" awardList: ").append(toIndentedString(awardList)).append("\n"); + sb.append(" contactList: ").append(toIndentedString(contactList)).append("\n"); + sb.append(" facilityInfo: ").append(toIndentedString(facilityInfo)).append("\n"); + sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); + sb.append(" geo: ").append(toIndentedString(geo)).append("\n"); + sb.append(" published: ").append(toIndentedString(published)).append("\n"); + sb.append(" policyList: ").append(toIndentedString(policyList)).append("\n"); + sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); + sb.append(" cancellationGracePeriod: ").append(toIndentedString(cancellationGracePeriod)).append("\n"); + sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("code"); + openapiFields.add("name"); + openapiFields.add("recordCreated"); + openapiFields.add("recordModified"); + openapiFields.add("propertyInfo"); + openapiFields.add("guestInfo"); + openapiFields.add("awardList"); + openapiFields.add("contactList"); + openapiFields.add("facilityInfo"); + openapiFields.add("mediaList"); + openapiFields.add("geo"); + openapiFields.add("published"); + openapiFields.add("policyList"); + openapiFields.add("uri"); + openapiFields.add("cancellationGracePeriod"); + openapiFields.add("serviceList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("code"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("recordCreated"); + openapiRequiredFields.add("recordModified"); + openapiRequiredFields.add("propertyInfo"); + openapiRequiredFields.add("awardList"); + openapiRequiredFields.add("contactList"); + openapiRequiredFields.add("mediaList"); + openapiRequiredFields.add("published"); + openapiRequiredFields.add("policyList"); + openapiRequiredFields.add("serviceList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponseProperty + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponseProperty.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponseProperty is not found in the empty JSON string", PropertiesPropertyIdGet200ResponseProperty.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponseProperty.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponseProperty` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponseProperty.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // validate the required field `recordCreated` + PropertiesPropertyIdGet200ResponsePropertyRecordCreated.validateJsonObject(jsonObj.getAsJsonObject("recordCreated")); + // validate the required field `recordModified` + PropertiesPropertyIdGet200ResponsePropertyRecordModified.validateJsonObject(jsonObj.getAsJsonObject("recordModified")); + // validate the required field `propertyInfo` + PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.validateJsonObject(jsonObj.getAsJsonObject("propertyInfo")); + // validate the optional field `guestInfo` + if (jsonObj.get("guestInfo") != null && !jsonObj.get("guestInfo").isJsonNull()) { + PropertiesPropertyIdGet200ResponsePropertyGuestInfo.validateJsonObject(jsonObj.getAsJsonObject("guestInfo")); + } + // ensure the json data is an array + if (!jsonObj.get("awardList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `awardList` to be an array in the JSON string but got `%s`", jsonObj.get("awardList").toString())); + } + + JsonArray jsonArrayawardList = jsonObj.getAsJsonArray("awardList"); + // validate the required field `awardList` (array) + for (int i = 0; i < jsonArrayawardList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyAwardListInner.validateJsonObject(jsonArrayawardList.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("contactList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `contactList` to be an array in the JSON string but got `%s`", jsonObj.get("contactList").toString())); + } + + JsonArray jsonArraycontactList = jsonObj.getAsJsonArray("contactList"); + // validate the required field `contactList` (array) + for (int i = 0; i < jsonArraycontactList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyContactListInner.validateJsonObject(jsonArraycontactList.get(i).getAsJsonObject()); + }; + // validate the optional field `facilityInfo` + if (jsonObj.get("facilityInfo") != null && !jsonObj.get("facilityInfo").isJsonNull()) { + PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.validateJsonObject(jsonObj.getAsJsonObject("facilityInfo")); + } + // ensure the json data is an array + if (!jsonObj.get("mediaList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); + } + + JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); + // validate the required field `mediaList` (array) + for (int i = 0; i < jsonArraymediaList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("policyList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `policyList` to be an array in the JSON string but got `%s`", jsonObj.get("policyList").toString())); + } + + JsonArray jsonArraypolicyList = jsonObj.getAsJsonArray("policyList"); + // validate the required field `policyList` (array) + for (int i = 0; i < jsonArraypolicyList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.validateJsonObject(jsonArraypolicyList.get(i).getAsJsonObject()); + }; + if ((jsonObj.get("uri") != null && !jsonObj.get("uri").isJsonNull()) && !jsonObj.get("uri").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uri").toString())); + } + // validate the optional field `cancellationGracePeriod` + if (jsonObj.get("cancellationGracePeriod") != null && !jsonObj.get("cancellationGracePeriod").isJsonNull()) { + PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.validateJsonObject(jsonObj.getAsJsonObject("cancellationGracePeriod")); + } + // ensure the json data is an array + if (!jsonObj.get("serviceList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); + } + + JsonArray jsonArrayserviceList = jsonObj.getAsJsonArray("serviceList"); + // validate the required field `serviceList` (array) + for (int i = 0; i < jsonArrayserviceList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyServiceListInner.validateJsonObject(jsonArrayserviceList.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponseProperty.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponseProperty' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponseProperty.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponseProperty value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponseProperty read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponseProperty given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponseProperty + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponseProperty + */ + public static PropertiesPropertyIdGet200ResponseProperty fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponseProperty.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponseProperty to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.java new file mode 100644 index 0000000..c5ba139 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInner.java @@ -0,0 +1,289 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyAwardListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyAwardListInner { + /** + * The source of this rating. Currently only <code>star-rating</code> is possible. + */ + @JsonAdapter(ProviderEnum.Adapter.class) + public enum ProviderEnum { + STAR_RATING("star-rating"); + + private String value; + + ProviderEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ProviderEnum fromValue(String value) { + for (ProviderEnum b : ProviderEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ProviderEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ProviderEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ProviderEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PROVIDER = "provider"; + @SerializedName(SERIALIZED_NAME_PROVIDER) + private ProviderEnum provider; + + public static final String SERIALIZED_NAME_RATING = "rating"; + @SerializedName(SERIALIZED_NAME_RATING) + private BigDecimal rating; + + public PropertiesPropertyIdGet200ResponsePropertyAwardListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyAwardListInner provider(ProviderEnum provider) { + + this.provider = provider; + return this; + } + + /** + * The source of this rating. Currently only <code>star-rating</code> is possible. + * @return provider + **/ + @javax.annotation.Nonnull + + public ProviderEnum getProvider() { + return provider; + } + + + public void setProvider(ProviderEnum provider) { + this.provider = provider; + } + + + public PropertiesPropertyIdGet200ResponsePropertyAwardListInner rating(BigDecimal rating) { + + this.rating = rating; + return this; + } + + /** + * The value of this rating + * @return rating + **/ + @javax.annotation.Nonnull + + public BigDecimal getRating() { + return rating; + } + + + public void setRating(BigDecimal rating) { + this.rating = rating; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyAwardListInner propertiesPropertyIdGet200ResponsePropertyAwardListInner = (PropertiesPropertyIdGet200ResponsePropertyAwardListInner) o; + return Objects.equals(this.provider, propertiesPropertyIdGet200ResponsePropertyAwardListInner.provider) && + Objects.equals(this.rating, propertiesPropertyIdGet200ResponsePropertyAwardListInner.rating); + } + + @Override + public int hashCode() { + return Objects.hash(provider, rating); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyAwardListInner {\n"); + sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + sb.append(" rating: ").append(toIndentedString(rating)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("provider"); + openapiFields.add("rating"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("provider"); + openapiRequiredFields.add("rating"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyAwardListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyAwardListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyAwardListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyAwardListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyAwardListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyAwardListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyAwardListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("provider").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `provider` to be a primitive type in the JSON string but got `%s`", jsonObj.get("provider").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyAwardListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyAwardListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyAwardListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyAwardListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyAwardListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyAwardListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyAwardListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyAwardListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyAwardListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyAwardListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyAwardListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.java similarity index 55% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.java index dae8b88..870da37 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; @@ -39,6 +37,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -46,10 +45,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponsePropertyCancellationGracePeriod + * An object describing the cancellation grace periods. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyCancellationGracePeriod { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod { public static final String SERIALIZED_NAME_HOURS_AFTER_BOOKING = "hoursAfterBooking"; @SerializedName(SERIALIZED_NAME_HOURS_AFTER_BOOKING) private BigDecimal hoursAfterBooking; @@ -58,21 +57,20 @@ public class V1PropertyGetPost200ResponsePropertyCancellationGracePeriod { @SerializedName(SERIALIZED_NAME_WEEKS_BEFORE_CHECK_IN) private BigDecimal weeksBeforeCheckIn; - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod() { + public PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod() { } - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod hoursAfterBooking(BigDecimal hoursAfterBooking) { + public PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod hoursAfterBooking(BigDecimal hoursAfterBooking) { this.hoursAfterBooking = hoursAfterBooking; return this; } /** - * Get hoursAfterBooking + * The number of hours after booking that the cancellation grace period starts. * @return hoursAfterBooking **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "24", value = "") + @javax.annotation.Nonnull public BigDecimal getHoursAfterBooking() { return hoursAfterBooking; @@ -84,18 +82,17 @@ public void setHoursAfterBooking(BigDecimal hoursAfterBooking) { } - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod weeksBeforeCheckIn(BigDecimal weeksBeforeCheckIn) { + public PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod weeksBeforeCheckIn(BigDecimal weeksBeforeCheckIn) { this.weeksBeforeCheckIn = weeksBeforeCheckIn; return this; } /** - * Get weeksBeforeCheckIn + * The number of weeks before check-in that the cancellation grace period starts. * @return weeksBeforeCheckIn **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getWeeksBeforeCheckIn() { return weeksBeforeCheckIn; @@ -116,9 +113,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponsePropertyCancellationGracePeriod v1PropertyGetPost200ResponsePropertyCancellationGracePeriod = (V1PropertyGetPost200ResponsePropertyCancellationGracePeriod) o; - return Objects.equals(this.hoursAfterBooking, v1PropertyGetPost200ResponsePropertyCancellationGracePeriod.hoursAfterBooking) && - Objects.equals(this.weeksBeforeCheckIn, v1PropertyGetPost200ResponsePropertyCancellationGracePeriod.weeksBeforeCheckIn); + PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod propertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod = (PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod) o; + return Objects.equals(this.hoursAfterBooking, propertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.hoursAfterBooking) && + Objects.equals(this.weeksBeforeCheckIn, propertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.weeksBeforeCheckIn); } @Override @@ -129,7 +126,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyCancellationGracePeriod {\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod {\n"); sb.append(" hoursAfterBooking: ").append(toIndentedString(hoursAfterBooking)).append("\n"); sb.append(" weeksBeforeCheckIn: ").append(toIndentedString(weeksBeforeCheckIn)).append("\n"); sb.append("}"); @@ -159,28 +156,35 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("hoursAfterBooking"); + openapiRequiredFields.add("weeksBeforeCheckIn"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyCancellationGracePeriod + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyCancellationGracePeriod is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyCancellationGracePeriod` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } } @@ -189,22 +193,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyCancellationGracePeriod' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyCancellationGracePeriod value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -215,18 +219,18 @@ public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod read(JsonRead } /** - * Create an instance of V1PropertyGetPost200ResponsePropertyCancellationGracePeriod given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyCancellationGracePeriod + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod */ - public static V1PropertyGetPost200ResponsePropertyCancellationGracePeriod fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.class); + public static PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod.class); } /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyCancellationGracePeriod to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInner.java new file mode 100644 index 0000000..4f34642 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInner.java @@ -0,0 +1,324 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyContactListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyContactListInner { + /** + * The type of profile this contact belongs to. + */ + @JsonAdapter(ProfileTypeEnum.Adapter.class) + public enum ProfileTypeEnum { + GENERAL("general"), + + CONTRACT("contract"), + + RESERVATIONS("reservations"), + + INVOICES("invoices"), + + AVAILABILITY("availability"), + + SITE_CONTENT("site_content"), + + PARITY("parity"), + + REQUESTS("requests"), + + CENTRAL_RESERVATIONS("central_reservations"), + + PHYSICALLOCATION("physicallocation"); + + private String value; + + ProfileTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ProfileTypeEnum fromValue(String value) { + for (ProfileTypeEnum b : ProfileTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ProfileTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ProfileTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ProfileTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PROFILE_TYPE = "profileType"; + @SerializedName(SERIALIZED_NAME_PROFILE_TYPE) + private ProfileTypeEnum profileType; + + public static final String SERIALIZED_NAME_ADDRESS_LIST = "addressList"; + @SerializedName(SERIALIZED_NAME_ADDRESS_LIST) + private List addressList = new ArrayList<>(); + + public PropertiesPropertyIdGet200ResponsePropertyContactListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyContactListInner profileType(ProfileTypeEnum profileType) { + + this.profileType = profileType; + return this; + } + + /** + * The type of profile this contact belongs to. + * @return profileType + **/ + @javax.annotation.Nonnull + + public ProfileTypeEnum getProfileType() { + return profileType; + } + + + public void setProfileType(ProfileTypeEnum profileType) { + this.profileType = profileType; + } + + + public PropertiesPropertyIdGet200ResponsePropertyContactListInner addressList(List addressList) { + + this.addressList = addressList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyContactListInner addAddressListItem(PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner addressListItem) { + this.addressList.add(addressListItem); + return this; + } + + /** + * A list of addresses for this contact + * @return addressList + **/ + @javax.annotation.Nonnull + + public List getAddressList() { + return addressList; + } + + + public void setAddressList(List addressList) { + this.addressList = addressList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyContactListInner propertiesPropertyIdGet200ResponsePropertyContactListInner = (PropertiesPropertyIdGet200ResponsePropertyContactListInner) o; + return Objects.equals(this.profileType, propertiesPropertyIdGet200ResponsePropertyContactListInner.profileType) && + Objects.equals(this.addressList, propertiesPropertyIdGet200ResponsePropertyContactListInner.addressList); + } + + @Override + public int hashCode() { + return Objects.hash(profileType, addressList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyContactListInner {\n"); + sb.append(" profileType: ").append(toIndentedString(profileType)).append("\n"); + sb.append(" addressList: ").append(toIndentedString(addressList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("profileType"); + openapiFields.add("addressList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("profileType"); + openapiRequiredFields.add("addressList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyContactListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyContactListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyContactListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyContactListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyContactListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyContactListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyContactListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("profileType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `profileType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("profileType").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("addressList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `addressList` to be an array in the JSON string but got `%s`", jsonObj.get("addressList").toString())); + } + + JsonArray jsonArrayaddressList = jsonObj.getAsJsonArray("addressList"); + // validate the required field `addressList` (array) + for (int i = 0; i < jsonArrayaddressList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.validateJsonObject(jsonArrayaddressList.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyContactListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyContactListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyContactListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyContactListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyContactListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyContactListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyContactListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyContactListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyContactListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyContactListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyContactListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.java similarity index 57% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.java index c6e7789..4f8faef 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import com.google.gson.Gson; @@ -38,6 +36,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -45,10 +44,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner + * PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner { public static final String SERIALIZED_NAME_ADDRESS_LINE = "addressLine"; @SerializedName(SERIALIZED_NAME_ADDRESS_LINE) private String addressLine; @@ -73,21 +72,20 @@ public class V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInne @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) private String countryCode; - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner() { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner() { } - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner addressLine(String addressLine) { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner addressLine(String addressLine) { this.addressLine = addressLine; return this; } /** - * Get addressLine + * The first line of the address for this contact * @return addressLine **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20", value = "") + @javax.annotation.Nonnull public String getAddressLine() { return addressLine; @@ -99,18 +97,17 @@ public void setAddressLine(String addressLine) { } - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner propertyName(String propertyName) { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner propertyName(String propertyName) { this.propertyName = propertyName; return this; } /** - * Get propertyName + * The name of the property for this contact * @return propertyName **/ @javax.annotation.Nullable - @ApiModelProperty(example = "Strandresidenz Sylt", value = "") public String getPropertyName() { return propertyName; @@ -122,18 +119,17 @@ public void setPropertyName(String propertyName) { } - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner cityName(String cityName) { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner cityName(String cityName) { this.cityName = cityName; return this; } /** - * Get cityName + * The city of this contact * @return cityName **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") + @javax.annotation.Nonnull public String getCityName() { return cityName; @@ -145,18 +141,17 @@ public void setCityName(String cityName) { } - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner postalCode(String postalCode) { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner postalCode(String postalCode) { this.postalCode = postalCode; return this; } /** - * Get postalCode + * The postal code of this contact * @return postalCode **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") + @javax.annotation.Nonnull public String getPostalCode() { return postalCode; @@ -168,18 +163,17 @@ public void setPostalCode(String postalCode) { } - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner state(String state) { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner state(String state) { this.state = state; return this; } /** - * Get state + * The state/region of this contact * @return state **/ @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") public String getState() { return state; @@ -191,18 +185,17 @@ public void setState(String state) { } - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner countryCode(String countryCode) { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner countryCode(String countryCode) { this.countryCode = countryCode; return this; } /** - * Get countryCode + * The country code of this contact * @return countryCode **/ @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") public String getCountryCode() { return countryCode; @@ -223,13 +216,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner = (V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner) o; - return Objects.equals(this.addressLine, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.addressLine) && - Objects.equals(this.propertyName, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.propertyName) && - Objects.equals(this.cityName, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.cityName) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.postalCode) && - Objects.equals(this.state, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.state) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.countryCode); + PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner propertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner = (PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner) o; + return Objects.equals(this.addressLine, propertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.addressLine) && + Objects.equals(this.propertyName, propertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.propertyName) && + Objects.equals(this.cityName, propertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.cityName) && + Objects.equals(this.postalCode, propertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.postalCode) && + Objects.equals(this.state, propertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.state) && + Objects.equals(this.countryCode, propertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.countryCode); } @Override @@ -240,7 +233,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner {\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner {\n"); sb.append(" addressLine: ").append(toIndentedString(addressLine)).append("\n"); sb.append(" propertyName: ").append(toIndentedString(propertyName)).append("\n"); sb.append(" cityName: ").append(toIndentedString(cityName)).append("\n"); @@ -278,46 +271,54 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("addressLine"); + openapiRequiredFields.add("cityName"); + openapiRequiredFields.add("postalCode"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (jsonObj.get("addressLine") != null && !jsonObj.get("addressLine").isJsonPrimitive()) { + if (!jsonObj.get("addressLine").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `addressLine` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine").toString())); } - if (jsonObj.get("propertyName") != null && !jsonObj.get("propertyName").isJsonPrimitive()) { + if ((jsonObj.get("propertyName") != null && !jsonObj.get("propertyName").isJsonNull()) && !jsonObj.get("propertyName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `propertyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyName").toString())); } - if (jsonObj.get("cityName") != null && !jsonObj.get("cityName").isJsonPrimitive()) { + if (!jsonObj.get("cityName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `cityName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cityName").toString())); } - if (jsonObj.get("postalCode") != null && !jsonObj.get("postalCode").isJsonPrimitive()) { + if (!jsonObj.get("postalCode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); } - if (jsonObj.get("state") != null && !jsonObj.get("state").isJsonPrimitive()) { + if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); } - if (jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonPrimitive()) { + if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); } } @@ -326,22 +327,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -352,18 +353,18 @@ public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner read } /** - * Create an instance of V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner */ - public static V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.class); + public static PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner.class); } /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.java new file mode 100644 index 0000000..389b8af --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.java @@ -0,0 +1,228 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * Further information regarding the facility. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfo { + public static final String SERIALIZED_NAME_GUEST_ROOM_LIST = "guestRoomList"; + @SerializedName(SERIALIZED_NAME_GUEST_ROOM_LIST) + private List guestRoomList = new ArrayList<>(); + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfo() { + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfo guestRoomList(List guestRoomList) { + + this.guestRoomList = guestRoomList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfo addGuestRoomListItem(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner guestRoomListItem) { + this.guestRoomList.add(guestRoomListItem); + return this; + } + + /** + * An array of objects representing a room in the property. + * @return guestRoomList + **/ + @javax.annotation.Nonnull + + public List getGuestRoomList() { + return guestRoomList; + } + + + public void setGuestRoomList(List guestRoomList) { + this.guestRoomList = guestRoomList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyFacilityInfo propertiesPropertyIdGet200ResponsePropertyFacilityInfo = (PropertiesPropertyIdGet200ResponsePropertyFacilityInfo) o; + return Objects.equals(this.guestRoomList, propertiesPropertyIdGet200ResponsePropertyFacilityInfo.guestRoomList); + } + + @Override + public int hashCode() { + return Objects.hash(guestRoomList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyFacilityInfo {\n"); + sb.append(" guestRoomList: ").append(toIndentedString(guestRoomList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("guestRoomList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("guestRoomList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfo + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyFacilityInfo is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyFacilityInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("guestRoomList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `guestRoomList` to be an array in the JSON string but got `%s`", jsonObj.get("guestRoomList").toString())); + } + + JsonArray jsonArrayguestRoomList = jsonObj.getAsJsonArray("guestRoomList"); + // validate the required field `guestRoomList` (array) + for (int i = 0; i < jsonArrayguestRoomList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.validateJsonObject(jsonArrayguestRoomList.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyFacilityInfo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyFacilityInfo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfo read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfo + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfo + */ + public static PropertiesPropertyIdGet200ResponsePropertyFacilityInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyFacilityInfo.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.java new file mode 100644 index 0000000..d841a4b --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.java @@ -0,0 +1,646 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * An object representing a room in the property. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner { + public static final String SERIALIZED_NAME_IS_ACTIVE = "isActive"; + @SerializedName(SERIALIZED_NAME_IS_ACTIVE) + private Boolean isActive; + + public static final String SERIALIZED_NAME_ROOM_ID = "roomId"; + @SerializedName(SERIALIZED_NAME_ROOM_ID) + private String roomId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; + @SerializedName(SERIALIZED_NAME_MEDIA_LIST) + private List mediaList = new ArrayList<>(); + + /** + * The unit and room type code.<p>See also <a href=\"#unitand-room-type-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(RoomTypeCodeEnum.Adapter.class) + public enum RoomTypeCodeEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")); + + private BigDecimal value; + + RoomTypeCodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RoomTypeCodeEnum fromValue(BigDecimal value) { + for (RoomTypeCodeEnum b : RoomTypeCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final RoomTypeCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RoomTypeCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RoomTypeCodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_ROOM_TYPE_CODE = "roomTypeCode"; + @SerializedName(SERIALIZED_NAME_ROOM_TYPE_CODE) + private RoomTypeCodeEnum roomTypeCode; + + public static final String SERIALIZED_NAME_IS_NON_SMOKING = "isNonSmoking"; + @SerializedName(SERIALIZED_NAME_IS_NON_SMOKING) + private Boolean isNonSmoking; + + public static final String SERIALIZED_NAME_AMENITY_LIST = "amenityList"; + @SerializedName(SERIALIZED_NAME_AMENITY_LIST) + private List amenityList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_MESSAGE_LIST = "messageList"; + @SerializedName(SERIALIZED_NAME_MESSAGE_LIST) + private List messageList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_MAX_OCCUPANCY = "maxOccupancy"; + @SerializedName(SERIALIZED_NAME_MAX_OCCUPANCY) + private BigDecimal maxOccupancy; + + public static final String SERIALIZED_NAME_MAX_ADULT_OCCUPANCY = "maxAdultOccupancy"; + @SerializedName(SERIALIZED_NAME_MAX_ADULT_OCCUPANCY) + private BigDecimal maxAdultOccupancy; + + public static final String SERIALIZED_NAME_MAX_CHILD_OCCUPANCY = "maxChildOccupancy"; + @SerializedName(SERIALIZED_NAME_MAX_CHILD_OCCUPANCY) + private BigDecimal maxChildOccupancy; + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner isActive(Boolean isActive) { + + this.isActive = isActive; + return this; + } + + /** + * Indicates whether the room is active or not. + * @return isActive + **/ + @javax.annotation.Nonnull + + public Boolean getIsActive() { + return isActive; + } + + + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner roomId(String roomId) { + + this.roomId = roomId; + return this; + } + + /** + * The unique identifier for the room. + * @return roomId + **/ + @javax.annotation.Nonnull + + public String getRoomId() { + return roomId; + } + + + public void setRoomId(String roomId) { + this.roomId = roomId; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner name(String name) { + + this.name = name; + return this; + } + + /** + * The name of the room. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner mediaList(List mediaList) { + + this.mediaList = mediaList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner addMediaListItem(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner mediaListItem) { + this.mediaList.add(mediaListItem); + return this; + } + + /** + * A list of media objects for the room. + * @return mediaList + **/ + @javax.annotation.Nonnull + + public List getMediaList() { + return mediaList; + } + + + public void setMediaList(List mediaList) { + this.mediaList = mediaList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner roomTypeCode(RoomTypeCodeEnum roomTypeCode) { + + this.roomTypeCode = roomTypeCode; + return this; + } + + /** + * The unit and room type code.<p>See also <a href=\"#unitand-room-type-codes\">in the appendix</a>.</p> + * @return roomTypeCode + **/ + @javax.annotation.Nonnull + + public RoomTypeCodeEnum getRoomTypeCode() { + return roomTypeCode; + } + + + public void setRoomTypeCode(RoomTypeCodeEnum roomTypeCode) { + this.roomTypeCode = roomTypeCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner isNonSmoking(Boolean isNonSmoking) { + + this.isNonSmoking = isNonSmoking; + return this; + } + + /** + * Indicates whether the room is designated as non-smoking. + * @return isNonSmoking + **/ + @javax.annotation.Nonnull + + public Boolean getIsNonSmoking() { + return isNonSmoking; + } + + + public void setIsNonSmoking(Boolean isNonSmoking) { + this.isNonSmoking = isNonSmoking; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner amenityList(List amenityList) { + + this.amenityList = amenityList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner addAmenityListItem(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner amenityListItem) { + this.amenityList.add(amenityListItem); + return this; + } + + /** + * A list of amenities provided in the room. + * @return amenityList + **/ + @javax.annotation.Nonnull + + public List getAmenityList() { + return amenityList; + } + + + public void setAmenityList(List amenityList) { + this.amenityList = amenityList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner messageList(List messageList) { + + this.messageList = messageList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner addMessageListItem(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner messageListItem) { + this.messageList.add(messageListItem); + return this; + } + + /** + * A list of messages associated with the room. + * @return messageList + **/ + @javax.annotation.Nonnull + + public List getMessageList() { + return messageList; + } + + + public void setMessageList(List messageList) { + this.messageList = messageList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner maxOccupancy(BigDecimal maxOccupancy) { + + this.maxOccupancy = maxOccupancy; + return this; + } + + /** + * The maximum occupancy of the room. + * @return maxOccupancy + **/ + @javax.annotation.Nonnull + + public BigDecimal getMaxOccupancy() { + return maxOccupancy; + } + + + public void setMaxOccupancy(BigDecimal maxOccupancy) { + this.maxOccupancy = maxOccupancy; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner maxAdultOccupancy(BigDecimal maxAdultOccupancy) { + + this.maxAdultOccupancy = maxAdultOccupancy; + return this; + } + + /** + * The maximum number of adults that can occupy the room. + * @return maxAdultOccupancy + **/ + @javax.annotation.Nonnull + + public BigDecimal getMaxAdultOccupancy() { + return maxAdultOccupancy; + } + + + public void setMaxAdultOccupancy(BigDecimal maxAdultOccupancy) { + this.maxAdultOccupancy = maxAdultOccupancy; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner maxChildOccupancy(BigDecimal maxChildOccupancy) { + + this.maxChildOccupancy = maxChildOccupancy; + return this; + } + + /** + * The maximum number of children that can occupy the room. + * @return maxChildOccupancy + **/ + @javax.annotation.Nonnull + + public BigDecimal getMaxChildOccupancy() { + return maxChildOccupancy; + } + + + public void setMaxChildOccupancy(BigDecimal maxChildOccupancy) { + this.maxChildOccupancy = maxChildOccupancy; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner = (PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner) o; + return Objects.equals(this.isActive, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.isActive) && + Objects.equals(this.roomId, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.roomId) && + Objects.equals(this.name, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.name) && + Objects.equals(this.mediaList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.mediaList) && + Objects.equals(this.roomTypeCode, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.roomTypeCode) && + Objects.equals(this.isNonSmoking, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.isNonSmoking) && + Objects.equals(this.amenityList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.amenityList) && + Objects.equals(this.messageList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.messageList) && + Objects.equals(this.maxOccupancy, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.maxOccupancy) && + Objects.equals(this.maxAdultOccupancy, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.maxAdultOccupancy) && + Objects.equals(this.maxChildOccupancy, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.maxChildOccupancy); + } + + @Override + public int hashCode() { + return Objects.hash(isActive, roomId, name, mediaList, roomTypeCode, isNonSmoking, amenityList, messageList, maxOccupancy, maxAdultOccupancy, maxChildOccupancy); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner {\n"); + sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" roomId: ").append(toIndentedString(roomId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); + sb.append(" roomTypeCode: ").append(toIndentedString(roomTypeCode)).append("\n"); + sb.append(" isNonSmoking: ").append(toIndentedString(isNonSmoking)).append("\n"); + sb.append(" amenityList: ").append(toIndentedString(amenityList)).append("\n"); + sb.append(" messageList: ").append(toIndentedString(messageList)).append("\n"); + sb.append(" maxOccupancy: ").append(toIndentedString(maxOccupancy)).append("\n"); + sb.append(" maxAdultOccupancy: ").append(toIndentedString(maxAdultOccupancy)).append("\n"); + sb.append(" maxChildOccupancy: ").append(toIndentedString(maxChildOccupancy)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("isActive"); + openapiFields.add("roomId"); + openapiFields.add("name"); + openapiFields.add("mediaList"); + openapiFields.add("roomTypeCode"); + openapiFields.add("isNonSmoking"); + openapiFields.add("amenityList"); + openapiFields.add("messageList"); + openapiFields.add("maxOccupancy"); + openapiFields.add("maxAdultOccupancy"); + openapiFields.add("maxChildOccupancy"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("isActive"); + openapiRequiredFields.add("roomId"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("mediaList"); + openapiRequiredFields.add("roomTypeCode"); + openapiRequiredFields.add("isNonSmoking"); + openapiRequiredFields.add("amenityList"); + openapiRequiredFields.add("messageList"); + openapiRequiredFields.add("maxOccupancy"); + openapiRequiredFields.add("maxAdultOccupancy"); + openapiRequiredFields.add("maxChildOccupancy"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("roomId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `roomId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roomId").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("mediaList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); + } + + JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); + // validate the required field `mediaList` (array) + for (int i = 0; i < jsonArraymediaList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("amenityList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `amenityList` to be an array in the JSON string but got `%s`", jsonObj.get("amenityList").toString())); + } + + JsonArray jsonArrayamenityList = jsonObj.getAsJsonArray("amenityList"); + // validate the required field `amenityList` (array) + for (int i = 0; i < jsonArrayamenityList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.validateJsonObject(jsonArrayamenityList.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("messageList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `messageList` to be an array in the JSON string but got `%s`", jsonObj.get("messageList").toString())); + } + + JsonArray jsonArraymessageList = jsonObj.getAsJsonArray("messageList"); + // validate the required field `messageList` (array) + for (int i = 0; i < jsonArraymessageList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.validateJsonObject(jsonArraymessageList.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java new file mode 100644 index 0000000..7c67733 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java @@ -0,0 +1,1228 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner { + /** + * The code indicating the room amenity type.<p>See also <a href=\"#unitand-room-amenity-type-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(CodeEnum.Adapter.class) + public enum CodeEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_111(new BigDecimal("111")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_117(new BigDecimal("117")), + + NUMBER_118(new BigDecimal("118")), + + NUMBER_119(new BigDecimal("119")), + + NUMBER_120(new BigDecimal("120")), + + NUMBER_121(new BigDecimal("121")), + + NUMBER_122(new BigDecimal("122")), + + NUMBER_123(new BigDecimal("123")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_126(new BigDecimal("126")), + + NUMBER_127(new BigDecimal("127")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_129(new BigDecimal("129")), + + NUMBER_130(new BigDecimal("130")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_132(new BigDecimal("132")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_135(new BigDecimal("135")), + + NUMBER_136(new BigDecimal("136")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_138(new BigDecimal("138")), + + NUMBER_139(new BigDecimal("139")), + + NUMBER_140(new BigDecimal("140")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_142(new BigDecimal("142")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_144(new BigDecimal("144")), + + NUMBER_145(new BigDecimal("145")), + + NUMBER_146(new BigDecimal("146")), + + NUMBER_147(new BigDecimal("147")), + + NUMBER_148(new BigDecimal("148")), + + NUMBER_149(new BigDecimal("149")), + + NUMBER_150(new BigDecimal("150")), + + NUMBER_151(new BigDecimal("151")), + + NUMBER_152(new BigDecimal("152")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_162(new BigDecimal("162")), + + NUMBER_163(new BigDecimal("163")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_166(new BigDecimal("166")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_168(new BigDecimal("168")), + + NUMBER_169(new BigDecimal("169")), + + NUMBER_170(new BigDecimal("170")), + + NUMBER_171(new BigDecimal("171")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_174(new BigDecimal("174")), + + NUMBER_175(new BigDecimal("175")), + + NUMBER_176(new BigDecimal("176")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_180(new BigDecimal("180")), + + NUMBER_181(new BigDecimal("181")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_195(new BigDecimal("195")), + + NUMBER_196(new BigDecimal("196")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_200(new BigDecimal("200")), + + NUMBER_201(new BigDecimal("201")), + + NUMBER_202(new BigDecimal("202")), + + NUMBER_203(new BigDecimal("203")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_206(new BigDecimal("206")), + + NUMBER_207(new BigDecimal("207")), + + NUMBER_208(new BigDecimal("208")), + + NUMBER_209(new BigDecimal("209")), + + NUMBER_210(new BigDecimal("210")), + + NUMBER_211(new BigDecimal("211")), + + NUMBER_212(new BigDecimal("212")), + + NUMBER_213(new BigDecimal("213")), + + NUMBER_214(new BigDecimal("214")), + + NUMBER_215(new BigDecimal("215")), + + NUMBER_216(new BigDecimal("216")), + + NUMBER_217(new BigDecimal("217")), + + NUMBER_218(new BigDecimal("218")), + + NUMBER_219(new BigDecimal("219")), + + NUMBER_220(new BigDecimal("220")), + + NUMBER_221(new BigDecimal("221")), + + NUMBER_222(new BigDecimal("222")), + + NUMBER_223(new BigDecimal("223")), + + NUMBER_224(new BigDecimal("224")), + + NUMBER_225(new BigDecimal("225")), + + NUMBER_226(new BigDecimal("226")), + + NUMBER_227(new BigDecimal("227")), + + NUMBER_228(new BigDecimal("228")), + + NUMBER_229(new BigDecimal("229")), + + NUMBER_230(new BigDecimal("230")), + + NUMBER_231(new BigDecimal("231")), + + NUMBER_232(new BigDecimal("232")), + + NUMBER_233(new BigDecimal("233")), + + NUMBER_234(new BigDecimal("234")), + + NUMBER_235(new BigDecimal("235")), + + NUMBER_236(new BigDecimal("236")), + + NUMBER_237(new BigDecimal("237")), + + NUMBER_238(new BigDecimal("238")), + + NUMBER_239(new BigDecimal("239")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_243(new BigDecimal("243")), + + NUMBER_244(new BigDecimal("244")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_274(new BigDecimal("274")), + + NUMBER_275(new BigDecimal("275")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5019(new BigDecimal("5019")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5034(new BigDecimal("5034")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_5037(new BigDecimal("5037")), + + NUMBER_5038(new BigDecimal("5038")), + + NUMBER_5039(new BigDecimal("5039")), + + NUMBER_5040(new BigDecimal("5040")), + + NUMBER_5041(new BigDecimal("5041")), + + NUMBER_5042(new BigDecimal("5042")), + + NUMBER_5043(new BigDecimal("5043")), + + NUMBER_5044(new BigDecimal("5044")), + + NUMBER_5045(new BigDecimal("5045")), + + NUMBER_5046(new BigDecimal("5046")), + + NUMBER_5068(new BigDecimal("5068")), + + NUMBER_5069(new BigDecimal("5069")), + + NUMBER_5070(new BigDecimal("5070")), + + NUMBER_5071(new BigDecimal("5071")), + + NUMBER_5072(new BigDecimal("5072")), + + NUMBER_5073(new BigDecimal("5073")), + + NUMBER_5074(new BigDecimal("5074")), + + NUMBER_5075(new BigDecimal("5075")), + + NUMBER_5076(new BigDecimal("5076")), + + NUMBER_5077(new BigDecimal("5077")), + + NUMBER_5079(new BigDecimal("5079")), + + NUMBER_5080(new BigDecimal("5080")), + + NUMBER_5081(new BigDecimal("5081")), + + NUMBER_5082(new BigDecimal("5082")), + + NUMBER_5083(new BigDecimal("5083")), + + NUMBER_5084(new BigDecimal("5084")), + + NUMBER_5085(new BigDecimal("5085")), + + NUMBER_5086(new BigDecimal("5086")), + + NUMBER_5087(new BigDecimal("5087")), + + NUMBER_5088(new BigDecimal("5088")), + + NUMBER_5089(new BigDecimal("5089")), + + NUMBER_5090(new BigDecimal("5090")), + + NUMBER_5091(new BigDecimal("5091")), + + NUMBER_5092(new BigDecimal("5092")), + + NUMBER_5093(new BigDecimal("5093")), + + NUMBER_5094(new BigDecimal("5094")), + + NUMBER_5095(new BigDecimal("5095")), + + NUMBER_5096(new BigDecimal("5096")), + + NUMBER_5097(new BigDecimal("5097")), + + NUMBER_5098(new BigDecimal("5098")), + + NUMBER_5099(new BigDecimal("5099")), + + NUMBER_5100(new BigDecimal("5100")), + + NUMBER_5101(new BigDecimal("5101")), + + NUMBER_5102(new BigDecimal("5102")), + + NUMBER_5103(new BigDecimal("5103")), + + NUMBER_5104(new BigDecimal("5104")), + + NUMBER_5105(new BigDecimal("5105")), + + NUMBER_5106(new BigDecimal("5106")), + + NUMBER_5107(new BigDecimal("5107")), + + NUMBER_5108(new BigDecimal("5108")), + + NUMBER_5109(new BigDecimal("5109")), + + NUMBER_5110(new BigDecimal("5110")), + + NUMBER_5111(new BigDecimal("5111")), + + NUMBER_5112(new BigDecimal("5112")), + + NUMBER_5113(new BigDecimal("5113")), + + NUMBER_5114(new BigDecimal("5114")), + + NUMBER_5115(new BigDecimal("5115")), + + NUMBER_5116(new BigDecimal("5116")), + + NUMBER_5117(new BigDecimal("5117")), + + NUMBER_5118(new BigDecimal("5118")), + + NUMBER_5119(new BigDecimal("5119")), + + NUMBER_5120(new BigDecimal("5120")), + + NUMBER_5121(new BigDecimal("5121")), + + NUMBER_5122(new BigDecimal("5122")), + + NUMBER_5123(new BigDecimal("5123")), + + NUMBER_5124(new BigDecimal("5124")), + + NUMBER_5125(new BigDecimal("5125")), + + NUMBER_5126(new BigDecimal("5126")), + + NUMBER_5127(new BigDecimal("5127")), + + NUMBER_5129(new BigDecimal("5129")), + + NUMBER_5130(new BigDecimal("5130")), + + NUMBER_5131(new BigDecimal("5131")), + + NUMBER_5132(new BigDecimal("5132")), + + NUMBER_5133(new BigDecimal("5133")), + + NUMBER_5134(new BigDecimal("5134")), + + NUMBER_5135(new BigDecimal("5135")), + + NUMBER_5136(new BigDecimal("5136")), + + NUMBER_5137(new BigDecimal("5137")), + + NUMBER_5138(new BigDecimal("5138")), + + NUMBER_5139(new BigDecimal("5139")), + + NUMBER_5140(new BigDecimal("5140")), + + NUMBER_5141(new BigDecimal("5141")), + + NUMBER_5142(new BigDecimal("5142")), + + NUMBER_5143(new BigDecimal("5143")), + + NUMBER_5144(new BigDecimal("5144")), + + NUMBER_5145(new BigDecimal("5145")), + + NUMBER_5146(new BigDecimal("5146")), + + NUMBER_5147(new BigDecimal("5147")), + + NUMBER_5148(new BigDecimal("5148")), + + NUMBER_5149(new BigDecimal("5149")), + + NUMBER_5150(new BigDecimal("5150")), + + NUMBER_5151(new BigDecimal("5151")), + + NUMBER_5152(new BigDecimal("5152")), + + NUMBER_5153(new BigDecimal("5153")), + + NUMBER_5154(new BigDecimal("5154")), + + NUMBER_5157(new BigDecimal("5157")), + + NUMBER_5158(new BigDecimal("5158")), + + NUMBER_5159(new BigDecimal("5159")), + + NUMBER_5160(new BigDecimal("5160")), + + NUMBER_5161(new BigDecimal("5161")), + + NUMBER_5162(new BigDecimal("5162")), + + NUMBER_5163(new BigDecimal("5163")), + + NUMBER_5164(new BigDecimal("5164")), + + NUMBER_5165(new BigDecimal("5165")), + + NUMBER_5166(new BigDecimal("5166")), + + NUMBER_5167(new BigDecimal("5167")), + + NUMBER_5168(new BigDecimal("5168")), + + NUMBER_5169(new BigDecimal("5169")), + + NUMBER_5170(new BigDecimal("5170")), + + NUMBER_5171(new BigDecimal("5171")), + + NUMBER_5172(new BigDecimal("5172")), + + NUMBER_5173(new BigDecimal("5173")), + + NUMBER_5174(new BigDecimal("5174")), + + NUMBER_5175(new BigDecimal("5175")), + + NUMBER_5176(new BigDecimal("5176")), + + NUMBER_5177(new BigDecimal("5177")), + + NUMBER_5178(new BigDecimal("5178")), + + NUMBER_5179(new BigDecimal("5179")), + + NUMBER_5180(new BigDecimal("5180")), + + NUMBER_5181(new BigDecimal("5181")), + + NUMBER_5182(new BigDecimal("5182")), + + NUMBER_5184(new BigDecimal("5184")), + + NUMBER_5185(new BigDecimal("5185")), + + NUMBER_5186(new BigDecimal("5186")), + + NUMBER_5187(new BigDecimal("5187")), + + NUMBER_5188(new BigDecimal("5188")), + + NUMBER_5189(new BigDecimal("5189")), + + NUMBER_5190(new BigDecimal("5190")), + + NUMBER_5191(new BigDecimal("5191")), + + NUMBER_5196(new BigDecimal("5196")), + + NUMBER_5198(new BigDecimal("5198")), + + NUMBER_5199(new BigDecimal("5199")), + + NUMBER_5200(new BigDecimal("5200")), + + NUMBER_5201(new BigDecimal("5201")), + + NUMBER_5202(new BigDecimal("5202")), + + NUMBER_5203(new BigDecimal("5203")), + + NUMBER_5204(new BigDecimal("5204")), + + NUMBER_5205(new BigDecimal("5205")), + + NUMBER_5206(new BigDecimal("5206")), + + NUMBER_5207(new BigDecimal("5207")), + + NUMBER_5211(new BigDecimal("5211")), + + NUMBER_5212(new BigDecimal("5212")), + + NUMBER_90001(new BigDecimal("90001")), + + NUMBER_90002(new BigDecimal("90002")), + + NUMBER_90003(new BigDecimal("90003")), + + NUMBER_90004(new BigDecimal("90004")), + + NUMBER_90005(new BigDecimal("90005")), + + NUMBER_90006(new BigDecimal("90006")), + + NUMBER_90007(new BigDecimal("90007")), + + NUMBER_90008(new BigDecimal("90008")), + + NUMBER_90009(new BigDecimal("90009")), + + NUMBER_90010(new BigDecimal("90010")), + + NUMBER_90011(new BigDecimal("90011")); + + private BigDecimal value; + + CodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CodeEnum fromValue(BigDecimal value) { + for (CodeEnum b : CodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private CodeEnum code; + + public static final String SERIALIZED_NAME_QUANTITY = "quantity"; + @SerializedName(SERIALIZED_NAME_QUANTITY) + private BigDecimal quantity; + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner code(CodeEnum code) { + + this.code = code; + return this; + } + + /** + * The code indicating the room amenity type.<p>See also <a href=\"#unitand-room-amenity-type-codes\">in the appendix</a>.</p> + * @return code + **/ + @javax.annotation.Nonnull + + public CodeEnum getCode() { + return code; + } + + + public void setCode(CodeEnum code) { + this.code = code; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner quantity(BigDecimal quantity) { + + this.quantity = quantity; + return this; + } + + /** + * The quantity of this amenity type in this room. + * @return quantity + **/ + @javax.annotation.Nonnull + + public BigDecimal getQuantity() { + return quantity; + } + + + public void setQuantity(BigDecimal quantity) { + this.quantity = quantity; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner = (PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner) o; + return Objects.equals(this.code, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.code) && + Objects.equals(this.quantity, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.quantity); + } + + @Override + public int hashCode() { + return Objects.hash(code, quantity); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("code"); + openapiFields.add("quantity"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("code"); + openapiRequiredFields.add("quantity"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java new file mode 100644 index 0000000..4fbb38a --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java @@ -0,0 +1,2874 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner { + public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; + @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) + private Boolean isMainImage; + + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; + @SerializedName(SERIALIZED_NAME_SORT_ORDER) + private BigDecimal sortOrder; + + /** + * Gets or Sets tagList + */ + @JsonAdapter(TagListEnum.Adapter.class) + public enum TagListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_284(new BigDecimal("284")), + + NUMBER_285(new BigDecimal("285")), + + NUMBER_286(new BigDecimal("286")), + + NUMBER_287(new BigDecimal("287")), + + NUMBER_289(new BigDecimal("289")), + + NUMBER_290(new BigDecimal("290")), + + NUMBER_291(new BigDecimal("291")); + + private BigDecimal value; + + TagListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TagListEnum fromValue(BigDecimal value) { + for (TagListEnum b : TagListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TagListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TagListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TagListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_TAG_LIST = "tagList"; + @SerializedName(SERIALIZED_NAME_TAG_LIST) + private List tagList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_MODERATION_LABEL_LIST = "moderationLabelList"; + @SerializedName(SERIALIZED_NAME_MODERATION_LABEL_LIST) + private List moderationLabelList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_DETECTION_LABEL_LIST = "detectionLabelList"; + @SerializedName(SERIALIZED_NAME_DETECTION_LABEL_LIST) + private List detectionLabelList = null; + + /** + * Gets or Sets propertyAmenityList + */ + @JsonAdapter(PropertyAmenityListEnum.Adapter.class) + public enum PropertyAmenityListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_111(new BigDecimal("111")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_117(new BigDecimal("117")), + + NUMBER_118(new BigDecimal("118")), + + NUMBER_119(new BigDecimal("119")), + + NUMBER_120(new BigDecimal("120")), + + NUMBER_121(new BigDecimal("121")), + + NUMBER_122(new BigDecimal("122")), + + NUMBER_123(new BigDecimal("123")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_126(new BigDecimal("126")), + + NUMBER_127(new BigDecimal("127")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_129(new BigDecimal("129")), + + NUMBER_130(new BigDecimal("130")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_132(new BigDecimal("132")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_135(new BigDecimal("135")), + + NUMBER_136(new BigDecimal("136")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_138(new BigDecimal("138")), + + NUMBER_139(new BigDecimal("139")), + + NUMBER_140(new BigDecimal("140")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_142(new BigDecimal("142")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_144(new BigDecimal("144")), + + NUMBER_145(new BigDecimal("145")), + + NUMBER_146(new BigDecimal("146")), + + NUMBER_147(new BigDecimal("147")), + + NUMBER_148(new BigDecimal("148")), + + NUMBER_149(new BigDecimal("149")), + + NUMBER_150(new BigDecimal("150")), + + NUMBER_151(new BigDecimal("151")), + + NUMBER_152(new BigDecimal("152")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_162(new BigDecimal("162")), + + NUMBER_163(new BigDecimal("163")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_166(new BigDecimal("166")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_168(new BigDecimal("168")), + + NUMBER_169(new BigDecimal("169")), + + NUMBER_170(new BigDecimal("170")), + + NUMBER_171(new BigDecimal("171")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_174(new BigDecimal("174")), + + NUMBER_175(new BigDecimal("175")), + + NUMBER_176(new BigDecimal("176")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_180(new BigDecimal("180")), + + NUMBER_181(new BigDecimal("181")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_195(new BigDecimal("195")), + + NUMBER_196(new BigDecimal("196")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_200(new BigDecimal("200")), + + NUMBER_201(new BigDecimal("201")), + + NUMBER_202(new BigDecimal("202")), + + NUMBER_203(new BigDecimal("203")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_206(new BigDecimal("206")), + + NUMBER_207(new BigDecimal("207")), + + NUMBER_208(new BigDecimal("208")), + + NUMBER_209(new BigDecimal("209")), + + NUMBER_210(new BigDecimal("210")), + + NUMBER_211(new BigDecimal("211")), + + NUMBER_212(new BigDecimal("212")), + + NUMBER_213(new BigDecimal("213")), + + NUMBER_214(new BigDecimal("214")), + + NUMBER_215(new BigDecimal("215")), + + NUMBER_216(new BigDecimal("216")), + + NUMBER_217(new BigDecimal("217")), + + NUMBER_218(new BigDecimal("218")), + + NUMBER_219(new BigDecimal("219")), + + NUMBER_220(new BigDecimal("220")), + + NUMBER_221(new BigDecimal("221")), + + NUMBER_222(new BigDecimal("222")), + + NUMBER_223(new BigDecimal("223")), + + NUMBER_224(new BigDecimal("224")), + + NUMBER_225(new BigDecimal("225")), + + NUMBER_226(new BigDecimal("226")), + + NUMBER_227(new BigDecimal("227")), + + NUMBER_228(new BigDecimal("228")), + + NUMBER_229(new BigDecimal("229")), + + NUMBER_230(new BigDecimal("230")), + + NUMBER_231(new BigDecimal("231")), + + NUMBER_232(new BigDecimal("232")), + + NUMBER_233(new BigDecimal("233")), + + NUMBER_234(new BigDecimal("234")), + + NUMBER_235(new BigDecimal("235")), + + NUMBER_236(new BigDecimal("236")), + + NUMBER_237(new BigDecimal("237")), + + NUMBER_238(new BigDecimal("238")), + + NUMBER_239(new BigDecimal("239")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_243(new BigDecimal("243")), + + NUMBER_244(new BigDecimal("244")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_274(new BigDecimal("274")), + + NUMBER_275(new BigDecimal("275")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_284(new BigDecimal("284")), + + NUMBER_285(new BigDecimal("285")), + + NUMBER_286(new BigDecimal("286")), + + NUMBER_287(new BigDecimal("287")), + + NUMBER_288(new BigDecimal("288")), + + NUMBER_289(new BigDecimal("289")), + + NUMBER_290(new BigDecimal("290")), + + NUMBER_291(new BigDecimal("291")), + + NUMBER_292(new BigDecimal("292")), + + NUMBER_293(new BigDecimal("293")), + + NUMBER_294(new BigDecimal("294")), + + NUMBER_295(new BigDecimal("295")), + + NUMBER_296(new BigDecimal("296")), + + NUMBER_297(new BigDecimal("297")), + + NUMBER_298(new BigDecimal("298")), + + NUMBER_299(new BigDecimal("299")), + + NUMBER_300(new BigDecimal("300")), + + NUMBER_301(new BigDecimal("301")), + + NUMBER_302(new BigDecimal("302")), + + NUMBER_303(new BigDecimal("303")), + + NUMBER_304(new BigDecimal("304")), + + NUMBER_305(new BigDecimal("305")), + + NUMBER_306(new BigDecimal("306")), + + NUMBER_307(new BigDecimal("307")), + + NUMBER_308(new BigDecimal("308")), + + NUMBER_309(new BigDecimal("309")), + + NUMBER_310(new BigDecimal("310")), + + NUMBER_311(new BigDecimal("311")), + + NUMBER_312(new BigDecimal("312")), + + NUMBER_313(new BigDecimal("313")), + + NUMBER_314(new BigDecimal("314")), + + NUMBER_315(new BigDecimal("315")), + + NUMBER_316(new BigDecimal("316")), + + NUMBER_317(new BigDecimal("317")), + + NUMBER_318(new BigDecimal("318")), + + NUMBER_319(new BigDecimal("319")), + + NUMBER_320(new BigDecimal("320")), + + NUMBER_321(new BigDecimal("321")), + + NUMBER_322(new BigDecimal("322")), + + NUMBER_323(new BigDecimal("323")), + + NUMBER_324(new BigDecimal("324")), + + NUMBER_325(new BigDecimal("325")), + + NUMBER_326(new BigDecimal("326")), + + NUMBER_327(new BigDecimal("327")), + + NUMBER_328(new BigDecimal("328")), + + NUMBER_329(new BigDecimal("329")), + + NUMBER_331(new BigDecimal("331")), + + NUMBER_332(new BigDecimal("332")), + + NUMBER_333(new BigDecimal("333")), + + NUMBER_334(new BigDecimal("334")), + + NUMBER_335(new BigDecimal("335")), + + NUMBER_336(new BigDecimal("336")), + + NUMBER_337(new BigDecimal("337")), + + NUMBER_338(new BigDecimal("338")), + + NUMBER_339(new BigDecimal("339")), + + NUMBER_340(new BigDecimal("340")), + + NUMBER_341(new BigDecimal("341")), + + NUMBER_342(new BigDecimal("342")), + + NUMBER_343(new BigDecimal("343")), + + NUMBER_344(new BigDecimal("344")), + + NUMBER_345(new BigDecimal("345")), + + NUMBER_348(new BigDecimal("348")), + + NUMBER_349(new BigDecimal("349")), + + NUMBER_350(new BigDecimal("350")), + + NUMBER_351(new BigDecimal("351")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5034(new BigDecimal("5034")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_5037(new BigDecimal("5037")), + + NUMBER_5039(new BigDecimal("5039")), + + NUMBER_5040(new BigDecimal("5040")), + + NUMBER_5041(new BigDecimal("5041")), + + NUMBER_5042(new BigDecimal("5042")), + + NUMBER_5043(new BigDecimal("5043")), + + NUMBER_5044(new BigDecimal("5044")), + + NUMBER_5045(new BigDecimal("5045")), + + NUMBER_5046(new BigDecimal("5046")), + + NUMBER_5047(new BigDecimal("5047")), + + NUMBER_5048(new BigDecimal("5048")), + + NUMBER_5049(new BigDecimal("5049")), + + NUMBER_5050(new BigDecimal("5050")), + + NUMBER_5051(new BigDecimal("5051")), + + NUMBER_5052(new BigDecimal("5052")), + + NUMBER_5053(new BigDecimal("5053")), + + NUMBER_5054(new BigDecimal("5054")), + + NUMBER_5055(new BigDecimal("5055")), + + NUMBER_5056(new BigDecimal("5056")), + + NUMBER_5057(new BigDecimal("5057")), + + NUMBER_5058(new BigDecimal("5058")), + + NUMBER_5059(new BigDecimal("5059")), + + NUMBER_5060(new BigDecimal("5060")), + + NUMBER_5061(new BigDecimal("5061")), + + NUMBER_5062(new BigDecimal("5062")), + + NUMBER_5063(new BigDecimal("5063")), + + NUMBER_5064(new BigDecimal("5064")), + + NUMBER_5065(new BigDecimal("5065")), + + NUMBER_5066(new BigDecimal("5066")), + + NUMBER_5067(new BigDecimal("5067")), + + NUMBER_5068(new BigDecimal("5068")), + + NUMBER_5069(new BigDecimal("5069")), + + NUMBER_5070(new BigDecimal("5070")), + + NUMBER_5071(new BigDecimal("5071")), + + NUMBER_5072(new BigDecimal("5072")), + + NUMBER_5073(new BigDecimal("5073")), + + NUMBER_5074(new BigDecimal("5074")), + + NUMBER_5075(new BigDecimal("5075")), + + NUMBER_5076(new BigDecimal("5076")), + + NUMBER_5077(new BigDecimal("5077")), + + NUMBER_5078(new BigDecimal("5078")), + + NUMBER_5079(new BigDecimal("5079")), + + NUMBER_5080(new BigDecimal("5080")), + + NUMBER_5081(new BigDecimal("5081")), + + NUMBER_5082(new BigDecimal("5082")), + + NUMBER_5083(new BigDecimal("5083")), + + NUMBER_5084(new BigDecimal("5084")), + + NUMBER_5085(new BigDecimal("5085")), + + NUMBER_5086(new BigDecimal("5086")), + + NUMBER_5087(new BigDecimal("5087")), + + NUMBER_5088(new BigDecimal("5088")), + + NUMBER_5089(new BigDecimal("5089")), + + NUMBER_5090(new BigDecimal("5090")), + + NUMBER_5091(new BigDecimal("5091")), + + NUMBER_5092(new BigDecimal("5092")), + + NUMBER_5093(new BigDecimal("5093")), + + NUMBER_5094(new BigDecimal("5094")), + + NUMBER_5095(new BigDecimal("5095")), + + NUMBER_5096(new BigDecimal("5096")), + + NUMBER_5097(new BigDecimal("5097")), + + NUMBER_5098(new BigDecimal("5098")), + + NUMBER_5099(new BigDecimal("5099")), + + NUMBER_5100(new BigDecimal("5100")), + + NUMBER_5101(new BigDecimal("5101")), + + NUMBER_5102(new BigDecimal("5102")), + + NUMBER_5103(new BigDecimal("5103")), + + NUMBER_5104(new BigDecimal("5104")), + + NUMBER_5105(new BigDecimal("5105")), + + NUMBER_5106(new BigDecimal("5106")), + + NUMBER_5107(new BigDecimal("5107")), + + NUMBER_5108(new BigDecimal("5108")), + + NUMBER_5109(new BigDecimal("5109")), + + NUMBER_5110(new BigDecimal("5110")), + + NUMBER_5111(new BigDecimal("5111")), + + NUMBER_5112(new BigDecimal("5112")), + + NUMBER_5113(new BigDecimal("5113")), + + NUMBER_5114(new BigDecimal("5114")), + + NUMBER_5115(new BigDecimal("5115")), + + NUMBER_5116(new BigDecimal("5116")), + + NUMBER_5117(new BigDecimal("5117")), + + NUMBER_5118(new BigDecimal("5118")), + + NUMBER_5119(new BigDecimal("5119")), + + NUMBER_5120(new BigDecimal("5120")), + + NUMBER_5121(new BigDecimal("5121")), + + NUMBER_5122(new BigDecimal("5122")), + + NUMBER_5123(new BigDecimal("5123")), + + NUMBER_5124(new BigDecimal("5124")), + + NUMBER_5125(new BigDecimal("5125")), + + NUMBER_5126(new BigDecimal("5126")), + + NUMBER_5127(new BigDecimal("5127")), + + NUMBER_5128(new BigDecimal("5128")), + + NUMBER_5129(new BigDecimal("5129")), + + NUMBER_5130(new BigDecimal("5130")), + + NUMBER_5131(new BigDecimal("5131")), + + NUMBER_5132(new BigDecimal("5132")), + + NUMBER_5133(new BigDecimal("5133")), + + NUMBER_5134(new BigDecimal("5134")), + + NUMBER_5135(new BigDecimal("5135")), + + NUMBER_5136(new BigDecimal("5136")), + + NUMBER_5137(new BigDecimal("5137")), + + NUMBER_5138(new BigDecimal("5138")), + + NUMBER_5139(new BigDecimal("5139")), + + NUMBER_5140(new BigDecimal("5140")), + + NUMBER_5141(new BigDecimal("5141")), + + NUMBER_5142(new BigDecimal("5142")), + + NUMBER_5143(new BigDecimal("5143")), + + NUMBER_5144(new BigDecimal("5144")), + + NUMBER_5145(new BigDecimal("5145")), + + NUMBER_5146(new BigDecimal("5146")), + + NUMBER_5147(new BigDecimal("5147")), + + NUMBER_5148(new BigDecimal("5148")), + + NUMBER_5149(new BigDecimal("5149")), + + NUMBER_5150(new BigDecimal("5150")), + + NUMBER_5151(new BigDecimal("5151")), + + NUMBER_5152(new BigDecimal("5152")), + + NUMBER_5153(new BigDecimal("5153")), + + NUMBER_5154(new BigDecimal("5154")), + + NUMBER_5156(new BigDecimal("5156")), + + NUMBER_5157(new BigDecimal("5157")), + + NUMBER_5158(new BigDecimal("5158")), + + NUMBER_5159(new BigDecimal("5159")), + + NUMBER_5160(new BigDecimal("5160")), + + NUMBER_5161(new BigDecimal("5161")), + + NUMBER_5162(new BigDecimal("5162")), + + NUMBER_5163(new BigDecimal("5163")), + + NUMBER_5164(new BigDecimal("5164")), + + NUMBER_5165(new BigDecimal("5165")), + + NUMBER_5166(new BigDecimal("5166")), + + NUMBER_5167(new BigDecimal("5167")), + + NUMBER_5168(new BigDecimal("5168")), + + NUMBER_5169(new BigDecimal("5169")), + + NUMBER_5170(new BigDecimal("5170")), + + NUMBER_5171(new BigDecimal("5171")), + + NUMBER_5172(new BigDecimal("5172")), + + NUMBER_5173(new BigDecimal("5173")), + + NUMBER_5174(new BigDecimal("5174")), + + NUMBER_5175(new BigDecimal("5175")), + + NUMBER_5176(new BigDecimal("5176")), + + NUMBER_5177(new BigDecimal("5177")), + + NUMBER_5178(new BigDecimal("5178")), + + NUMBER_6000(new BigDecimal("6000")), + + NUMBER_6001(new BigDecimal("6001")), + + NUMBER_90001(new BigDecimal("90001")); + + private BigDecimal value; + + PropertyAmenityListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PropertyAmenityListEnum fromValue(BigDecimal value) { + for (PropertyAmenityListEnum b : PropertyAmenityListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PropertyAmenityListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PropertyAmenityListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PropertyAmenityListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_PROPERTY_AMENITY_LIST = "propertyAmenityList"; + @SerializedName(SERIALIZED_NAME_PROPERTY_AMENITY_LIST) + private List propertyAmenityList = new ArrayList<>(); + + /** + * Gets or Sets roomAmenityList + */ + @JsonAdapter(RoomAmenityListEnum.Adapter.class) + public enum RoomAmenityListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_111(new BigDecimal("111")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_117(new BigDecimal("117")), + + NUMBER_118(new BigDecimal("118")), + + NUMBER_119(new BigDecimal("119")), + + NUMBER_120(new BigDecimal("120")), + + NUMBER_121(new BigDecimal("121")), + + NUMBER_122(new BigDecimal("122")), + + NUMBER_123(new BigDecimal("123")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_126(new BigDecimal("126")), + + NUMBER_127(new BigDecimal("127")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_129(new BigDecimal("129")), + + NUMBER_130(new BigDecimal("130")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_132(new BigDecimal("132")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_135(new BigDecimal("135")), + + NUMBER_136(new BigDecimal("136")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_138(new BigDecimal("138")), + + NUMBER_139(new BigDecimal("139")), + + NUMBER_140(new BigDecimal("140")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_142(new BigDecimal("142")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_144(new BigDecimal("144")), + + NUMBER_145(new BigDecimal("145")), + + NUMBER_146(new BigDecimal("146")), + + NUMBER_147(new BigDecimal("147")), + + NUMBER_148(new BigDecimal("148")), + + NUMBER_149(new BigDecimal("149")), + + NUMBER_150(new BigDecimal("150")), + + NUMBER_151(new BigDecimal("151")), + + NUMBER_152(new BigDecimal("152")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_162(new BigDecimal("162")), + + NUMBER_163(new BigDecimal("163")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_166(new BigDecimal("166")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_168(new BigDecimal("168")), + + NUMBER_169(new BigDecimal("169")), + + NUMBER_170(new BigDecimal("170")), + + NUMBER_171(new BigDecimal("171")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_174(new BigDecimal("174")), + + NUMBER_175(new BigDecimal("175")), + + NUMBER_176(new BigDecimal("176")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_180(new BigDecimal("180")), + + NUMBER_181(new BigDecimal("181")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_195(new BigDecimal("195")), + + NUMBER_196(new BigDecimal("196")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_200(new BigDecimal("200")), + + NUMBER_201(new BigDecimal("201")), + + NUMBER_202(new BigDecimal("202")), + + NUMBER_203(new BigDecimal("203")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_206(new BigDecimal("206")), + + NUMBER_207(new BigDecimal("207")), + + NUMBER_208(new BigDecimal("208")), + + NUMBER_209(new BigDecimal("209")), + + NUMBER_210(new BigDecimal("210")), + + NUMBER_211(new BigDecimal("211")), + + NUMBER_212(new BigDecimal("212")), + + NUMBER_213(new BigDecimal("213")), + + NUMBER_214(new BigDecimal("214")), + + NUMBER_215(new BigDecimal("215")), + + NUMBER_216(new BigDecimal("216")), + + NUMBER_217(new BigDecimal("217")), + + NUMBER_218(new BigDecimal("218")), + + NUMBER_219(new BigDecimal("219")), + + NUMBER_220(new BigDecimal("220")), + + NUMBER_221(new BigDecimal("221")), + + NUMBER_222(new BigDecimal("222")), + + NUMBER_223(new BigDecimal("223")), + + NUMBER_224(new BigDecimal("224")), + + NUMBER_225(new BigDecimal("225")), + + NUMBER_226(new BigDecimal("226")), + + NUMBER_227(new BigDecimal("227")), + + NUMBER_228(new BigDecimal("228")), + + NUMBER_229(new BigDecimal("229")), + + NUMBER_230(new BigDecimal("230")), + + NUMBER_231(new BigDecimal("231")), + + NUMBER_232(new BigDecimal("232")), + + NUMBER_233(new BigDecimal("233")), + + NUMBER_234(new BigDecimal("234")), + + NUMBER_235(new BigDecimal("235")), + + NUMBER_236(new BigDecimal("236")), + + NUMBER_237(new BigDecimal("237")), + + NUMBER_238(new BigDecimal("238")), + + NUMBER_239(new BigDecimal("239")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_243(new BigDecimal("243")), + + NUMBER_244(new BigDecimal("244")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_274(new BigDecimal("274")), + + NUMBER_275(new BigDecimal("275")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5019(new BigDecimal("5019")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5034(new BigDecimal("5034")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_5037(new BigDecimal("5037")), + + NUMBER_5038(new BigDecimal("5038")), + + NUMBER_5039(new BigDecimal("5039")), + + NUMBER_5040(new BigDecimal("5040")), + + NUMBER_5041(new BigDecimal("5041")), + + NUMBER_5042(new BigDecimal("5042")), + + NUMBER_5043(new BigDecimal("5043")), + + NUMBER_5044(new BigDecimal("5044")), + + NUMBER_5045(new BigDecimal("5045")), + + NUMBER_5046(new BigDecimal("5046")), + + NUMBER_5068(new BigDecimal("5068")), + + NUMBER_5069(new BigDecimal("5069")), + + NUMBER_5070(new BigDecimal("5070")), + + NUMBER_5071(new BigDecimal("5071")), + + NUMBER_5072(new BigDecimal("5072")), + + NUMBER_5073(new BigDecimal("5073")), + + NUMBER_5074(new BigDecimal("5074")), + + NUMBER_5075(new BigDecimal("5075")), + + NUMBER_5076(new BigDecimal("5076")), + + NUMBER_5077(new BigDecimal("5077")), + + NUMBER_5079(new BigDecimal("5079")), + + NUMBER_5080(new BigDecimal("5080")), + + NUMBER_5081(new BigDecimal("5081")), + + NUMBER_5082(new BigDecimal("5082")), + + NUMBER_5083(new BigDecimal("5083")), + + NUMBER_5084(new BigDecimal("5084")), + + NUMBER_5085(new BigDecimal("5085")), + + NUMBER_5086(new BigDecimal("5086")), + + NUMBER_5087(new BigDecimal("5087")), + + NUMBER_5088(new BigDecimal("5088")), + + NUMBER_5089(new BigDecimal("5089")), + + NUMBER_5090(new BigDecimal("5090")), + + NUMBER_5091(new BigDecimal("5091")), + + NUMBER_5092(new BigDecimal("5092")), + + NUMBER_5093(new BigDecimal("5093")), + + NUMBER_5094(new BigDecimal("5094")), + + NUMBER_5095(new BigDecimal("5095")), + + NUMBER_5096(new BigDecimal("5096")), + + NUMBER_5097(new BigDecimal("5097")), + + NUMBER_5098(new BigDecimal("5098")), + + NUMBER_5099(new BigDecimal("5099")), + + NUMBER_5100(new BigDecimal("5100")), + + NUMBER_5101(new BigDecimal("5101")), + + NUMBER_5102(new BigDecimal("5102")), + + NUMBER_5103(new BigDecimal("5103")), + + NUMBER_5104(new BigDecimal("5104")), + + NUMBER_5105(new BigDecimal("5105")), + + NUMBER_5106(new BigDecimal("5106")), + + NUMBER_5107(new BigDecimal("5107")), + + NUMBER_5108(new BigDecimal("5108")), + + NUMBER_5109(new BigDecimal("5109")), + + NUMBER_5110(new BigDecimal("5110")), + + NUMBER_5111(new BigDecimal("5111")), + + NUMBER_5112(new BigDecimal("5112")), + + NUMBER_5113(new BigDecimal("5113")), + + NUMBER_5114(new BigDecimal("5114")), + + NUMBER_5115(new BigDecimal("5115")), + + NUMBER_5116(new BigDecimal("5116")), + + NUMBER_5117(new BigDecimal("5117")), + + NUMBER_5118(new BigDecimal("5118")), + + NUMBER_5119(new BigDecimal("5119")), + + NUMBER_5120(new BigDecimal("5120")), + + NUMBER_5121(new BigDecimal("5121")), + + NUMBER_5122(new BigDecimal("5122")), + + NUMBER_5123(new BigDecimal("5123")), + + NUMBER_5124(new BigDecimal("5124")), + + NUMBER_5125(new BigDecimal("5125")), + + NUMBER_5126(new BigDecimal("5126")), + + NUMBER_5127(new BigDecimal("5127")), + + NUMBER_5129(new BigDecimal("5129")), + + NUMBER_5130(new BigDecimal("5130")), + + NUMBER_5131(new BigDecimal("5131")), + + NUMBER_5132(new BigDecimal("5132")), + + NUMBER_5133(new BigDecimal("5133")), + + NUMBER_5134(new BigDecimal("5134")), + + NUMBER_5135(new BigDecimal("5135")), + + NUMBER_5136(new BigDecimal("5136")), + + NUMBER_5137(new BigDecimal("5137")), + + NUMBER_5138(new BigDecimal("5138")), + + NUMBER_5139(new BigDecimal("5139")), + + NUMBER_5140(new BigDecimal("5140")), + + NUMBER_5141(new BigDecimal("5141")), + + NUMBER_5142(new BigDecimal("5142")), + + NUMBER_5143(new BigDecimal("5143")), + + NUMBER_5144(new BigDecimal("5144")), + + NUMBER_5145(new BigDecimal("5145")), + + NUMBER_5146(new BigDecimal("5146")), + + NUMBER_5147(new BigDecimal("5147")), + + NUMBER_5148(new BigDecimal("5148")), + + NUMBER_5149(new BigDecimal("5149")), + + NUMBER_5150(new BigDecimal("5150")), + + NUMBER_5151(new BigDecimal("5151")), + + NUMBER_5152(new BigDecimal("5152")), + + NUMBER_5153(new BigDecimal("5153")), + + NUMBER_5154(new BigDecimal("5154")), + + NUMBER_5157(new BigDecimal("5157")), + + NUMBER_5158(new BigDecimal("5158")), + + NUMBER_5159(new BigDecimal("5159")), + + NUMBER_5160(new BigDecimal("5160")), + + NUMBER_5161(new BigDecimal("5161")), + + NUMBER_5162(new BigDecimal("5162")), + + NUMBER_5163(new BigDecimal("5163")), + + NUMBER_5164(new BigDecimal("5164")), + + NUMBER_5165(new BigDecimal("5165")), + + NUMBER_5166(new BigDecimal("5166")), + + NUMBER_5167(new BigDecimal("5167")), + + NUMBER_5168(new BigDecimal("5168")), + + NUMBER_5169(new BigDecimal("5169")), + + NUMBER_5170(new BigDecimal("5170")), + + NUMBER_5171(new BigDecimal("5171")), + + NUMBER_5172(new BigDecimal("5172")), + + NUMBER_5173(new BigDecimal("5173")), + + NUMBER_5174(new BigDecimal("5174")), + + NUMBER_5175(new BigDecimal("5175")), + + NUMBER_5176(new BigDecimal("5176")), + + NUMBER_5177(new BigDecimal("5177")), + + NUMBER_5178(new BigDecimal("5178")), + + NUMBER_5179(new BigDecimal("5179")), + + NUMBER_5180(new BigDecimal("5180")), + + NUMBER_5181(new BigDecimal("5181")), + + NUMBER_5182(new BigDecimal("5182")), + + NUMBER_5184(new BigDecimal("5184")), + + NUMBER_5185(new BigDecimal("5185")), + + NUMBER_5186(new BigDecimal("5186")), + + NUMBER_5187(new BigDecimal("5187")), + + NUMBER_5188(new BigDecimal("5188")), + + NUMBER_5189(new BigDecimal("5189")), + + NUMBER_5190(new BigDecimal("5190")), + + NUMBER_5191(new BigDecimal("5191")), + + NUMBER_5196(new BigDecimal("5196")), + + NUMBER_5198(new BigDecimal("5198")), + + NUMBER_5199(new BigDecimal("5199")), + + NUMBER_5200(new BigDecimal("5200")), + + NUMBER_5201(new BigDecimal("5201")), + + NUMBER_5202(new BigDecimal("5202")), + + NUMBER_5203(new BigDecimal("5203")), + + NUMBER_5204(new BigDecimal("5204")), + + NUMBER_5205(new BigDecimal("5205")), + + NUMBER_5206(new BigDecimal("5206")), + + NUMBER_5207(new BigDecimal("5207")), + + NUMBER_5211(new BigDecimal("5211")), + + NUMBER_5212(new BigDecimal("5212")), + + NUMBER_90001(new BigDecimal("90001")), + + NUMBER_90002(new BigDecimal("90002")), + + NUMBER_90003(new BigDecimal("90003")), + + NUMBER_90004(new BigDecimal("90004")), + + NUMBER_90005(new BigDecimal("90005")), + + NUMBER_90006(new BigDecimal("90006")), + + NUMBER_90007(new BigDecimal("90007")), + + NUMBER_90008(new BigDecimal("90008")), + + NUMBER_90009(new BigDecimal("90009")), + + NUMBER_90010(new BigDecimal("90010")), + + NUMBER_90011(new BigDecimal("90011")); + + private BigDecimal value; + + RoomAmenityListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RoomAmenityListEnum fromValue(BigDecimal value) { + for (RoomAmenityListEnum b : RoomAmenityListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final RoomAmenityListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RoomAmenityListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RoomAmenityListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_ROOM_AMENITY_LIST = "roomAmenityList"; + @SerializedName(SERIALIZED_NAME_ROOM_AMENITY_LIST) + private List roomAmenityList = null; + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner isMainImage(Boolean isMainImage) { + + this.isMainImage = isMainImage; + return this; + } + + /** + * Whether the media is the main image for the property. + * @return isMainImage + **/ + @javax.annotation.Nonnull + + public Boolean getIsMainImage() { + return isMainImage; + } + + + public void setIsMainImage(Boolean isMainImage) { + this.isMainImage = isMainImage; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner url(String url) { + + this.url = url; + return this; + } + + /** + * The URL for the media. + * @return url + **/ + @javax.annotation.Nonnull + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner sortOrder(BigDecimal sortOrder) { + + this.sortOrder = sortOrder; + return this; + } + + /** + * The sort order for the media. + * @return sortOrder + **/ + @javax.annotation.Nonnull + + public BigDecimal getSortOrder() { + return sortOrder; + } + + + public void setSortOrder(BigDecimal sortOrder) { + this.sortOrder = sortOrder; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner tagList(List tagList) { + + this.tagList = tagList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addTagListItem(TagListEnum tagListItem) { + this.tagList.add(tagListItem); + return this; + } + + /** + * A list of tag codes for the media.<p>See also <a href=\"#imagetype-codes\">in the appendix</a>.</p> + * @return tagList + **/ + @javax.annotation.Nonnull + + public List getTagList() { + return tagList; + } + + + public void setTagList(List tagList) { + this.tagList = tagList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner moderationLabelList(List moderationLabelList) { + + this.moderationLabelList = moderationLabelList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addModerationLabelListItem(String moderationLabelListItem) { + this.moderationLabelList.add(moderationLabelListItem); + return this; + } + + /** + * A list of detection labels for moderated content (e.g. containing alcoholic beverages) for the media from an AI based detection engine. + * @return moderationLabelList + **/ + @javax.annotation.Nonnull + + public List getModerationLabelList() { + return moderationLabelList; + } + + + public void setModerationLabelList(List moderationLabelList) { + this.moderationLabelList = moderationLabelList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner detectionLabelList(List detectionLabelList) { + + this.detectionLabelList = detectionLabelList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addDetectionLabelListItem(String detectionLabelListItem) { + if (this.detectionLabelList == null) { + this.detectionLabelList = new ArrayList<>(); + } + this.detectionLabelList.add(detectionLabelListItem); + return this; + } + + /** + * A list of detection labels for the media from an AI based detection engine. + * @return detectionLabelList + **/ + @javax.annotation.Nullable + + public List getDetectionLabelList() { + return detectionLabelList; + } + + + public void setDetectionLabelList(List detectionLabelList) { + this.detectionLabelList = detectionLabelList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner propertyAmenityList(List propertyAmenityList) { + + this.propertyAmenityList = propertyAmenityList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addPropertyAmenityListItem(PropertyAmenityListEnum propertyAmenityListItem) { + this.propertyAmenityList.add(propertyAmenityListItem); + return this; + } + + /** + * A list of property amenities available at the property that are visible in this media element. + * @return propertyAmenityList + **/ + @javax.annotation.Nonnull + + public List getPropertyAmenityList() { + return propertyAmenityList; + } + + + public void setPropertyAmenityList(List propertyAmenityList) { + this.propertyAmenityList = propertyAmenityList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner roomAmenityList(List roomAmenityList) { + + this.roomAmenityList = roomAmenityList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addRoomAmenityListItem(RoomAmenityListEnum roomAmenityListItem) { + if (this.roomAmenityList == null) { + this.roomAmenityList = new ArrayList<>(); + } + this.roomAmenityList.add(roomAmenityListItem); + return this; + } + + /** + * A list of unit and room amenities available at the property (respectively unit type if applicable) that are visible in this media element. + * @return roomAmenityList + **/ + @javax.annotation.Nullable + + public List getRoomAmenityList() { + return roomAmenityList; + } + + + public void setRoomAmenityList(List roomAmenityList) { + this.roomAmenityList = roomAmenityList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner = (PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner) o; + return Objects.equals(this.isMainImage, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.isMainImage) && + Objects.equals(this.url, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.url) && + Objects.equals(this.sortOrder, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.sortOrder) && + Objects.equals(this.tagList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.tagList) && + Objects.equals(this.moderationLabelList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.moderationLabelList) && + Objects.equals(this.detectionLabelList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.detectionLabelList) && + Objects.equals(this.propertyAmenityList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.propertyAmenityList) && + Objects.equals(this.roomAmenityList, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.roomAmenityList); + } + + @Override + public int hashCode() { + return Objects.hash(isMainImage, url, sortOrder, tagList, moderationLabelList, detectionLabelList, propertyAmenityList, roomAmenityList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner {\n"); + sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); + sb.append(" tagList: ").append(toIndentedString(tagList)).append("\n"); + sb.append(" moderationLabelList: ").append(toIndentedString(moderationLabelList)).append("\n"); + sb.append(" detectionLabelList: ").append(toIndentedString(detectionLabelList)).append("\n"); + sb.append(" propertyAmenityList: ").append(toIndentedString(propertyAmenityList)).append("\n"); + sb.append(" roomAmenityList: ").append(toIndentedString(roomAmenityList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("isMainImage"); + openapiFields.add("url"); + openapiFields.add("sortOrder"); + openapiFields.add("tagList"); + openapiFields.add("moderationLabelList"); + openapiFields.add("detectionLabelList"); + openapiFields.add("propertyAmenityList"); + openapiFields.add("roomAmenityList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("isMainImage"); + openapiRequiredFields.add("url"); + openapiRequiredFields.add("sortOrder"); + openapiRequiredFields.add("tagList"); + openapiRequiredFields.add("moderationLabelList"); + openapiRequiredFields.add("propertyAmenityList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + // ensure the required json array is present + if (jsonObj.get("tagList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("tagList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tagList` to be an array in the JSON string but got `%s`", jsonObj.get("tagList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("moderationLabelList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("moderationLabelList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `moderationLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("moderationLabelList").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("detectionLabelList") != null && !jsonObj.get("detectionLabelList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `detectionLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("detectionLabelList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("propertyAmenityList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("propertyAmenityList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `propertyAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("propertyAmenityList").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("roomAmenityList") != null && !jsonObj.get("roomAmenityList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `roomAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("roomAmenityList").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java new file mode 100644 index 0000000..bb8245a --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java @@ -0,0 +1,365 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner { + /** + * The language code of the message.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageCodeEnum.Adapter.class) + public enum LanguageCodeEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageCodeEnum fromValue(String value) { + for (LanguageCodeEnum b : LanguageCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) + private LanguageCodeEnum languageCode; + + public static final String SERIALIZED_NAME_TEXT = "text"; + @SerializedName(SERIALIZED_NAME_TEXT) + private String text; + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner languageCode(LanguageCodeEnum languageCode) { + + this.languageCode = languageCode; + return this; + } + + /** + * The language code of the message.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return languageCode + **/ + @javax.annotation.Nonnull + + public LanguageCodeEnum getLanguageCode() { + return languageCode; + } + + + public void setLanguageCode(LanguageCodeEnum languageCode) { + this.languageCode = languageCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner text(String text) { + + this.text = text; + return this; + } + + /** + * The message text. + * @return text + **/ + @javax.annotation.Nonnull + + public String getText() { + return text; + } + + + public void setText(String text) { + this.text = text; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner = (PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner) o; + return Objects.equals(this.languageCode, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.languageCode) && + Objects.equals(this.text, propertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.text); + } + + @Override + public int hashCode() { + return Objects.hash(languageCode, text); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner {\n"); + sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("languageCode"); + openapiFields.add("text"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("languageCode"); + openapiRequiredFields.add("text"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("languageCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); + } + if (!jsonObj.get("text").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.java similarity index 58% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.java index 5a8f950..32dc84f 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfo.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import com.google.gson.Gson; @@ -38,6 +36,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -45,10 +44,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponsePropertyGuestInfo + * Information regarding requirements towards guests. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGuestInfo { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyGuestInfo { public static final String SERIALIZED_NAME_GUEST_ADDRESS_REQUIRED = "guestAddressRequired"; @SerializedName(SERIALIZED_NAME_GUEST_ADDRESS_REQUIRED) private Boolean guestAddressRequired; @@ -61,21 +60,20 @@ public class V1PropertyGetPost200ResponsePropertyGuestInfo { @SerializedName(SERIALIZED_NAME_GUEST_NAME_LIST_REQUIRED) private Boolean guestNameListRequired; - public V1PropertyGetPost200ResponsePropertyGuestInfo() { + public PropertiesPropertyIdGet200ResponsePropertyGuestInfo() { } - public V1PropertyGetPost200ResponsePropertyGuestInfo guestAddressRequired(Boolean guestAddressRequired) { + public PropertiesPropertyIdGet200ResponsePropertyGuestInfo guestAddressRequired(Boolean guestAddressRequired) { this.guestAddressRequired = guestAddressRequired; return this; } /** - * Get guestAddressRequired + * Whether the address of the guest is required to book this property. * @return guestAddressRequired **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getGuestAddressRequired() { return guestAddressRequired; @@ -87,18 +85,17 @@ public void setGuestAddressRequired(Boolean guestAddressRequired) { } - public V1PropertyGetPost200ResponsePropertyGuestInfo guestContactNumberRequired(Boolean guestContactNumberRequired) { + public PropertiesPropertyIdGet200ResponsePropertyGuestInfo guestContactNumberRequired(Boolean guestContactNumberRequired) { this.guestContactNumberRequired = guestContactNumberRequired; return this; } /** - * Get guestContactNumberRequired + * Whether the phone number of the guest is required to book this property. * @return guestContactNumberRequired **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getGuestContactNumberRequired() { return guestContactNumberRequired; @@ -110,18 +107,17 @@ public void setGuestContactNumberRequired(Boolean guestContactNumberRequired) { } - public V1PropertyGetPost200ResponsePropertyGuestInfo guestNameListRequired(Boolean guestNameListRequired) { + public PropertiesPropertyIdGet200ResponsePropertyGuestInfo guestNameListRequired(Boolean guestNameListRequired) { this.guestNameListRequired = guestNameListRequired; return this; } /** - * Get guestNameListRequired + * Whether a list of the guests names is required to book this property. * @return guestNameListRequired **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getGuestNameListRequired() { return guestNameListRequired; @@ -142,10 +138,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponsePropertyGuestInfo v1PropertyGetPost200ResponsePropertyGuestInfo = (V1PropertyGetPost200ResponsePropertyGuestInfo) o; - return Objects.equals(this.guestAddressRequired, v1PropertyGetPost200ResponsePropertyGuestInfo.guestAddressRequired) && - Objects.equals(this.guestContactNumberRequired, v1PropertyGetPost200ResponsePropertyGuestInfo.guestContactNumberRequired) && - Objects.equals(this.guestNameListRequired, v1PropertyGetPost200ResponsePropertyGuestInfo.guestNameListRequired); + PropertiesPropertyIdGet200ResponsePropertyGuestInfo propertiesPropertyIdGet200ResponsePropertyGuestInfo = (PropertiesPropertyIdGet200ResponsePropertyGuestInfo) o; + return Objects.equals(this.guestAddressRequired, propertiesPropertyIdGet200ResponsePropertyGuestInfo.guestAddressRequired) && + Objects.equals(this.guestContactNumberRequired, propertiesPropertyIdGet200ResponsePropertyGuestInfo.guestContactNumberRequired) && + Objects.equals(this.guestNameListRequired, propertiesPropertyIdGet200ResponsePropertyGuestInfo.guestNameListRequired); } @Override @@ -156,7 +152,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGuestInfo {\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyGuestInfo {\n"); sb.append(" guestAddressRequired: ").append(toIndentedString(guestAddressRequired)).append("\n"); sb.append(" guestContactNumberRequired: ").append(toIndentedString(guestContactNumberRequired)).append("\n"); sb.append(" guestNameListRequired: ").append(toIndentedString(guestNameListRequired)).append("\n"); @@ -188,28 +184,36 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("guestAddressRequired"); + openapiRequiredFields.add("guestContactNumberRequired"); + openapiRequiredFields.add("guestNameListRequired"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGuestInfo + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyGuestInfo */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGuestInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGuestInfo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGuestInfo.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyGuestInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyGuestInfo is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyGuestInfo.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGuestInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGuestInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyGuestInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyGuestInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyGuestInfo.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } } @@ -218,22 +222,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGuestInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGuestInfo' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyGuestInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyGuestInfo' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGuestInfo.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyGuestInfo.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGuestInfo value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyGuestInfo value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponsePropertyGuestInfo read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyGuestInfo read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -244,18 +248,18 @@ public V1PropertyGetPost200ResponsePropertyGuestInfo read(JsonReader in) throws } /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGuestInfo given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyGuestInfo given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGuestInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGuestInfo + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyGuestInfo + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyGuestInfo */ - public static V1PropertyGetPost200ResponsePropertyGuestInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGuestInfo.class); + public static PropertiesPropertyIdGet200ResponsePropertyGuestInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyGuestInfo.class); } /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGuestInfo to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyGuestInfo to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.java new file mode 100644 index 0000000..38c13e0 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.java @@ -0,0 +1,649 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyPolicyListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInner { + public static final String SERIALIZED_NAME_CHECK_IN_TIME = "checkInTime"; + @SerializedName(SERIALIZED_NAME_CHECK_IN_TIME) + private BigDecimal checkInTime; + + public static final String SERIALIZED_NAME_CHECK_OUT_TIME = "checkOutTime"; + @SerializedName(SERIALIZED_NAME_CHECK_OUT_TIME) + private BigDecimal checkOutTime; + + public static final String SERIALIZED_NAME_TOTAL_GUEST_COUNT = "totalGuestCount"; + @SerializedName(SERIALIZED_NAME_TOTAL_GUEST_COUNT) + private BigDecimal totalGuestCount; + + public static final String SERIALIZED_NAME_CANCELLATION_POLICY_LIST = "cancellationPolicyList"; + @SerializedName(SERIALIZED_NAME_CANCELLATION_POLICY_LIST) + private List cancellationPolicyList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MIN = "advanceBookingMin"; + @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MIN) + private BigDecimal advanceBookingMin; + + public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MAX = "advanceBookingMax"; + @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MAX) + private BigDecimal advanceBookingMax; + + public static final String SERIALIZED_NAME_PETS_POLICY = "petsPolicy"; + @SerializedName(SERIALIZED_NAME_PETS_POLICY) + private PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy; + + /** + * The type of the prepayment policy. + */ + @JsonAdapter(PrepaymentPolicyEnum.Adapter.class) + public enum PrepaymentPolicyEnum { + CANCELLATION_FEE_BEGINS("after_cancellation_fee_begins"), + + RESERVATION_IS_MADE("after_reservation_is_made"); + + private String value; + + PrepaymentPolicyEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PrepaymentPolicyEnum fromValue(String value) { + for (PrepaymentPolicyEnum b : PrepaymentPolicyEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PrepaymentPolicyEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PrepaymentPolicyEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PrepaymentPolicyEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PREPAYMENT_POLICY = "prepaymentPolicy"; + @SerializedName(SERIALIZED_NAME_PREPAYMENT_POLICY) + private PrepaymentPolicyEnum prepaymentPolicy; + + public static final String SERIALIZED_NAME_GUARANTEE_POLICY = "guaranteePolicy"; + @SerializedName(SERIALIZED_NAME_GUARANTEE_POLICY) + private PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy guaranteePolicy; + + public static final String SERIALIZED_NAME_TAX_POLICY_LIST = "taxPolicyList"; + @SerializedName(SERIALIZED_NAME_TAX_POLICY_LIST) + private List taxPolicyList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_FEE_POLICY_LIST = "feePolicyList"; + @SerializedName(SERIALIZED_NAME_FEE_POLICY_LIST) + private List feePolicyList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner checkInTime(BigDecimal checkInTime) { + + this.checkInTime = checkInTime; + return this; + } + + /** + * Check-in time (unix timestamp in ms). + * @return checkInTime + **/ + @javax.annotation.Nonnull + + public BigDecimal getCheckInTime() { + return checkInTime; + } + + + public void setCheckInTime(BigDecimal checkInTime) { + this.checkInTime = checkInTime; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner checkOutTime(BigDecimal checkOutTime) { + + this.checkOutTime = checkOutTime; + return this; + } + + /** + * Check-out time (unix timestamp in ms). + * @return checkOutTime + **/ + @javax.annotation.Nonnull + + public BigDecimal getCheckOutTime() { + return checkOutTime; + } + + + public void setCheckOutTime(BigDecimal checkOutTime) { + this.checkOutTime = checkOutTime; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner totalGuestCount(BigDecimal totalGuestCount) { + + this.totalGuestCount = totalGuestCount; + return this; + } + + /** + * The maximum number of guests allowed. + * @return totalGuestCount + **/ + @javax.annotation.Nullable + + public BigDecimal getTotalGuestCount() { + return totalGuestCount; + } + + + public void setTotalGuestCount(BigDecimal totalGuestCount) { + this.totalGuestCount = totalGuestCount; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner cancellationPolicyList(List cancellationPolicyList) { + + this.cancellationPolicyList = cancellationPolicyList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner addCancellationPolicyListItem(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner cancellationPolicyListItem) { + this.cancellationPolicyList.add(cancellationPolicyListItem); + return this; + } + + /** + * List of cancellation policies. + * @return cancellationPolicyList + **/ + @javax.annotation.Nonnull + + public List getCancellationPolicyList() { + return cancellationPolicyList; + } + + + public void setCancellationPolicyList(List cancellationPolicyList) { + this.cancellationPolicyList = cancellationPolicyList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner advanceBookingMin(BigDecimal advanceBookingMin) { + + this.advanceBookingMin = advanceBookingMin; + return this; + } + + /** + * The minimum number of days in advance a booking must be made + * @return advanceBookingMin + **/ + @javax.annotation.Nonnull + + public BigDecimal getAdvanceBookingMin() { + return advanceBookingMin; + } + + + public void setAdvanceBookingMin(BigDecimal advanceBookingMin) { + this.advanceBookingMin = advanceBookingMin; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner advanceBookingMax(BigDecimal advanceBookingMax) { + + this.advanceBookingMax = advanceBookingMax; + return this; + } + + /** + * The maximum number of days in advance a booking can be made + * @return advanceBookingMax + **/ + @javax.annotation.Nonnull + + public BigDecimal getAdvanceBookingMax() { + return advanceBookingMax; + } + + + public void setAdvanceBookingMax(BigDecimal advanceBookingMax) { + this.advanceBookingMax = advanceBookingMax; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner petsPolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { + + this.petsPolicy = petsPolicy; + return this; + } + + /** + * Get petsPolicy + * @return petsPolicy + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy getPetsPolicy() { + return petsPolicy; + } + + + public void setPetsPolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { + this.petsPolicy = petsPolicy; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner prepaymentPolicy(PrepaymentPolicyEnum prepaymentPolicy) { + + this.prepaymentPolicy = prepaymentPolicy; + return this; + } + + /** + * The type of the prepayment policy. + * @return prepaymentPolicy + **/ + @javax.annotation.Nullable + + public PrepaymentPolicyEnum getPrepaymentPolicy() { + return prepaymentPolicy; + } + + + public void setPrepaymentPolicy(PrepaymentPolicyEnum prepaymentPolicy) { + this.prepaymentPolicy = prepaymentPolicy; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner guaranteePolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy guaranteePolicy) { + + this.guaranteePolicy = guaranteePolicy; + return this; + } + + /** + * Get guaranteePolicy + * @return guaranteePolicy + **/ + @javax.annotation.Nullable + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy getGuaranteePolicy() { + return guaranteePolicy; + } + + + public void setGuaranteePolicy(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy guaranteePolicy) { + this.guaranteePolicy = guaranteePolicy; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner taxPolicyList(List taxPolicyList) { + + this.taxPolicyList = taxPolicyList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner addTaxPolicyListItem(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner taxPolicyListItem) { + this.taxPolicyList.add(taxPolicyListItem); + return this; + } + + /** + * A list of taxes and their policies. + * @return taxPolicyList + **/ + @javax.annotation.Nonnull + + public List getTaxPolicyList() { + return taxPolicyList; + } + + + public void setTaxPolicyList(List taxPolicyList) { + this.taxPolicyList = taxPolicyList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner feePolicyList(List feePolicyList) { + + this.feePolicyList = feePolicyList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner addFeePolicyListItem(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner feePolicyListItem) { + this.feePolicyList.add(feePolicyListItem); + return this; + } + + /** + * A list of fees and their policies. + * @return feePolicyList + **/ + @javax.annotation.Nonnull + + public List getFeePolicyList() { + return feePolicyList; + } + + + public void setFeePolicyList(List feePolicyList) { + this.feePolicyList = feePolicyList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner name(String name) { + + this.name = name; + return this; + } + + /** + * The name of this policy. + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyPolicyListInner propertiesPropertyIdGet200ResponsePropertyPolicyListInner = (PropertiesPropertyIdGet200ResponsePropertyPolicyListInner) o; + return Objects.equals(this.checkInTime, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.checkInTime) && + Objects.equals(this.checkOutTime, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.checkOutTime) && + Objects.equals(this.totalGuestCount, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.totalGuestCount) && + Objects.equals(this.cancellationPolicyList, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.cancellationPolicyList) && + Objects.equals(this.advanceBookingMin, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.advanceBookingMin) && + Objects.equals(this.advanceBookingMax, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.advanceBookingMax) && + Objects.equals(this.petsPolicy, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.petsPolicy) && + Objects.equals(this.prepaymentPolicy, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.prepaymentPolicy) && + Objects.equals(this.guaranteePolicy, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.guaranteePolicy) && + Objects.equals(this.taxPolicyList, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.taxPolicyList) && + Objects.equals(this.feePolicyList, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.feePolicyList) && + Objects.equals(this.name, propertiesPropertyIdGet200ResponsePropertyPolicyListInner.name); + } + + @Override + public int hashCode() { + return Objects.hash(checkInTime, checkOutTime, totalGuestCount, cancellationPolicyList, advanceBookingMin, advanceBookingMax, petsPolicy, prepaymentPolicy, guaranteePolicy, taxPolicyList, feePolicyList, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPolicyListInner {\n"); + sb.append(" checkInTime: ").append(toIndentedString(checkInTime)).append("\n"); + sb.append(" checkOutTime: ").append(toIndentedString(checkOutTime)).append("\n"); + sb.append(" totalGuestCount: ").append(toIndentedString(totalGuestCount)).append("\n"); + sb.append(" cancellationPolicyList: ").append(toIndentedString(cancellationPolicyList)).append("\n"); + sb.append(" advanceBookingMin: ").append(toIndentedString(advanceBookingMin)).append("\n"); + sb.append(" advanceBookingMax: ").append(toIndentedString(advanceBookingMax)).append("\n"); + sb.append(" petsPolicy: ").append(toIndentedString(petsPolicy)).append("\n"); + sb.append(" prepaymentPolicy: ").append(toIndentedString(prepaymentPolicy)).append("\n"); + sb.append(" guaranteePolicy: ").append(toIndentedString(guaranteePolicy)).append("\n"); + sb.append(" taxPolicyList: ").append(toIndentedString(taxPolicyList)).append("\n"); + sb.append(" feePolicyList: ").append(toIndentedString(feePolicyList)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("checkInTime"); + openapiFields.add("checkOutTime"); + openapiFields.add("totalGuestCount"); + openapiFields.add("cancellationPolicyList"); + openapiFields.add("advanceBookingMin"); + openapiFields.add("advanceBookingMax"); + openapiFields.add("petsPolicy"); + openapiFields.add("prepaymentPolicy"); + openapiFields.add("guaranteePolicy"); + openapiFields.add("taxPolicyList"); + openapiFields.add("feePolicyList"); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("checkInTime"); + openapiRequiredFields.add("checkOutTime"); + openapiRequiredFields.add("cancellationPolicyList"); + openapiRequiredFields.add("advanceBookingMin"); + openapiRequiredFields.add("advanceBookingMax"); + openapiRequiredFields.add("taxPolicyList"); + openapiRequiredFields.add("feePolicyList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPolicyListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("cancellationPolicyList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cancellationPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("cancellationPolicyList").toString())); + } + + JsonArray jsonArraycancellationPolicyList = jsonObj.getAsJsonArray("cancellationPolicyList"); + // validate the required field `cancellationPolicyList` (array) + for (int i = 0; i < jsonArraycancellationPolicyList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.validateJsonObject(jsonArraycancellationPolicyList.get(i).getAsJsonObject()); + }; + // validate the optional field `petsPolicy` + if (jsonObj.get("petsPolicy") != null && !jsonObj.get("petsPolicy").isJsonNull()) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.validateJsonObject(jsonObj.getAsJsonObject("petsPolicy")); + } + if ((jsonObj.get("prepaymentPolicy") != null && !jsonObj.get("prepaymentPolicy").isJsonNull()) && !jsonObj.get("prepaymentPolicy").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `prepaymentPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prepaymentPolicy").toString())); + } + // validate the optional field `guaranteePolicy` + if (jsonObj.get("guaranteePolicy") != null && !jsonObj.get("guaranteePolicy").isJsonNull()) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.validateJsonObject(jsonObj.getAsJsonObject("guaranteePolicy")); + } + // ensure the json data is an array + if (!jsonObj.get("taxPolicyList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `taxPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("taxPolicyList").toString())); + } + + JsonArray jsonArraytaxPolicyList = jsonObj.getAsJsonArray("taxPolicyList"); + // validate the required field `taxPolicyList` (array) + for (int i = 0; i < jsonArraytaxPolicyList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.validateJsonObject(jsonArraytaxPolicyList.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("feePolicyList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `feePolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("feePolicyList").toString())); + } + + JsonArray jsonArrayfeePolicyList = jsonObj.getAsJsonArray("feePolicyList"); + // validate the required field `feePolicyList` (array) + for (int i = 0; i < jsonArrayfeePolicyList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.validateJsonObject(jsonArrayfeePolicyList.get(i).getAsJsonObject()); + }; + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPolicyListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPolicyListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyPolicyListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPolicyListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.java similarity index 54% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.java index acffa09..c48f8c9 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; @@ -39,6 +37,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -46,14 +45,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner { public static final String SERIALIZED_NAME_PERCENT_AFTER_RESERVATION = "percentAfterReservation"; @SerializedName(SERIALIZED_NAME_PERCENT_AFTER_RESERVATION) private BigDecimal percentAfterReservation; @@ -82,44 +77,20 @@ public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationP @SerializedName(SERIALIZED_NAME_NO_SHOW_POLICY) private String noShowPolicy; - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner() { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner() { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "152", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner percentAfterReservation(BigDecimal percentAfterReservation) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner percentAfterReservation(BigDecimal percentAfterReservation) { this.percentAfterReservation = percentAfterReservation; return this; } /** - * Get percentAfterReservation + * Percentage of refund after reservation. * @return percentAfterReservation **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getPercentAfterReservation() { return percentAfterReservation; @@ -131,18 +102,17 @@ public void setPercentAfterReservation(BigDecimal percentAfterReservation) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner nightsAfterReservation(BigDecimal nightsAfterReservation) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner nightsAfterReservation(BigDecimal nightsAfterReservation) { this.nightsAfterReservation = nightsAfterReservation; return this; } /** - * Get nightsAfterReservation + * Number of nights after reservation. * @return nightsAfterReservation **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getNightsAfterReservation() { return nightsAfterReservation; @@ -154,18 +124,17 @@ public void setNightsAfterReservation(BigDecimal nightsAfterReservation) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner deadlineDays(BigDecimal deadlineDays) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner deadlineDays(BigDecimal deadlineDays) { this.deadlineDays = deadlineDays; return this; } /** - * Get deadlineDays + * Deadline in days. * @return deadlineDays **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getDeadlineDays() { return deadlineDays; @@ -177,18 +146,17 @@ public void setDeadlineDays(BigDecimal deadlineDays) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner deadlineHours(BigDecimal deadlineHours) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner deadlineHours(BigDecimal deadlineHours) { this.deadlineHours = deadlineHours; return this; } /** - * Get deadlineHours + * Deadline in hours. * @return deadlineHours **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getDeadlineHours() { return deadlineHours; @@ -200,18 +168,17 @@ public void setDeadlineHours(BigDecimal deadlineHours) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner percentAfterDeadline(BigDecimal percentAfterDeadline) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner percentAfterDeadline(BigDecimal percentAfterDeadline) { this.percentAfterDeadline = percentAfterDeadline; return this; } /** - * Get percentAfterDeadline + * Percentage of refund after deadline. * @return percentAfterDeadline **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getPercentAfterDeadline() { return percentAfterDeadline; @@ -223,18 +190,17 @@ public void setPercentAfterDeadline(BigDecimal percentAfterDeadline) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner nightsAfterDeadline(BigDecimal nightsAfterDeadline) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner nightsAfterDeadline(BigDecimal nightsAfterDeadline) { this.nightsAfterDeadline = nightsAfterDeadline; return this; } /** - * Get nightsAfterDeadline + * Number of nights after deadline. * @return nightsAfterDeadline **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getNightsAfterDeadline() { return nightsAfterDeadline; @@ -246,18 +212,17 @@ public void setNightsAfterDeadline(BigDecimal nightsAfterDeadline) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner noShowPolicy(String noShowPolicy) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner noShowPolicy(String noShowPolicy) { this.noShowPolicy = noShowPolicy; return this; } /** - * Get noShowPolicy + * No-show policy * @return noShowPolicy **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "default", value = "") + @javax.annotation.Nonnull public String getNoShowPolicy() { return noShowPolicy; @@ -278,27 +243,25 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner = (V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.code) && - Objects.equals(this.percentAfterReservation, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.percentAfterReservation) && - Objects.equals(this.nightsAfterReservation, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.nightsAfterReservation) && - Objects.equals(this.deadlineDays, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.deadlineDays) && - Objects.equals(this.deadlineHours, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.deadlineHours) && - Objects.equals(this.percentAfterDeadline, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.percentAfterDeadline) && - Objects.equals(this.nightsAfterDeadline, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.nightsAfterDeadline) && - Objects.equals(this.noShowPolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.noShowPolicy); + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner = (PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner) o; + return Objects.equals(this.percentAfterReservation, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.percentAfterReservation) && + Objects.equals(this.nightsAfterReservation, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.nightsAfterReservation) && + Objects.equals(this.deadlineDays, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.deadlineDays) && + Objects.equals(this.deadlineHours, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.deadlineHours) && + Objects.equals(this.percentAfterDeadline, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.percentAfterDeadline) && + Objects.equals(this.nightsAfterDeadline, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.nightsAfterDeadline) && + Objects.equals(this.noShowPolicy, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.noShowPolicy); } @Override public int hashCode() { - return Objects.hash(code, percentAfterReservation, nightsAfterReservation, deadlineDays, deadlineHours, percentAfterDeadline, nightsAfterDeadline, noShowPolicy); + return Objects.hash(percentAfterReservation, nightsAfterReservation, deadlineDays, deadlineHours, percentAfterDeadline, nightsAfterDeadline, noShowPolicy); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner {\n"); sb.append(" percentAfterReservation: ").append(toIndentedString(percentAfterReservation)).append("\n"); sb.append(" nightsAfterReservation: ").append(toIndentedString(nightsAfterReservation)).append("\n"); sb.append(" deadlineDays: ").append(toIndentedString(deadlineDays)).append("\n"); @@ -328,7 +291,6 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("code"); openapiFields.add("percentAfterReservation"); openapiFields.add("nightsAfterReservation"); openapiFields.add("deadlineDays"); @@ -339,31 +301,43 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("percentAfterReservation"); + openapiRequiredFields.add("nightsAfterReservation"); + openapiRequiredFields.add("deadlineDays"); + openapiRequiredFields.add("deadlineHours"); + openapiRequiredFields.add("percentAfterDeadline"); + openapiRequiredFields.add("nightsAfterDeadline"); + openapiRequiredFields.add("noShowPolicy"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (jsonObj.get("noShowPolicy") != null && !jsonObj.get("noShowPolicy").isJsonPrimitive()) { + if (!jsonObj.get("noShowPolicy").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `noShowPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("noShowPolicy").toString())); } } @@ -372,22 +346,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -398,18 +372,18 @@ public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyL } /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner */ - public static V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.class); + public static PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner.class); } /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.java new file mode 100644 index 0000000..b7a4972 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.java @@ -0,0 +1,874 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner { + /** + * The code that represents the type of fee.<p>See also <a href=\"#feetype-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(TypeCodeEnum.Adapter.class) + public enum TypeCodeEnum { + NUMBER_2(new BigDecimal("2")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5019(new BigDecimal("5019")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_20001(new BigDecimal("20001")); + + private BigDecimal value; + + TypeCodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeCodeEnum fromValue(BigDecimal value) { + for (TypeCodeEnum b : TypeCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeCodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; + @SerializedName(SERIALIZED_NAME_TYPE_CODE) + private TypeCodeEnum typeCode; + + public static final String SERIALIZED_NAME_PERCENT = "percent"; + @SerializedName(SERIALIZED_NAME_PERCENT) + private BigDecimal percent; + + /** + * The type of charge. + */ + @JsonAdapter(ChargeTypeEnum.Adapter.class) + public enum ChargeTypeEnum { + INCLUDED("included"), + + EXCLUDED("excluded"), + + CONDITIONAL("conditional"); + + private String value; + + ChargeTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ChargeTypeEnum fromValue(String value) { + for (ChargeTypeEnum b : ChargeTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ChargeTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ChargeTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CHARGE_TYPE = "chargeType"; + @SerializedName(SERIALIZED_NAME_CHARGE_TYPE) + private ChargeTypeEnum chargeType; + + /** + * The code that represents the frequency of charge.<p>See also <a href=\"#chargetype-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(ChargeFrequencyCodeEnum.Adapter.class) + public enum ChargeFrequencyCodeEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_90010(new BigDecimal("90010")), + + NUMBER_90011(new BigDecimal("90011")), + + NUMBER_90012(new BigDecimal("90012")), + + NUMBER_90013(new BigDecimal("90013")); + + private BigDecimal value; + + ChargeFrequencyCodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ChargeFrequencyCodeEnum fromValue(BigDecimal value) { + for (ChargeFrequencyCodeEnum b : ChargeFrequencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeFrequencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ChargeFrequencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ChargeFrequencyCodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_CHARGE_FREQUENCY_CODE = "chargeFrequencyCode"; + @SerializedName(SERIALIZED_NAME_CHARGE_FREQUENCY_CODE) + private ChargeFrequencyCodeEnum chargeFrequencyCode; + + /** + * The currency code of the currency in that the charge is applied.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + /** + * Gets or Sets conditionList + */ + @JsonAdapter(ConditionListEnum.Adapter.class) + public enum ConditionListEnum { + BRINGS_PET("guest_brings_pet"), + + DOESNT_CLEAN_BEFORE_CHECKOUT("guest_doesnt_clean_before_checkout"), + + SMOKES("guest_smokes"); + + private String value; + + ConditionListEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConditionListEnum fromValue(String value) { + for (ConditionListEnum b : ConditionListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConditionListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConditionListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConditionListEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONDITION_LIST = "conditionList"; + @SerializedName(SERIALIZED_NAME_CONDITION_LIST) + private List conditionList = new ArrayList<>(); + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner typeCode(TypeCodeEnum typeCode) { + + this.typeCode = typeCode; + return this; + } + + /** + * The code that represents the type of fee.<p>See also <a href=\"#feetype-codes\">in the appendix</a>.</p> + * @return typeCode + **/ + @javax.annotation.Nonnull + + public TypeCodeEnum getTypeCode() { + return typeCode; + } + + + public void setTypeCode(TypeCodeEnum typeCode) { + this.typeCode = typeCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner percent(BigDecimal percent) { + + this.percent = percent; + return this; + } + + /** + * The charged percentage if applicable. + * @return percent + **/ + @javax.annotation.Nullable + + public BigDecimal getPercent() { + return percent; + } + + + public void setPercent(BigDecimal percent) { + this.percent = percent; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner chargeType(ChargeTypeEnum chargeType) { + + this.chargeType = chargeType; + return this; + } + + /** + * The type of charge. + * @return chargeType + **/ + @javax.annotation.Nonnull + + public ChargeTypeEnum getChargeType() { + return chargeType; + } + + + public void setChargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner chargeFrequencyCode(ChargeFrequencyCodeEnum chargeFrequencyCode) { + + this.chargeFrequencyCode = chargeFrequencyCode; + return this; + } + + /** + * The code that represents the frequency of charge.<p>See also <a href=\"#chargetype-codes\">in the appendix</a>.</p> + * @return chargeFrequencyCode + **/ + @javax.annotation.Nonnull + + public ChargeFrequencyCodeEnum getChargeFrequencyCode() { + return chargeFrequencyCode; + } + + + public void setChargeFrequencyCode(ChargeFrequencyCodeEnum chargeFrequencyCode) { + this.chargeFrequencyCode = chargeFrequencyCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency code of the currency in that the charge is applied.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner conditionList(List conditionList) { + + this.conditionList = conditionList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner addConditionListItem(ConditionListEnum conditionListItem) { + this.conditionList.add(conditionListItem); + return this; + } + + /** + * A list of conditions for the tax. Is empty if <code>chargeType</code> is not <code>conditional</code>. + * @return conditionList + **/ + @javax.annotation.Nonnull + + public List getConditionList() { + return conditionList; + } + + + public void setConditionList(List conditionList) { + this.conditionList = conditionList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner propertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner = (PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner) o; + return Objects.equals(this.typeCode, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.typeCode) && + Objects.equals(this.percent, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.percent) && + Objects.equals(this.chargeType, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.chargeType) && + Objects.equals(this.chargeFrequencyCode, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.chargeFrequencyCode) && + Objects.equals(this.currencyCode, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.currencyCode) && + Objects.equals(this.conditionList, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.conditionList); + } + + @Override + public int hashCode() { + return Objects.hash(typeCode, percent, chargeType, chargeFrequencyCode, currencyCode, conditionList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner {\n"); + sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); + sb.append(" percent: ").append(toIndentedString(percent)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" chargeFrequencyCode: ").append(toIndentedString(chargeFrequencyCode)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" conditionList: ").append(toIndentedString(conditionList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("typeCode"); + openapiFields.add("percent"); + openapiFields.add("chargeType"); + openapiFields.add("chargeFrequencyCode"); + openapiFields.add("currencyCode"); + openapiFields.add("conditionList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("typeCode"); + openapiRequiredFields.add("chargeType"); + openapiRequiredFields.add("chargeFrequencyCode"); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("conditionList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("chargeType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `chargeType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeType").toString())); + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + // ensure the required json array is present + if (jsonObj.get("conditionList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("conditionList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `conditionList` to be an array in the JSON string but got `%s`", jsonObj.get("conditionList").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.java similarity index 53% rename from src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.java index 1878b09..7c32ee6 100644 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -11,7 +11,7 @@ */ -package org.openapitools.client.model; +package com.lodgea.model; import java.util.Objects; import java.util.Arrays; @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; @@ -39,21 +37,18 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; -import org.openapitools.client.JSON; +import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * Defines the guarantee amount that has to be paid to the property. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy { public static final String SERIALIZED_NAME_PERCENT_AFTER_RESERVATION = "percentAfterReservation"; @SerializedName(SERIALIZED_NAME_PERCENT_AFTER_RESERVATION) private BigDecimal percentAfterReservation; @@ -82,44 +77,20 @@ public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationP @SerializedName(SERIALIZED_NAME_NO_SHOW_POLICY) private String noShowPolicy; - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner() { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy() { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "152", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner percentAfterReservation(BigDecimal percentAfterReservation) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy percentAfterReservation(BigDecimal percentAfterReservation) { this.percentAfterReservation = percentAfterReservation; return this; } /** - * Get percentAfterReservation + * Percentage of refund after reservation. * @return percentAfterReservation **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getPercentAfterReservation() { return percentAfterReservation; @@ -131,18 +102,17 @@ public void setPercentAfterReservation(BigDecimal percentAfterReservation) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner nightsAfterReservation(BigDecimal nightsAfterReservation) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy nightsAfterReservation(BigDecimal nightsAfterReservation) { this.nightsAfterReservation = nightsAfterReservation; return this; } /** - * Get nightsAfterReservation + * Number of nights after reservation. * @return nightsAfterReservation **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getNightsAfterReservation() { return nightsAfterReservation; @@ -154,18 +124,17 @@ public void setNightsAfterReservation(BigDecimal nightsAfterReservation) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner deadlineDays(BigDecimal deadlineDays) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy deadlineDays(BigDecimal deadlineDays) { this.deadlineDays = deadlineDays; return this; } /** - * Get deadlineDays + * Deadline in days. * @return deadlineDays **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getDeadlineDays() { return deadlineDays; @@ -177,18 +146,17 @@ public void setDeadlineDays(BigDecimal deadlineDays) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner deadlineHours(BigDecimal deadlineHours) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy deadlineHours(BigDecimal deadlineHours) { this.deadlineHours = deadlineHours; return this; } /** - * Get deadlineHours + * Deadline in hours. * @return deadlineHours **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getDeadlineHours() { return deadlineHours; @@ -200,18 +168,17 @@ public void setDeadlineHours(BigDecimal deadlineHours) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner percentAfterDeadline(BigDecimal percentAfterDeadline) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy percentAfterDeadline(BigDecimal percentAfterDeadline) { this.percentAfterDeadline = percentAfterDeadline; return this; } /** - * Get percentAfterDeadline + * Percentage of refund after deadline. * @return percentAfterDeadline **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getPercentAfterDeadline() { return percentAfterDeadline; @@ -223,18 +190,17 @@ public void setPercentAfterDeadline(BigDecimal percentAfterDeadline) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner nightsAfterDeadline(BigDecimal nightsAfterDeadline) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy nightsAfterDeadline(BigDecimal nightsAfterDeadline) { this.nightsAfterDeadline = nightsAfterDeadline; return this; } /** - * Get nightsAfterDeadline + * Number of nights after deadline. * @return nightsAfterDeadline **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") + @javax.annotation.Nonnull public BigDecimal getNightsAfterDeadline() { return nightsAfterDeadline; @@ -246,18 +212,17 @@ public void setNightsAfterDeadline(BigDecimal nightsAfterDeadline) { } - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner noShowPolicy(String noShowPolicy) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy noShowPolicy(String noShowPolicy) { this.noShowPolicy = noShowPolicy; return this; } /** - * Get noShowPolicy + * No-show policy * @return noShowPolicy **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "default", value = "") + @javax.annotation.Nonnull public String getNoShowPolicy() { return noShowPolicy; @@ -278,27 +243,25 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner = (V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.code) && - Objects.equals(this.percentAfterReservation, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.percentAfterReservation) && - Objects.equals(this.nightsAfterReservation, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.nightsAfterReservation) && - Objects.equals(this.deadlineDays, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.deadlineDays) && - Objects.equals(this.deadlineHours, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.deadlineHours) && - Objects.equals(this.percentAfterDeadline, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.percentAfterDeadline) && - Objects.equals(this.nightsAfterDeadline, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.nightsAfterDeadline) && - Objects.equals(this.noShowPolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.noShowPolicy); + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy = (PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy) o; + return Objects.equals(this.percentAfterReservation, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.percentAfterReservation) && + Objects.equals(this.nightsAfterReservation, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.nightsAfterReservation) && + Objects.equals(this.deadlineDays, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.deadlineDays) && + Objects.equals(this.deadlineHours, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.deadlineHours) && + Objects.equals(this.percentAfterDeadline, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.percentAfterDeadline) && + Objects.equals(this.nightsAfterDeadline, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.nightsAfterDeadline) && + Objects.equals(this.noShowPolicy, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.noShowPolicy); } @Override public int hashCode() { - return Objects.hash(code, percentAfterReservation, nightsAfterReservation, deadlineDays, deadlineHours, percentAfterDeadline, nightsAfterDeadline, noShowPolicy); + return Objects.hash(percentAfterReservation, nightsAfterReservation, deadlineDays, deadlineHours, percentAfterDeadline, nightsAfterDeadline, noShowPolicy); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy {\n"); sb.append(" percentAfterReservation: ").append(toIndentedString(percentAfterReservation)).append("\n"); sb.append(" nightsAfterReservation: ").append(toIndentedString(nightsAfterReservation)).append("\n"); sb.append(" deadlineDays: ").append(toIndentedString(deadlineDays)).append("\n"); @@ -328,7 +291,6 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("code"); openapiFields.add("percentAfterReservation"); openapiFields.add("nightsAfterReservation"); openapiFields.add("deadlineDays"); @@ -339,31 +301,43 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("percentAfterReservation"); + openapiRequiredFields.add("nightsAfterReservation"); + openapiRequiredFields.add("deadlineDays"); + openapiRequiredFields.add("deadlineHours"); + openapiRequiredFields.add("percentAfterDeadline"); + openapiRequiredFields.add("nightsAfterDeadline"); + openapiRequiredFields.add("noShowPolicy"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (jsonObj.get("noShowPolicy") != null && !jsonObj.get("noShowPolicy").isJsonPrimitive()) { + if (!jsonObj.get("noShowPolicy").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `noShowPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("noShowPolicy").toString())); } } @@ -372,22 +346,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -398,18 +372,18 @@ public V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyL } /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy */ - public static V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.class); + public static PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy.class); } /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.java similarity index 54% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.java index af914d9..e04fddf 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import com.google.gson.Gson; @@ -38,6 +36,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -45,10 +44,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy + * Contains information about the pets policy of the property */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy { public static final String SERIALIZED_NAME_ALLOWED = "allowed"; @SerializedName(SERIALIZED_NAME_ALLOWED) private Boolean allowed; @@ -61,21 +60,20 @@ public class V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy { @SerializedName(SERIALIZED_NAME_FREE_OF_CHARGE) private Boolean freeOfCharge; - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy() { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy() { } - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy allowed(Boolean allowed) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy allowed(Boolean allowed) { this.allowed = allowed; return this; } /** - * Get allowed + * Indicates if pets are allowed in the property. * @return allowed **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getAllowed() { return allowed; @@ -87,18 +85,17 @@ public void setAllowed(Boolean allowed) { } - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy byArrangement(Boolean byArrangement) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy byArrangement(Boolean byArrangement) { this.byArrangement = byArrangement; return this; } /** - * Get byArrangement + * Indicates if pets are allowed by arrangement. * @return byArrangement **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getByArrangement() { return byArrangement; @@ -110,18 +107,17 @@ public void setByArrangement(Boolean byArrangement) { } - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy freeOfCharge(Boolean freeOfCharge) { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy freeOfCharge(Boolean freeOfCharge) { this.freeOfCharge = freeOfCharge; return this; } /** - * Get freeOfCharge + * Indicates if pets are allowed without any additional charge. * @return freeOfCharge **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nonnull public Boolean getFreeOfCharge() { return freeOfCharge; @@ -142,10 +138,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy = (V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy) o; - return Objects.equals(this.allowed, v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.allowed) && - Objects.equals(this.byArrangement, v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.byArrangement) && - Objects.equals(this.freeOfCharge, v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.freeOfCharge); + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy propertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy = (PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy) o; + return Objects.equals(this.allowed, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.allowed) && + Objects.equals(this.byArrangement, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.byArrangement) && + Objects.equals(this.freeOfCharge, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.freeOfCharge); } @Override @@ -156,7 +152,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy {\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy {\n"); sb.append(" allowed: ").append(toIndentedString(allowed)).append("\n"); sb.append(" byArrangement: ").append(toIndentedString(byArrangement)).append("\n"); sb.append(" freeOfCharge: ").append(toIndentedString(freeOfCharge)).append("\n"); @@ -188,28 +184,36 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("allowed"); + openapiRequiredFields.add("byArrangement"); + openapiRequiredFields.add("freeOfCharge"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } } @@ -218,22 +222,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -244,18 +248,18 @@ public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy read(JsonRe } /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy */ - public static V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.class); + public static PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy.class); } /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.java new file mode 100644 index 0000000..ecd2378 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.java @@ -0,0 +1,808 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner { + /** + * The code that represents the type of tax.<p>See also <a href=\"#taxtype-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(TypeCodeEnum.Adapter.class) + public enum TypeCodeEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")); + + private BigDecimal value; + + TypeCodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeCodeEnum fromValue(BigDecimal value) { + for (TypeCodeEnum b : TypeCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeCodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; + @SerializedName(SERIALIZED_NAME_TYPE_CODE) + private TypeCodeEnum typeCode; + + public static final String SERIALIZED_NAME_PERCENT = "percent"; + @SerializedName(SERIALIZED_NAME_PERCENT) + private BigDecimal percent; + + /** + * The type of charge. + */ + @JsonAdapter(ChargeTypeEnum.Adapter.class) + public enum ChargeTypeEnum { + INCLUDED("included"), + + EXCLUDED("excluded"), + + CONDITIONAL("conditional"); + + private String value; + + ChargeTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ChargeTypeEnum fromValue(String value) { + for (ChargeTypeEnum b : ChargeTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ChargeTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ChargeTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CHARGE_TYPE = "chargeType"; + @SerializedName(SERIALIZED_NAME_CHARGE_TYPE) + private ChargeTypeEnum chargeType; + + /** + * The code that represents the frequency of charge.<p>See also <a href=\"#chargetype-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(ChargeFrequencyCodeEnum.Adapter.class) + public enum ChargeFrequencyCodeEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_90010(new BigDecimal("90010")), + + NUMBER_90011(new BigDecimal("90011")), + + NUMBER_90012(new BigDecimal("90012")), + + NUMBER_90013(new BigDecimal("90013")); + + private BigDecimal value; + + ChargeFrequencyCodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ChargeFrequencyCodeEnum fromValue(BigDecimal value) { + for (ChargeFrequencyCodeEnum b : ChargeFrequencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeFrequencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ChargeFrequencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ChargeFrequencyCodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_CHARGE_FREQUENCY_CODE = "chargeFrequencyCode"; + @SerializedName(SERIALIZED_NAME_CHARGE_FREQUENCY_CODE) + private ChargeFrequencyCodeEnum chargeFrequencyCode; + + /** + * The currency code of the currency in that the charge is applied.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + /** + * Gets or Sets conditionList + */ + @JsonAdapter(ConditionListEnum.Adapter.class) + public enum ConditionListEnum { + BRINGS_PET("guest_brings_pet"), + + DOESNT_CLEAN_BEFORE_CHECKOUT("guest_doesnt_clean_before_checkout"), + + SMOKES("guest_smokes"); + + private String value; + + ConditionListEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConditionListEnum fromValue(String value) { + for (ConditionListEnum b : ConditionListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConditionListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConditionListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConditionListEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONDITION_LIST = "conditionList"; + @SerializedName(SERIALIZED_NAME_CONDITION_LIST) + private List conditionList = new ArrayList<>(); + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner typeCode(TypeCodeEnum typeCode) { + + this.typeCode = typeCode; + return this; + } + + /** + * The code that represents the type of tax.<p>See also <a href=\"#taxtype-codes\">in the appendix</a>.</p> + * @return typeCode + **/ + @javax.annotation.Nonnull + + public TypeCodeEnum getTypeCode() { + return typeCode; + } + + + public void setTypeCode(TypeCodeEnum typeCode) { + this.typeCode = typeCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner percent(BigDecimal percent) { + + this.percent = percent; + return this; + } + + /** + * The charged percentage if applicable. + * @return percent + **/ + @javax.annotation.Nullable + + public BigDecimal getPercent() { + return percent; + } + + + public void setPercent(BigDecimal percent) { + this.percent = percent; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner chargeType(ChargeTypeEnum chargeType) { + + this.chargeType = chargeType; + return this; + } + + /** + * The type of charge. + * @return chargeType + **/ + @javax.annotation.Nonnull + + public ChargeTypeEnum getChargeType() { + return chargeType; + } + + + public void setChargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner chargeFrequencyCode(ChargeFrequencyCodeEnum chargeFrequencyCode) { + + this.chargeFrequencyCode = chargeFrequencyCode; + return this; + } + + /** + * The code that represents the frequency of charge.<p>See also <a href=\"#chargetype-codes\">in the appendix</a>.</p> + * @return chargeFrequencyCode + **/ + @javax.annotation.Nonnull + + public ChargeFrequencyCodeEnum getChargeFrequencyCode() { + return chargeFrequencyCode; + } + + + public void setChargeFrequencyCode(ChargeFrequencyCodeEnum chargeFrequencyCode) { + this.chargeFrequencyCode = chargeFrequencyCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency code of the currency in that the charge is applied.<p>See also <a href=\"#currencycodes\">in the appendix</a>.</p> + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner conditionList(List conditionList) { + + this.conditionList = conditionList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner addConditionListItem(ConditionListEnum conditionListItem) { + this.conditionList.add(conditionListItem); + return this; + } + + /** + * A list of conditions for the tax. Is empty if <code>chargeType</code> is not <code>conditional</code>. + * @return conditionList + **/ + @javax.annotation.Nonnull + + public List getConditionList() { + return conditionList; + } + + + public void setConditionList(List conditionList) { + this.conditionList = conditionList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner propertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner = (PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner) o; + return Objects.equals(this.typeCode, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.typeCode) && + Objects.equals(this.percent, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.percent) && + Objects.equals(this.chargeType, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.chargeType) && + Objects.equals(this.chargeFrequencyCode, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.chargeFrequencyCode) && + Objects.equals(this.currencyCode, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.currencyCode) && + Objects.equals(this.conditionList, propertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.conditionList); + } + + @Override + public int hashCode() { + return Objects.hash(typeCode, percent, chargeType, chargeFrequencyCode, currencyCode, conditionList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner {\n"); + sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); + sb.append(" percent: ").append(toIndentedString(percent)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" chargeFrequencyCode: ").append(toIndentedString(chargeFrequencyCode)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" conditionList: ").append(toIndentedString(conditionList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("typeCode"); + openapiFields.add("percent"); + openapiFields.add("chargeType"); + openapiFields.add("chargeFrequencyCode"); + openapiFields.add("currencyCode"); + openapiFields.add("conditionList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("typeCode"); + openapiRequiredFields.add("chargeType"); + openapiRequiredFields.add("chargeFrequencyCode"); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("conditionList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("chargeType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `chargeType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeType").toString())); + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + // ensure the required json array is present + if (jsonObj.get("conditionList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("conditionList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `conditionList` to be an array in the JSON string but got `%s`", jsonObj.get("conditionList").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.java new file mode 100644 index 0000000..92aaf79 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.java @@ -0,0 +1,764 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.AvailablePropertiesInner1GeoLocation; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * General information regarding the property. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPropertyInfo { + public static final String SERIALIZED_NAME_UNIT_COUNT = "unitCount"; + @SerializedName(SERIALIZED_NAME_UNIT_COUNT) + private BigDecimal unitCount; + + public static final String SERIALIZED_NAME_MESSAGE_LIST = "messageList"; + @SerializedName(SERIALIZED_NAME_MESSAGE_LIST) + private List messageList = new ArrayList<>(); + + /** + * A property class type code.<p>See also <a href=\"#propertyclass-type-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(CategoryListEnum.Adapter.class) + public enum CategoryListEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")); + + private BigDecimal value; + + CategoryListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CategoryListEnum fromValue(BigDecimal value) { + for (CategoryListEnum b : CategoryListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CategoryListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CategoryListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CategoryListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_CATEGORY_LIST = "categoryList"; + @SerializedName(SERIALIZED_NAME_CATEGORY_LIST) + private List categoryList = new ArrayList<>(); + + /** + * Gets or Sets languageList + */ + @JsonAdapter(LanguageListEnum.Adapter.class) + public enum LanguageListEnum { + AF("af"), + + AR("ar"), + + AZ("az"), + + BE("be"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + EN_GB("en-gb"), + + EN_US("en-us"), + + ES("es"), + + ES_AR("es-ar"), + + ET("et"), + + FR("fr"), + + FI("fi"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KM("km"), + + KO("ko"), + + LO("lo"), + + LT("lt"), + + LV("lv"), + + MS("ms"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + PT_BR("pt-br"), + + PT_PT("pt-pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TL("tl"), + + TH("th"), + + TR("tr"), + + UK("uk"), + + VI("vi"), + + XA("xa"), + + XB("xb"), + + XS("xs"), + + XT("xt"), + + XU("xu"), + + ZH("zh"), + + ZH_CN("zh-cn"), + + ZH_TW("zh-tw"); + + private String value; + + LanguageListEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageListEnum fromValue(String value) { + for (LanguageListEnum b : LanguageListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageListEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_LIST = "languageList"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_LIST) + private List languageList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_LOCATION = "location"; + @SerializedName(SERIALIZED_NAME_LOCATION) + private AvailablePropertiesInner1GeoLocation location; + + public static final String SERIALIZED_NAME_ACCEPTED_PAYMENT_LIST = "acceptedPaymentList"; + @SerializedName(SERIALIZED_NAME_ACCEPTED_PAYMENT_LIST) + private List acceptedPaymentList = new ArrayList<>(); + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo() { + } + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo unitCount(BigDecimal unitCount) { + + this.unitCount = unitCount; + return this; + } + + /** + * The amount of units the property has. + * @return unitCount + **/ + @javax.annotation.Nullable + + public BigDecimal getUnitCount() { + return unitCount; + } + + + public void setUnitCount(BigDecimal unitCount) { + this.unitCount = unitCount; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo messageList(List messageList) { + + this.messageList = messageList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo addMessageListItem(PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner messageListItem) { + this.messageList.add(messageListItem); + return this; + } + + /** + * Contains a descriptive message for this property in all supported languages. + * @return messageList + **/ + @javax.annotation.Nonnull + + public List getMessageList() { + return messageList; + } + + + public void setMessageList(List messageList) { + this.messageList = messageList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo categoryList(List categoryList) { + + this.categoryList = categoryList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo addCategoryListItem(CategoryListEnum categoryListItem) { + this.categoryList.add(categoryListItem); + return this; + } + + /** + * A list of code of the property class types that apply to the property. + * @return categoryList + **/ + @javax.annotation.Nonnull + + public List getCategoryList() { + return categoryList; + } + + + public void setCategoryList(List categoryList) { + this.categoryList = categoryList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo languageList(List languageList) { + + this.languageList = languageList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo addLanguageListItem(LanguageListEnum languageListItem) { + this.languageList.add(languageListItem); + return this; + } + + /** + * The codes of languages the staff of this property can speak. Please note that these codes partially differ from the two character ISO language codes widely used throughout the API as they partially include country specific language code.<p>See also <a href=\"#languagecountry-code\">in the appendix</a>.</p> + * @return languageList + **/ + @javax.annotation.Nonnull + + public List getLanguageList() { + return languageList; + } + + + public void setLanguageList(List languageList) { + this.languageList = languageList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo location(AvailablePropertiesInner1GeoLocation location) { + + this.location = location; + return this; + } + + /** + * Get location + * @return location + **/ + @javax.annotation.Nullable + + public AvailablePropertiesInner1GeoLocation getLocation() { + return location; + } + + + public void setLocation(AvailablePropertiesInner1GeoLocation location) { + this.location = location; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo acceptedPaymentList(List acceptedPaymentList) { + + this.acceptedPaymentList = acceptedPaymentList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo addAcceptedPaymentListItem(PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner acceptedPaymentListItem) { + this.acceptedPaymentList.add(acceptedPaymentListItem); + return this; + } + + /** + * A list of the accepted payment methods. Payment methods might subject to frequent change as payment providers come and go. You should always implement a way to handle new, unexpected payment methods.<p>See also <a href=\"#paymenttypes\">in the appendix</a>.</p> + * @return acceptedPaymentList + **/ + @javax.annotation.Nonnull + + public List getAcceptedPaymentList() { + return acceptedPaymentList; + } + + + public void setAcceptedPaymentList(List acceptedPaymentList) { + this.acceptedPaymentList = acceptedPaymentList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyPropertyInfo propertiesPropertyIdGet200ResponsePropertyPropertyInfo = (PropertiesPropertyIdGet200ResponsePropertyPropertyInfo) o; + return Objects.equals(this.unitCount, propertiesPropertyIdGet200ResponsePropertyPropertyInfo.unitCount) && + Objects.equals(this.messageList, propertiesPropertyIdGet200ResponsePropertyPropertyInfo.messageList) && + Objects.equals(this.categoryList, propertiesPropertyIdGet200ResponsePropertyPropertyInfo.categoryList) && + Objects.equals(this.languageList, propertiesPropertyIdGet200ResponsePropertyPropertyInfo.languageList) && + Objects.equals(this.location, propertiesPropertyIdGet200ResponsePropertyPropertyInfo.location) && + Objects.equals(this.acceptedPaymentList, propertiesPropertyIdGet200ResponsePropertyPropertyInfo.acceptedPaymentList); + } + + @Override + public int hashCode() { + return Objects.hash(unitCount, messageList, categoryList, languageList, location, acceptedPaymentList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPropertyInfo {\n"); + sb.append(" unitCount: ").append(toIndentedString(unitCount)).append("\n"); + sb.append(" messageList: ").append(toIndentedString(messageList)).append("\n"); + sb.append(" categoryList: ").append(toIndentedString(categoryList)).append("\n"); + sb.append(" languageList: ").append(toIndentedString(languageList)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append(" acceptedPaymentList: ").append(toIndentedString(acceptedPaymentList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("unitCount"); + openapiFields.add("messageList"); + openapiFields.add("categoryList"); + openapiFields.add("languageList"); + openapiFields.add("location"); + openapiFields.add("acceptedPaymentList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageList"); + openapiRequiredFields.add("categoryList"); + openapiRequiredFields.add("languageList"); + openapiRequiredFields.add("acceptedPaymentList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPropertyInfo + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPropertyInfo is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPropertyInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("messageList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `messageList` to be an array in the JSON string but got `%s`", jsonObj.get("messageList").toString())); + } + + JsonArray jsonArraymessageList = jsonObj.getAsJsonArray("messageList"); + // validate the required field `messageList` (array) + for (int i = 0; i < jsonArraymessageList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.validateJsonObject(jsonArraymessageList.get(i).getAsJsonObject()); + }; + // ensure the required json array is present + if (jsonObj.get("categoryList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("categoryList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `categoryList` to be an array in the JSON string but got `%s`", jsonObj.get("categoryList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("languageList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("languageList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `languageList` to be an array in the JSON string but got `%s`", jsonObj.get("languageList").toString())); + } + // validate the optional field `location` + if (jsonObj.get("location") != null && !jsonObj.get("location").isJsonNull()) { + AvailablePropertiesInner1GeoLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); + } + // ensure the json data is an array + if (!jsonObj.get("acceptedPaymentList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `acceptedPaymentList` to be an array in the JSON string but got `%s`", jsonObj.get("acceptedPaymentList").toString())); + } + + JsonArray jsonArrayacceptedPaymentList = jsonObj.getAsJsonArray("acceptedPaymentList"); + // validate the required field `acceptedPaymentList` (array) + for (int i = 0; i < jsonArrayacceptedPaymentList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.validateJsonObject(jsonArrayacceptedPaymentList.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPropertyInfo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPropertyInfo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfo read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfo + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPropertyInfo + */ + public static PropertiesPropertyIdGet200ResponsePropertyPropertyInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPropertyInfo.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java new file mode 100644 index 0000000..53b7622 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java @@ -0,0 +1,390 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner { + /** + * The code of the payment option. + */ + @JsonAdapter(CodeEnum.Adapter.class) + public enum CodeEnum { + AMEX("amex"), + + VISA("visa"), + + MASTERCARD("mastercard"), + + DINERS("diners"), + + JCB("jcb"), + + MAESTRO("maestro"), + + DISCOVER("discover"), + + BANCONTACT("bancontact"), + + CASHONLY("cashonly"), + + BANKCARD("bankcard"), + + CARTASI("cartasi"), + + ARGENCARD("argencard"), + + CABAL("cabal"), + + REDCOMPRA("redcompra"), + + OTHER("other"), + + GREATWALL("greatwall"), + + DRAGONPAY("dragonpay"), + + EFTPOS("eftpos"), + + HIPERCARD("hipercard"), + + UNIONPAYDEBIT("unionpaydebit"), + + ECCARD("eccard"), + + BCCARD("bccard"), + + MASTERCARDVIRTUAL("mastercardvirtual"), + + MASTERCARDGOOGLE("mastercardgoogle"), + + UNIONPAYCREDIT("unionpaycredit"); + + private String value; + + CodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CodeEnum fromValue(String value) { + for (CodeEnum b : CodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private CodeEnum code; + + /** + * The type of the payment option. + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + CREDITCARD("creditcard"), + + DEBITCARD("debitcard"), + + PAYMENTSERVICE("paymentservice"), + + CASH("cash"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner code(CodeEnum code) { + + this.code = code; + return this; + } + + /** + * The code of the payment option. + * @return code + **/ + @javax.annotation.Nonnull + + public CodeEnum getCode() { + return code; + } + + + public void setCode(CodeEnum code) { + this.code = code; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * The type of the payment option. + * @return type + **/ + @javax.annotation.Nonnull + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner propertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner = (PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner) o; + return Objects.equals(this.code, propertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.code) && + Objects.equals(this.type, propertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.type); + } + + @Override + public int hashCode() { + return Objects.hash(code, type); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("code"); + openapiFields.add("type"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("code"); + openapiRequiredFields.add("type"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); + } + if (!jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.java new file mode 100644 index 0000000..a6dd3e7 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.java @@ -0,0 +1,365 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner { + /** + * The language of this message.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + */ + @JsonAdapter(LanguageCodeEnum.Adapter.class) + public enum LanguageCodeEnum { + AF("af"), + + AR("ar"), + + BG("bg"), + + CA("ca"), + + CS("cs"), + + DA("da"), + + DE("de"), + + EL("el"), + + EN("en"), + + ES("es"), + + ET("et"), + + FI("fi"), + + FR("fr"), + + HE("he"), + + HI("hi"), + + HR("hr"), + + HU("hu"), + + ID("id"), + + IS("is"), + + IT("it"), + + JA("ja"), + + KO("ko"), + + LT("lt"), + + LV("lv"), + + NL("nl"), + + NO("no"), + + PL("pl"), + + PT("pt"), + + RO("ro"), + + RU("ru"), + + SK("sk"), + + SL("sl"), + + SR("sr"), + + SV("sv"), + + TH("th"), + + TR("tr"), + + VI("vi"), + + ZH("zh"); + + private String value; + + LanguageCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageCodeEnum fromValue(String value) { + for (LanguageCodeEnum b : LanguageCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; + @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) + private LanguageCodeEnum languageCode; + + public static final String SERIALIZED_NAME_TEXT = "text"; + @SerializedName(SERIALIZED_NAME_TEXT) + private String text; + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner languageCode(LanguageCodeEnum languageCode) { + + this.languageCode = languageCode; + return this; + } + + /** + * The language of this message.<p>Please note that beside the general restrictions listed below only languages configured during system setup for your respective tenant are allowed.</p><p>See also <a href=\"#isolanguage-codes\">in the appendix</a>.</p> + * @return languageCode + **/ + @javax.annotation.Nonnull + + public LanguageCodeEnum getLanguageCode() { + return languageCode; + } + + + public void setLanguageCode(LanguageCodeEnum languageCode) { + this.languageCode = languageCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner text(String text) { + + this.text = text; + return this; + } + + /** + * The text of this message. + * @return text + **/ + @javax.annotation.Nonnull + + public String getText() { + return text; + } + + + public void setText(String text) { + this.text = text; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner propertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner = (PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner) o; + return Objects.equals(this.languageCode, propertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.languageCode) && + Objects.equals(this.text, propertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.text); + } + + @Override + public int hashCode() { + return Objects.hash(languageCode, text); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner {\n"); + sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); + sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("languageCode"); + openapiFields.add("text"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("languageCode"); + openapiRequiredFields.add("text"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("languageCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); + } + if (!jsonObj.get("text").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.java similarity index 57% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.java index 447b8b7..ed61e6c 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreated.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; @@ -39,6 +37,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -46,10 +45,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponsePropertyRecordCreated + * Information regarding the creation of the property object. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyRecordCreated { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyRecordCreated { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) private String user; @@ -66,21 +65,20 @@ public class V1PropertyGetPost200ResponsePropertyRecordCreated { @SerializedName(SERIALIZED_NAME_TIME) private BigDecimal time; - public V1PropertyGetPost200ResponsePropertyRecordCreated() { + public PropertiesPropertyIdGet200ResponsePropertyRecordCreated() { } - public V1PropertyGetPost200ResponsePropertyRecordCreated user(String user) { + public PropertiesPropertyIdGet200ResponsePropertyRecordCreated user(String user) { this.user = user; return this; } /** - * Get user + * The user that performed the edit action on the property. * @return user **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f", value = "") + @javax.annotation.Nonnull public String getUser() { return user; @@ -92,18 +90,17 @@ public void setUser(String user) { } - public V1PropertyGetPost200ResponsePropertyRecordCreated tenant(String tenant) { + public PropertiesPropertyIdGet200ResponsePropertyRecordCreated tenant(String tenant) { this.tenant = tenant; return this; } /** - * Get tenant + * The tenant for which the user performed the edit action on the property. * @return tenant **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "dmo-demo", value = "") + @javax.annotation.Nonnull public String getTenant() { return tenant; @@ -115,18 +112,17 @@ public void setTenant(String tenant) { } - public V1PropertyGetPost200ResponsePropertyRecordCreated role(String role) { + public PropertiesPropertyIdGet200ResponsePropertyRecordCreated role(String role) { this.role = role; return this; } /** - * Get role + * The role of the user that performed the edit action on the property. * @return role **/ @javax.annotation.Nullable - @ApiModelProperty(example = "admin", value = "") public String getRole() { return role; @@ -138,18 +134,17 @@ public void setRole(String role) { } - public V1PropertyGetPost200ResponsePropertyRecordCreated time(BigDecimal time) { + public PropertiesPropertyIdGet200ResponsePropertyRecordCreated time(BigDecimal time) { this.time = time; return this; } /** - * Get time + * The timestamp at which the edit action was performed. * @return time **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1609411613660", value = "") + @javax.annotation.Nonnull public BigDecimal getTime() { return time; @@ -170,11 +165,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponsePropertyRecordCreated v1PropertyGetPost200ResponsePropertyRecordCreated = (V1PropertyGetPost200ResponsePropertyRecordCreated) o; - return Objects.equals(this.user, v1PropertyGetPost200ResponsePropertyRecordCreated.user) && - Objects.equals(this.tenant, v1PropertyGetPost200ResponsePropertyRecordCreated.tenant) && - Objects.equals(this.role, v1PropertyGetPost200ResponsePropertyRecordCreated.role) && - Objects.equals(this.time, v1PropertyGetPost200ResponsePropertyRecordCreated.time); + PropertiesPropertyIdGet200ResponsePropertyRecordCreated propertiesPropertyIdGet200ResponsePropertyRecordCreated = (PropertiesPropertyIdGet200ResponsePropertyRecordCreated) o; + return Objects.equals(this.user, propertiesPropertyIdGet200ResponsePropertyRecordCreated.user) && + Objects.equals(this.tenant, propertiesPropertyIdGet200ResponsePropertyRecordCreated.tenant) && + Objects.equals(this.role, propertiesPropertyIdGet200ResponsePropertyRecordCreated.role) && + Objects.equals(this.time, propertiesPropertyIdGet200ResponsePropertyRecordCreated.time); } @Override @@ -185,7 +180,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyRecordCreated {\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyRecordCreated {\n"); sb.append(" user: ").append(toIndentedString(user)).append("\n"); sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); sb.append(" role: ").append(toIndentedString(role)).append("\n"); @@ -219,37 +214,45 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("user"); + openapiRequiredFields.add("tenant"); + openapiRequiredFields.add("time"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordCreated + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyRecordCreated */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyRecordCreated.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyRecordCreated is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyRecordCreated.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyRecordCreated.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyRecordCreated is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyRecordCreated.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyRecordCreated.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyRecordCreated` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyRecordCreated.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyRecordCreated` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyRecordCreated.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (jsonObj.get("user") != null && !jsonObj.get("user").isJsonPrimitive()) { + if (!jsonObj.get("user").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `user` to be a primitive type in the JSON string but got `%s`", jsonObj.get("user").toString())); } - if (jsonObj.get("tenant") != null && !jsonObj.get("tenant").isJsonPrimitive()) { + if (!jsonObj.get("tenant").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `tenant` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tenant").toString())); } - if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonPrimitive()) { + if ((jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) && !jsonObj.get("role").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } } @@ -258,22 +261,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyRecordCreated.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyRecordCreated' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyRecordCreated.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyRecordCreated' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyRecordCreated.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyRecordCreated.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyRecordCreated value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyRecordCreated value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponsePropertyRecordCreated read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyRecordCreated read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -284,18 +287,18 @@ public V1PropertyGetPost200ResponsePropertyRecordCreated read(JsonReader in) thr } /** - * Create an instance of V1PropertyGetPost200ResponsePropertyRecordCreated given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyRecordCreated given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyRecordCreated - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordCreated + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyRecordCreated + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyRecordCreated */ - public static V1PropertyGetPost200ResponsePropertyRecordCreated fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyRecordCreated.class); + public static PropertiesPropertyIdGet200ResponsePropertyRecordCreated fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyRecordCreated.class); } /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyRecordCreated to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyRecordCreated to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordModified.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModified.java similarity index 57% rename from src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordModified.java rename to src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModified.java index cda03a6..1b5a5a3 100644 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordModified.java +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModified.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,8 +20,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; @@ -39,6 +37,7 @@ import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; @@ -46,10 +45,10 @@ import com.lodgea.JSON; /** - * V1PropertyGetPost200ResponsePropertyRecordModified + * Information regarding the last modification of the property object. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyRecordModified { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyRecordModified { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) private String user; @@ -66,21 +65,20 @@ public class V1PropertyGetPost200ResponsePropertyRecordModified { @SerializedName(SERIALIZED_NAME_TIME) private BigDecimal time; - public V1PropertyGetPost200ResponsePropertyRecordModified() { + public PropertiesPropertyIdGet200ResponsePropertyRecordModified() { } - public V1PropertyGetPost200ResponsePropertyRecordModified user(String user) { + public PropertiesPropertyIdGet200ResponsePropertyRecordModified user(String user) { this.user = user; return this; } /** - * Get user + * The user that performed the edit action on the property. * @return user **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f", value = "") + @javax.annotation.Nonnull public String getUser() { return user; @@ -92,18 +90,17 @@ public void setUser(String user) { } - public V1PropertyGetPost200ResponsePropertyRecordModified tenant(String tenant) { + public PropertiesPropertyIdGet200ResponsePropertyRecordModified tenant(String tenant) { this.tenant = tenant; return this; } /** - * Get tenant + * The tenant for which the user performed the edit action on the property. * @return tenant **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "dmo-demo", value = "") + @javax.annotation.Nonnull public String getTenant() { return tenant; @@ -115,18 +112,17 @@ public void setTenant(String tenant) { } - public V1PropertyGetPost200ResponsePropertyRecordModified role(String role) { + public PropertiesPropertyIdGet200ResponsePropertyRecordModified role(String role) { this.role = role; return this; } /** - * Get role + * The role of the user that performed the edit action on the property. * @return role **/ @javax.annotation.Nullable - @ApiModelProperty(example = "admin", value = "") public String getRole() { return role; @@ -138,18 +134,17 @@ public void setRole(String role) { } - public V1PropertyGetPost200ResponsePropertyRecordModified time(BigDecimal time) { + public PropertiesPropertyIdGet200ResponsePropertyRecordModified time(BigDecimal time) { this.time = time; return this; } /** - * Get time + * The timestamp at which the edit action was performed. * @return time **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1652091332815", value = "") + @javax.annotation.Nonnull public BigDecimal getTime() { return time; @@ -170,11 +165,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1PropertyGetPost200ResponsePropertyRecordModified v1PropertyGetPost200ResponsePropertyRecordModified = (V1PropertyGetPost200ResponsePropertyRecordModified) o; - return Objects.equals(this.user, v1PropertyGetPost200ResponsePropertyRecordModified.user) && - Objects.equals(this.tenant, v1PropertyGetPost200ResponsePropertyRecordModified.tenant) && - Objects.equals(this.role, v1PropertyGetPost200ResponsePropertyRecordModified.role) && - Objects.equals(this.time, v1PropertyGetPost200ResponsePropertyRecordModified.time); + PropertiesPropertyIdGet200ResponsePropertyRecordModified propertiesPropertyIdGet200ResponsePropertyRecordModified = (PropertiesPropertyIdGet200ResponsePropertyRecordModified) o; + return Objects.equals(this.user, propertiesPropertyIdGet200ResponsePropertyRecordModified.user) && + Objects.equals(this.tenant, propertiesPropertyIdGet200ResponsePropertyRecordModified.tenant) && + Objects.equals(this.role, propertiesPropertyIdGet200ResponsePropertyRecordModified.role) && + Objects.equals(this.time, propertiesPropertyIdGet200ResponsePropertyRecordModified.time); } @Override @@ -185,7 +180,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyRecordModified {\n"); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyRecordModified {\n"); sb.append(" user: ").append(toIndentedString(user)).append("\n"); sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); sb.append(" role: ").append(toIndentedString(role)).append("\n"); @@ -219,37 +214,45 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("user"); + openapiRequiredFields.add("tenant"); + openapiRequiredFields.add("time"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordModified + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyRecordModified */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyRecordModified.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyRecordModified is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyRecordModified.openapiRequiredFields.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyRecordModified.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyRecordModified is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyRecordModified.openapiRequiredFields.toString())); } } Set> entries = jsonObj.entrySet(); // check to see if the JSON string contains additional fields for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyRecordModified.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyRecordModified` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + if (!PropertiesPropertyIdGet200ResponsePropertyRecordModified.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyRecordModified` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyRecordModified.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (jsonObj.get("user") != null && !jsonObj.get("user").isJsonPrimitive()) { + if (!jsonObj.get("user").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `user` to be a primitive type in the JSON string but got `%s`", jsonObj.get("user").toString())); } - if (jsonObj.get("tenant") != null && !jsonObj.get("tenant").isJsonPrimitive()) { + if (!jsonObj.get("tenant").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `tenant` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tenant").toString())); } - if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonPrimitive()) { + if ((jsonObj.get("role") != null && !jsonObj.get("role").isJsonNull()) && !jsonObj.get("role").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); } } @@ -258,22 +261,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyRecordModified.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyRecordModified' and its subtypes + if (!PropertiesPropertyIdGet200ResponsePropertyRecordModified.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyRecordModified' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyRecordModified.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyRecordModified.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyRecordModified value) throws IOException { + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyRecordModified value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1PropertyGetPost200ResponsePropertyRecordModified read(JsonReader in) throws IOException { + public PropertiesPropertyIdGet200ResponsePropertyRecordModified read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); return thisAdapter.fromJsonTree(jsonObj); @@ -284,18 +287,18 @@ public V1PropertyGetPost200ResponsePropertyRecordModified read(JsonReader in) th } /** - * Create an instance of V1PropertyGetPost200ResponsePropertyRecordModified given an JSON string + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyRecordModified given an JSON string * * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyRecordModified - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordModified + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyRecordModified + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyRecordModified */ - public static V1PropertyGetPost200ResponsePropertyRecordModified fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyRecordModified.class); + public static PropertiesPropertyIdGet200ResponsePropertyRecordModified fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyRecordModified.class); } /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyRecordModified to an JSON string + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyRecordModified to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.java new file mode 100644 index 0000000..6f78c39 --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInner.java @@ -0,0 +1,1979 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * An object describing the service, its pricing and its availability. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyServiceListInner { + /** + * The code of this service<p>See also <a href=\"#servicecodes\">in the appendix</a>.</p> + */ + @JsonAdapter(CodeEnum.Adapter.class) + public enum CodeEnum { + NUMBER_1(new BigDecimal("1")), + + NUMBER_2(new BigDecimal("2")), + + NUMBER_3(new BigDecimal("3")), + + NUMBER_4(new BigDecimal("4")), + + NUMBER_5(new BigDecimal("5")), + + NUMBER_6(new BigDecimal("6")), + + NUMBER_7(new BigDecimal("7")), + + NUMBER_8(new BigDecimal("8")), + + NUMBER_9(new BigDecimal("9")), + + NUMBER_10(new BigDecimal("10")), + + NUMBER_11(new BigDecimal("11")), + + NUMBER_12(new BigDecimal("12")), + + NUMBER_13(new BigDecimal("13")), + + NUMBER_14(new BigDecimal("14")), + + NUMBER_15(new BigDecimal("15")), + + NUMBER_16(new BigDecimal("16")), + + NUMBER_17(new BigDecimal("17")), + + NUMBER_18(new BigDecimal("18")), + + NUMBER_19(new BigDecimal("19")), + + NUMBER_20(new BigDecimal("20")), + + NUMBER_21(new BigDecimal("21")), + + NUMBER_22(new BigDecimal("22")), + + NUMBER_23(new BigDecimal("23")), + + NUMBER_24(new BigDecimal("24")), + + NUMBER_25(new BigDecimal("25")), + + NUMBER_26(new BigDecimal("26")), + + NUMBER_27(new BigDecimal("27")), + + NUMBER_28(new BigDecimal("28")), + + NUMBER_29(new BigDecimal("29")), + + NUMBER_30(new BigDecimal("30")), + + NUMBER_31(new BigDecimal("31")), + + NUMBER_32(new BigDecimal("32")), + + NUMBER_33(new BigDecimal("33")), + + NUMBER_34(new BigDecimal("34")), + + NUMBER_35(new BigDecimal("35")), + + NUMBER_36(new BigDecimal("36")), + + NUMBER_37(new BigDecimal("37")), + + NUMBER_38(new BigDecimal("38")), + + NUMBER_39(new BigDecimal("39")), + + NUMBER_40(new BigDecimal("40")), + + NUMBER_41(new BigDecimal("41")), + + NUMBER_42(new BigDecimal("42")), + + NUMBER_43(new BigDecimal("43")), + + NUMBER_44(new BigDecimal("44")), + + NUMBER_45(new BigDecimal("45")), + + NUMBER_46(new BigDecimal("46")), + + NUMBER_47(new BigDecimal("47")), + + NUMBER_48(new BigDecimal("48")), + + NUMBER_49(new BigDecimal("49")), + + NUMBER_50(new BigDecimal("50")), + + NUMBER_51(new BigDecimal("51")), + + NUMBER_52(new BigDecimal("52")), + + NUMBER_53(new BigDecimal("53")), + + NUMBER_54(new BigDecimal("54")), + + NUMBER_55(new BigDecimal("55")), + + NUMBER_56(new BigDecimal("56")), + + NUMBER_57(new BigDecimal("57")), + + NUMBER_58(new BigDecimal("58")), + + NUMBER_59(new BigDecimal("59")), + + NUMBER_60(new BigDecimal("60")), + + NUMBER_61(new BigDecimal("61")), + + NUMBER_62(new BigDecimal("62")), + + NUMBER_63(new BigDecimal("63")), + + NUMBER_64(new BigDecimal("64")), + + NUMBER_65(new BigDecimal("65")), + + NUMBER_66(new BigDecimal("66")), + + NUMBER_67(new BigDecimal("67")), + + NUMBER_68(new BigDecimal("68")), + + NUMBER_69(new BigDecimal("69")), + + NUMBER_70(new BigDecimal("70")), + + NUMBER_71(new BigDecimal("71")), + + NUMBER_72(new BigDecimal("72")), + + NUMBER_73(new BigDecimal("73")), + + NUMBER_74(new BigDecimal("74")), + + NUMBER_75(new BigDecimal("75")), + + NUMBER_76(new BigDecimal("76")), + + NUMBER_77(new BigDecimal("77")), + + NUMBER_78(new BigDecimal("78")), + + NUMBER_79(new BigDecimal("79")), + + NUMBER_80(new BigDecimal("80")), + + NUMBER_81(new BigDecimal("81")), + + NUMBER_82(new BigDecimal("82")), + + NUMBER_83(new BigDecimal("83")), + + NUMBER_84(new BigDecimal("84")), + + NUMBER_85(new BigDecimal("85")), + + NUMBER_86(new BigDecimal("86")), + + NUMBER_87(new BigDecimal("87")), + + NUMBER_88(new BigDecimal("88")), + + NUMBER_89(new BigDecimal("89")), + + NUMBER_90(new BigDecimal("90")), + + NUMBER_91(new BigDecimal("91")), + + NUMBER_92(new BigDecimal("92")), + + NUMBER_93(new BigDecimal("93")), + + NUMBER_94(new BigDecimal("94")), + + NUMBER_95(new BigDecimal("95")), + + NUMBER_96(new BigDecimal("96")), + + NUMBER_97(new BigDecimal("97")), + + NUMBER_98(new BigDecimal("98")), + + NUMBER_99(new BigDecimal("99")), + + NUMBER_100(new BigDecimal("100")), + + NUMBER_101(new BigDecimal("101")), + + NUMBER_102(new BigDecimal("102")), + + NUMBER_103(new BigDecimal("103")), + + NUMBER_104(new BigDecimal("104")), + + NUMBER_105(new BigDecimal("105")), + + NUMBER_106(new BigDecimal("106")), + + NUMBER_107(new BigDecimal("107")), + + NUMBER_108(new BigDecimal("108")), + + NUMBER_109(new BigDecimal("109")), + + NUMBER_110(new BigDecimal("110")), + + NUMBER_111(new BigDecimal("111")), + + NUMBER_112(new BigDecimal("112")), + + NUMBER_113(new BigDecimal("113")), + + NUMBER_114(new BigDecimal("114")), + + NUMBER_115(new BigDecimal("115")), + + NUMBER_116(new BigDecimal("116")), + + NUMBER_117(new BigDecimal("117")), + + NUMBER_118(new BigDecimal("118")), + + NUMBER_119(new BigDecimal("119")), + + NUMBER_120(new BigDecimal("120")), + + NUMBER_121(new BigDecimal("121")), + + NUMBER_122(new BigDecimal("122")), + + NUMBER_123(new BigDecimal("123")), + + NUMBER_124(new BigDecimal("124")), + + NUMBER_125(new BigDecimal("125")), + + NUMBER_126(new BigDecimal("126")), + + NUMBER_127(new BigDecimal("127")), + + NUMBER_128(new BigDecimal("128")), + + NUMBER_129(new BigDecimal("129")), + + NUMBER_130(new BigDecimal("130")), + + NUMBER_131(new BigDecimal("131")), + + NUMBER_132(new BigDecimal("132")), + + NUMBER_133(new BigDecimal("133")), + + NUMBER_134(new BigDecimal("134")), + + NUMBER_135(new BigDecimal("135")), + + NUMBER_136(new BigDecimal("136")), + + NUMBER_137(new BigDecimal("137")), + + NUMBER_138(new BigDecimal("138")), + + NUMBER_139(new BigDecimal("139")), + + NUMBER_140(new BigDecimal("140")), + + NUMBER_141(new BigDecimal("141")), + + NUMBER_142(new BigDecimal("142")), + + NUMBER_143(new BigDecimal("143")), + + NUMBER_144(new BigDecimal("144")), + + NUMBER_145(new BigDecimal("145")), + + NUMBER_146(new BigDecimal("146")), + + NUMBER_147(new BigDecimal("147")), + + NUMBER_148(new BigDecimal("148")), + + NUMBER_149(new BigDecimal("149")), + + NUMBER_150(new BigDecimal("150")), + + NUMBER_151(new BigDecimal("151")), + + NUMBER_152(new BigDecimal("152")), + + NUMBER_153(new BigDecimal("153")), + + NUMBER_154(new BigDecimal("154")), + + NUMBER_155(new BigDecimal("155")), + + NUMBER_156(new BigDecimal("156")), + + NUMBER_157(new BigDecimal("157")), + + NUMBER_158(new BigDecimal("158")), + + NUMBER_159(new BigDecimal("159")), + + NUMBER_160(new BigDecimal("160")), + + NUMBER_161(new BigDecimal("161")), + + NUMBER_162(new BigDecimal("162")), + + NUMBER_163(new BigDecimal("163")), + + NUMBER_164(new BigDecimal("164")), + + NUMBER_165(new BigDecimal("165")), + + NUMBER_166(new BigDecimal("166")), + + NUMBER_167(new BigDecimal("167")), + + NUMBER_168(new BigDecimal("168")), + + NUMBER_169(new BigDecimal("169")), + + NUMBER_170(new BigDecimal("170")), + + NUMBER_171(new BigDecimal("171")), + + NUMBER_172(new BigDecimal("172")), + + NUMBER_173(new BigDecimal("173")), + + NUMBER_174(new BigDecimal("174")), + + NUMBER_175(new BigDecimal("175")), + + NUMBER_176(new BigDecimal("176")), + + NUMBER_177(new BigDecimal("177")), + + NUMBER_178(new BigDecimal("178")), + + NUMBER_179(new BigDecimal("179")), + + NUMBER_180(new BigDecimal("180")), + + NUMBER_181(new BigDecimal("181")), + + NUMBER_182(new BigDecimal("182")), + + NUMBER_183(new BigDecimal("183")), + + NUMBER_184(new BigDecimal("184")), + + NUMBER_185(new BigDecimal("185")), + + NUMBER_186(new BigDecimal("186")), + + NUMBER_187(new BigDecimal("187")), + + NUMBER_188(new BigDecimal("188")), + + NUMBER_189(new BigDecimal("189")), + + NUMBER_190(new BigDecimal("190")), + + NUMBER_191(new BigDecimal("191")), + + NUMBER_192(new BigDecimal("192")), + + NUMBER_193(new BigDecimal("193")), + + NUMBER_194(new BigDecimal("194")), + + NUMBER_195(new BigDecimal("195")), + + NUMBER_196(new BigDecimal("196")), + + NUMBER_197(new BigDecimal("197")), + + NUMBER_198(new BigDecimal("198")), + + NUMBER_199(new BigDecimal("199")), + + NUMBER_200(new BigDecimal("200")), + + NUMBER_201(new BigDecimal("201")), + + NUMBER_202(new BigDecimal("202")), + + NUMBER_203(new BigDecimal("203")), + + NUMBER_204(new BigDecimal("204")), + + NUMBER_205(new BigDecimal("205")), + + NUMBER_206(new BigDecimal("206")), + + NUMBER_207(new BigDecimal("207")), + + NUMBER_208(new BigDecimal("208")), + + NUMBER_209(new BigDecimal("209")), + + NUMBER_210(new BigDecimal("210")), + + NUMBER_211(new BigDecimal("211")), + + NUMBER_212(new BigDecimal("212")), + + NUMBER_213(new BigDecimal("213")), + + NUMBER_214(new BigDecimal("214")), + + NUMBER_215(new BigDecimal("215")), + + NUMBER_216(new BigDecimal("216")), + + NUMBER_217(new BigDecimal("217")), + + NUMBER_218(new BigDecimal("218")), + + NUMBER_219(new BigDecimal("219")), + + NUMBER_220(new BigDecimal("220")), + + NUMBER_221(new BigDecimal("221")), + + NUMBER_222(new BigDecimal("222")), + + NUMBER_223(new BigDecimal("223")), + + NUMBER_224(new BigDecimal("224")), + + NUMBER_225(new BigDecimal("225")), + + NUMBER_226(new BigDecimal("226")), + + NUMBER_227(new BigDecimal("227")), + + NUMBER_228(new BigDecimal("228")), + + NUMBER_229(new BigDecimal("229")), + + NUMBER_230(new BigDecimal("230")), + + NUMBER_231(new BigDecimal("231")), + + NUMBER_232(new BigDecimal("232")), + + NUMBER_233(new BigDecimal("233")), + + NUMBER_234(new BigDecimal("234")), + + NUMBER_235(new BigDecimal("235")), + + NUMBER_236(new BigDecimal("236")), + + NUMBER_237(new BigDecimal("237")), + + NUMBER_238(new BigDecimal("238")), + + NUMBER_239(new BigDecimal("239")), + + NUMBER_240(new BigDecimal("240")), + + NUMBER_241(new BigDecimal("241")), + + NUMBER_242(new BigDecimal("242")), + + NUMBER_243(new BigDecimal("243")), + + NUMBER_244(new BigDecimal("244")), + + NUMBER_245(new BigDecimal("245")), + + NUMBER_246(new BigDecimal("246")), + + NUMBER_247(new BigDecimal("247")), + + NUMBER_248(new BigDecimal("248")), + + NUMBER_249(new BigDecimal("249")), + + NUMBER_250(new BigDecimal("250")), + + NUMBER_251(new BigDecimal("251")), + + NUMBER_252(new BigDecimal("252")), + + NUMBER_253(new BigDecimal("253")), + + NUMBER_254(new BigDecimal("254")), + + NUMBER_255(new BigDecimal("255")), + + NUMBER_256(new BigDecimal("256")), + + NUMBER_257(new BigDecimal("257")), + + NUMBER_258(new BigDecimal("258")), + + NUMBER_259(new BigDecimal("259")), + + NUMBER_260(new BigDecimal("260")), + + NUMBER_261(new BigDecimal("261")), + + NUMBER_262(new BigDecimal("262")), + + NUMBER_263(new BigDecimal("263")), + + NUMBER_264(new BigDecimal("264")), + + NUMBER_265(new BigDecimal("265")), + + NUMBER_266(new BigDecimal("266")), + + NUMBER_267(new BigDecimal("267")), + + NUMBER_268(new BigDecimal("268")), + + NUMBER_269(new BigDecimal("269")), + + NUMBER_270(new BigDecimal("270")), + + NUMBER_271(new BigDecimal("271")), + + NUMBER_272(new BigDecimal("272")), + + NUMBER_273(new BigDecimal("273")), + + NUMBER_274(new BigDecimal("274")), + + NUMBER_275(new BigDecimal("275")), + + NUMBER_276(new BigDecimal("276")), + + NUMBER_277(new BigDecimal("277")), + + NUMBER_278(new BigDecimal("278")), + + NUMBER_279(new BigDecimal("279")), + + NUMBER_280(new BigDecimal("280")), + + NUMBER_281(new BigDecimal("281")), + + NUMBER_282(new BigDecimal("282")), + + NUMBER_283(new BigDecimal("283")), + + NUMBER_284(new BigDecimal("284")), + + NUMBER_285(new BigDecimal("285")), + + NUMBER_286(new BigDecimal("286")), + + NUMBER_287(new BigDecimal("287")), + + NUMBER_288(new BigDecimal("288")), + + NUMBER_289(new BigDecimal("289")), + + NUMBER_290(new BigDecimal("290")), + + NUMBER_291(new BigDecimal("291")), + + NUMBER_292(new BigDecimal("292")), + + NUMBER_293(new BigDecimal("293")), + + NUMBER_294(new BigDecimal("294")), + + NUMBER_295(new BigDecimal("295")), + + NUMBER_296(new BigDecimal("296")), + + NUMBER_297(new BigDecimal("297")), + + NUMBER_298(new BigDecimal("298")), + + NUMBER_299(new BigDecimal("299")), + + NUMBER_300(new BigDecimal("300")), + + NUMBER_301(new BigDecimal("301")), + + NUMBER_302(new BigDecimal("302")), + + NUMBER_303(new BigDecimal("303")), + + NUMBER_304(new BigDecimal("304")), + + NUMBER_305(new BigDecimal("305")), + + NUMBER_306(new BigDecimal("306")), + + NUMBER_307(new BigDecimal("307")), + + NUMBER_308(new BigDecimal("308")), + + NUMBER_309(new BigDecimal("309")), + + NUMBER_310(new BigDecimal("310")), + + NUMBER_311(new BigDecimal("311")), + + NUMBER_312(new BigDecimal("312")), + + NUMBER_313(new BigDecimal("313")), + + NUMBER_314(new BigDecimal("314")), + + NUMBER_315(new BigDecimal("315")), + + NUMBER_316(new BigDecimal("316")), + + NUMBER_317(new BigDecimal("317")), + + NUMBER_318(new BigDecimal("318")), + + NUMBER_319(new BigDecimal("319")), + + NUMBER_320(new BigDecimal("320")), + + NUMBER_321(new BigDecimal("321")), + + NUMBER_322(new BigDecimal("322")), + + NUMBER_323(new BigDecimal("323")), + + NUMBER_324(new BigDecimal("324")), + + NUMBER_325(new BigDecimal("325")), + + NUMBER_326(new BigDecimal("326")), + + NUMBER_327(new BigDecimal("327")), + + NUMBER_328(new BigDecimal("328")), + + NUMBER_329(new BigDecimal("329")), + + NUMBER_331(new BigDecimal("331")), + + NUMBER_332(new BigDecimal("332")), + + NUMBER_333(new BigDecimal("333")), + + NUMBER_334(new BigDecimal("334")), + + NUMBER_335(new BigDecimal("335")), + + NUMBER_336(new BigDecimal("336")), + + NUMBER_337(new BigDecimal("337")), + + NUMBER_338(new BigDecimal("338")), + + NUMBER_339(new BigDecimal("339")), + + NUMBER_340(new BigDecimal("340")), + + NUMBER_341(new BigDecimal("341")), + + NUMBER_342(new BigDecimal("342")), + + NUMBER_343(new BigDecimal("343")), + + NUMBER_344(new BigDecimal("344")), + + NUMBER_345(new BigDecimal("345")), + + NUMBER_348(new BigDecimal("348")), + + NUMBER_349(new BigDecimal("349")), + + NUMBER_350(new BigDecimal("350")), + + NUMBER_351(new BigDecimal("351")), + + NUMBER_5000(new BigDecimal("5000")), + + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5020(new BigDecimal("5020")), + + NUMBER_5021(new BigDecimal("5021")), + + NUMBER_5022(new BigDecimal("5022")), + + NUMBER_5023(new BigDecimal("5023")), + + NUMBER_5024(new BigDecimal("5024")), + + NUMBER_5025(new BigDecimal("5025")), + + NUMBER_5026(new BigDecimal("5026")), + + NUMBER_5027(new BigDecimal("5027")), + + NUMBER_5028(new BigDecimal("5028")), + + NUMBER_5029(new BigDecimal("5029")), + + NUMBER_5030(new BigDecimal("5030")), + + NUMBER_5031(new BigDecimal("5031")), + + NUMBER_5032(new BigDecimal("5032")), + + NUMBER_5033(new BigDecimal("5033")), + + NUMBER_5034(new BigDecimal("5034")), + + NUMBER_5035(new BigDecimal("5035")), + + NUMBER_5036(new BigDecimal("5036")), + + NUMBER_5037(new BigDecimal("5037")), + + NUMBER_5039(new BigDecimal("5039")), + + NUMBER_5040(new BigDecimal("5040")), + + NUMBER_5041(new BigDecimal("5041")), + + NUMBER_5042(new BigDecimal("5042")), + + NUMBER_5043(new BigDecimal("5043")), + + NUMBER_5044(new BigDecimal("5044")), + + NUMBER_5045(new BigDecimal("5045")), + + NUMBER_5046(new BigDecimal("5046")), + + NUMBER_5047(new BigDecimal("5047")), + + NUMBER_5048(new BigDecimal("5048")), + + NUMBER_5049(new BigDecimal("5049")), + + NUMBER_5050(new BigDecimal("5050")), + + NUMBER_5051(new BigDecimal("5051")), + + NUMBER_5052(new BigDecimal("5052")), + + NUMBER_5053(new BigDecimal("5053")), + + NUMBER_5054(new BigDecimal("5054")), + + NUMBER_5055(new BigDecimal("5055")), + + NUMBER_5056(new BigDecimal("5056")), + + NUMBER_5057(new BigDecimal("5057")), + + NUMBER_5058(new BigDecimal("5058")), + + NUMBER_5059(new BigDecimal("5059")), + + NUMBER_5060(new BigDecimal("5060")), + + NUMBER_5061(new BigDecimal("5061")), + + NUMBER_5062(new BigDecimal("5062")), + + NUMBER_5063(new BigDecimal("5063")), + + NUMBER_5064(new BigDecimal("5064")), + + NUMBER_5065(new BigDecimal("5065")), + + NUMBER_5066(new BigDecimal("5066")), + + NUMBER_5067(new BigDecimal("5067")), + + NUMBER_5068(new BigDecimal("5068")), + + NUMBER_5069(new BigDecimal("5069")), + + NUMBER_5070(new BigDecimal("5070")), + + NUMBER_5071(new BigDecimal("5071")), + + NUMBER_5072(new BigDecimal("5072")), + + NUMBER_5073(new BigDecimal("5073")), + + NUMBER_5074(new BigDecimal("5074")), + + NUMBER_5075(new BigDecimal("5075")), + + NUMBER_5076(new BigDecimal("5076")), + + NUMBER_5077(new BigDecimal("5077")), + + NUMBER_5078(new BigDecimal("5078")), + + NUMBER_5079(new BigDecimal("5079")), + + NUMBER_5080(new BigDecimal("5080")), + + NUMBER_5081(new BigDecimal("5081")), + + NUMBER_5082(new BigDecimal("5082")), + + NUMBER_5083(new BigDecimal("5083")), + + NUMBER_5084(new BigDecimal("5084")), + + NUMBER_5085(new BigDecimal("5085")), + + NUMBER_5086(new BigDecimal("5086")), + + NUMBER_5087(new BigDecimal("5087")), + + NUMBER_5088(new BigDecimal("5088")), + + NUMBER_5089(new BigDecimal("5089")), + + NUMBER_5090(new BigDecimal("5090")), + + NUMBER_5091(new BigDecimal("5091")), + + NUMBER_5092(new BigDecimal("5092")), + + NUMBER_5093(new BigDecimal("5093")), + + NUMBER_5094(new BigDecimal("5094")), + + NUMBER_5095(new BigDecimal("5095")), + + NUMBER_5096(new BigDecimal("5096")), + + NUMBER_5097(new BigDecimal("5097")), + + NUMBER_5098(new BigDecimal("5098")), + + NUMBER_5099(new BigDecimal("5099")), + + NUMBER_5100(new BigDecimal("5100")), + + NUMBER_5101(new BigDecimal("5101")), + + NUMBER_5102(new BigDecimal("5102")), + + NUMBER_5103(new BigDecimal("5103")), + + NUMBER_5104(new BigDecimal("5104")), + + NUMBER_5105(new BigDecimal("5105")), + + NUMBER_5106(new BigDecimal("5106")), + + NUMBER_5107(new BigDecimal("5107")), + + NUMBER_5108(new BigDecimal("5108")), + + NUMBER_5109(new BigDecimal("5109")), + + NUMBER_5110(new BigDecimal("5110")), + + NUMBER_5111(new BigDecimal("5111")), + + NUMBER_5112(new BigDecimal("5112")), + + NUMBER_5113(new BigDecimal("5113")), + + NUMBER_5114(new BigDecimal("5114")), + + NUMBER_5115(new BigDecimal("5115")), + + NUMBER_5116(new BigDecimal("5116")), + + NUMBER_5117(new BigDecimal("5117")), + + NUMBER_5118(new BigDecimal("5118")), + + NUMBER_5119(new BigDecimal("5119")), + + NUMBER_5120(new BigDecimal("5120")), + + NUMBER_5121(new BigDecimal("5121")), + + NUMBER_5122(new BigDecimal("5122")), + + NUMBER_5123(new BigDecimal("5123")), + + NUMBER_5124(new BigDecimal("5124")), + + NUMBER_5125(new BigDecimal("5125")), + + NUMBER_5126(new BigDecimal("5126")), + + NUMBER_5127(new BigDecimal("5127")), + + NUMBER_5128(new BigDecimal("5128")), + + NUMBER_5129(new BigDecimal("5129")), + + NUMBER_5130(new BigDecimal("5130")), + + NUMBER_5131(new BigDecimal("5131")), + + NUMBER_5132(new BigDecimal("5132")), + + NUMBER_5133(new BigDecimal("5133")), + + NUMBER_5134(new BigDecimal("5134")), + + NUMBER_5135(new BigDecimal("5135")), + + NUMBER_5136(new BigDecimal("5136")), + + NUMBER_5137(new BigDecimal("5137")), + + NUMBER_5138(new BigDecimal("5138")), + + NUMBER_5139(new BigDecimal("5139")), + + NUMBER_5140(new BigDecimal("5140")), + + NUMBER_5141(new BigDecimal("5141")), + + NUMBER_5142(new BigDecimal("5142")), + + NUMBER_5143(new BigDecimal("5143")), + + NUMBER_5144(new BigDecimal("5144")), + + NUMBER_5145(new BigDecimal("5145")), + + NUMBER_5146(new BigDecimal("5146")), + + NUMBER_5147(new BigDecimal("5147")), + + NUMBER_5148(new BigDecimal("5148")), + + NUMBER_5149(new BigDecimal("5149")), + + NUMBER_5150(new BigDecimal("5150")), + + NUMBER_5151(new BigDecimal("5151")), + + NUMBER_5152(new BigDecimal("5152")), + + NUMBER_5153(new BigDecimal("5153")), + + NUMBER_5154(new BigDecimal("5154")), + + NUMBER_5156(new BigDecimal("5156")), + + NUMBER_5157(new BigDecimal("5157")), + + NUMBER_5158(new BigDecimal("5158")), + + NUMBER_5159(new BigDecimal("5159")), + + NUMBER_5160(new BigDecimal("5160")), + + NUMBER_5161(new BigDecimal("5161")), + + NUMBER_5162(new BigDecimal("5162")), + + NUMBER_5163(new BigDecimal("5163")), + + NUMBER_5164(new BigDecimal("5164")), + + NUMBER_5165(new BigDecimal("5165")), + + NUMBER_5166(new BigDecimal("5166")), + + NUMBER_5167(new BigDecimal("5167")), + + NUMBER_5168(new BigDecimal("5168")), + + NUMBER_5169(new BigDecimal("5169")), + + NUMBER_5170(new BigDecimal("5170")), + + NUMBER_5171(new BigDecimal("5171")), + + NUMBER_5172(new BigDecimal("5172")), + + NUMBER_5173(new BigDecimal("5173")), + + NUMBER_5174(new BigDecimal("5174")), + + NUMBER_5175(new BigDecimal("5175")), + + NUMBER_5176(new BigDecimal("5176")), + + NUMBER_5177(new BigDecimal("5177")), + + NUMBER_5178(new BigDecimal("5178")), + + NUMBER_6000(new BigDecimal("6000")), + + NUMBER_6001(new BigDecimal("6001")), + + NUMBER_90001(new BigDecimal("90001")); + + private BigDecimal value; + + CodeEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CodeEnum fromValue(BigDecimal value) { + for (CodeEnum b : CodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CodeEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private CodeEnum code; + + public static final String SERIALIZED_NAME_PRICE = "price"; + @SerializedName(SERIALIZED_NAME_PRICE) + private BigDecimal price; + + public static final String SERIALIZED_NAME_EXISTS = "exists"; + @SerializedName(SERIALIZED_NAME_EXISTS) + private Boolean exists; + + public static final String SERIALIZED_NAME_INCLUDED = "included"; + @SerializedName(SERIALIZED_NAME_INCLUDED) + private Boolean included; + + /** + * The currency of the surcharge for this service + */ + @JsonAdapter(CurrencyCodeEnum.Adapter.class) + public enum CurrencyCodeEnum { + AED("AED"), + + ARS("ARS"), + + AUD("AUD"), + + AZN("AZN"), + + BGN("BGN"), + + BHD("BHD"), + + BRL("BRL"), + + CAD("CAD"), + + CHF("CHF"), + + CLP("CLP"), + + CNY("CNY"), + + COP("COP"), + + CZK("CZK"), + + DKK("DKK"), + + EGP("EGP"), + + EUR("EUR"), + + FJD("FJD"), + + GBP("GBP"), + + GEL("GEL"), + + HKD("HKD"), + + HUF("HUF"), + + IDR("IDR"), + + ILS("ILS"), + + INR("INR"), + + JOD("JOD"), + + JPY("JPY"), + + KRW("KRW"), + + KWD("KWD"), + + KZT("KZT"), + + MDL("MDL"), + + MXN("MXN"), + + MYR("MYR"), + + NAD("NAD"), + + NOK("NOK"), + + NZD("NZD"), + + OMR("OMR"), + + PLN("PLN"), + + QAR("QAR"), + + RON("RON"), + + RUB("RUB"), + + SAR("SAR"), + + SEK("SEK"), + + SGD("SGD"), + + THB("THB"), + + TRY("TRY"), + + TWD("TWD"), + + UAH("UAH"), + + USD("USD"), + + XOF("XOF"), + + ZAR("ZAR"); + + private String value; + + CurrencyCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CurrencyCodeEnum fromValue(String value) { + for (CurrencyCodeEnum b : CurrencyCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CurrencyCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CurrencyCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CurrencyCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private CurrencyCodeEnum currencyCode; + + /** + * Gets or Sets featureList + */ + @JsonAdapter(FeatureListEnum.Adapter.class) + public enum FeatureListEnum { + A_LA_CARTE("a_la_carte"), + + BUFFET("buffet"), + + GUESTS_ONLY("guests_only"), + + ACCEPTS_RESERVATIONS("accepts_reservations"), + + OUTDOOR_SEATING("outdoor_seating"); + + private String value; + + FeatureListEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FeatureListEnum fromValue(String value) { + for (FeatureListEnum b : FeatureListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FeatureListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FeatureListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FeatureListEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FEATURE_LIST = "featureList"; + @SerializedName(SERIALIZED_NAME_FEATURE_LIST) + private List featureList = new ArrayList<>(); + + /** + * Gets or Sets typeList + */ + @JsonAdapter(TypeListEnum.Adapter.class) + public enum TypeListEnum { + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")); + + private BigDecimal value; + + TypeListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeListEnum fromValue(BigDecimal value) { + for (TypeListEnum b : TypeListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_TYPE_LIST = "typeList"; + @SerializedName(SERIALIZED_NAME_TYPE_LIST) + private List typeList = new ArrayList<>(); + + /** + * Gets or Sets itemList + */ + @JsonAdapter(ItemListEnum.Adapter.class) + public enum ItemListEnum { + NUMBER_5001(new BigDecimal("5001")), + + NUMBER_5002(new BigDecimal("5002")), + + NUMBER_5003(new BigDecimal("5003")), + + NUMBER_5004(new BigDecimal("5004")), + + NUMBER_5005(new BigDecimal("5005")), + + NUMBER_5006(new BigDecimal("5006")), + + NUMBER_5007(new BigDecimal("5007")), + + NUMBER_5008(new BigDecimal("5008")), + + NUMBER_5009(new BigDecimal("5009")), + + NUMBER_5010(new BigDecimal("5010")), + + NUMBER_5011(new BigDecimal("5011")), + + NUMBER_5012(new BigDecimal("5012")), + + NUMBER_5013(new BigDecimal("5013")), + + NUMBER_5014(new BigDecimal("5014")), + + NUMBER_5015(new BigDecimal("5015")), + + NUMBER_5016(new BigDecimal("5016")), + + NUMBER_5017(new BigDecimal("5017")), + + NUMBER_5018(new BigDecimal("5018")), + + NUMBER_5019(new BigDecimal("5019")); + + private BigDecimal value; + + ItemListEnum(BigDecimal value) { + this.value = value; + } + + public BigDecimal getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ItemListEnum fromValue(BigDecimal value) { + for (ItemListEnum b : ItemListEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ItemListEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ItemListEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ItemListEnum.fromValue(new BigDecimal(value)); + } + } + } + + public static final String SERIALIZED_NAME_ITEM_LIST = "itemList"; + @SerializedName(SERIALIZED_NAME_ITEM_LIST) + private List itemList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_OPERATION_TIME_LIST = "operationTimeList"; + @SerializedName(SERIALIZED_NAME_OPERATION_TIME_LIST) + private List operationTimeList = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner code(CodeEnum code) { + + this.code = code; + return this; + } + + /** + * The code of this service<p>See also <a href=\"#servicecodes\">in the appendix</a>.</p> + * @return code + **/ + @javax.annotation.Nonnull + + public CodeEnum getCode() { + return code; + } + + + public void setCode(CodeEnum code) { + this.code = code; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner price(BigDecimal price) { + + this.price = price; + return this; + } + + /** + * The surcharge for this service. + * @return price + **/ + @javax.annotation.Nonnull + + public BigDecimal getPrice() { + return price; + } + + + public void setPrice(BigDecimal price) { + this.price = price; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner exists(Boolean exists) { + + this.exists = exists; + return this; + } + + /** + * Whether this service is available. + * @return exists + **/ + @javax.annotation.Nonnull + + public Boolean getExists() { + return exists; + } + + + public void setExists(Boolean exists) { + this.exists = exists; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner included(Boolean included) { + + this.included = included; + return this; + } + + /** + * Whether this service is complementary. + * @return included + **/ + @javax.annotation.Nonnull + + public Boolean getIncluded() { + return included; + } + + + public void setIncluded(Boolean included) { + this.included = included; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner currencyCode(CurrencyCodeEnum currencyCode) { + + this.currencyCode = currencyCode; + return this; + } + + /** + * The currency of the surcharge for this service + * @return currencyCode + **/ + @javax.annotation.Nonnull + + public CurrencyCodeEnum getCurrencyCode() { + return currencyCode; + } + + + public void setCurrencyCode(CurrencyCodeEnum currencyCode) { + this.currencyCode = currencyCode; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner featureList(List featureList) { + + this.featureList = featureList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner addFeatureListItem(FeatureListEnum featureListItem) { + this.featureList.add(featureListItem); + return this; + } + + /** + * A list of features. + * @return featureList + **/ + @javax.annotation.Nonnull + + public List getFeatureList() { + return featureList; + } + + + public void setFeatureList(List featureList) { + this.featureList = featureList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner typeList(List typeList) { + + this.typeList = typeList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner addTypeListItem(TypeListEnum typeListItem) { + this.typeList.add(typeListItem); + return this; + } + + /** + * A list of codes describing the available breakfast type.<p>See also <a href=\"#breakfasttype-codes\">in the appendix</a>.</p> + * @return typeList + **/ + @javax.annotation.Nonnull + + public List getTypeList() { + return typeList; + } + + + public void setTypeList(List typeList) { + this.typeList = typeList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner itemList(List itemList) { + + this.itemList = itemList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner addItemListItem(ItemListEnum itemListItem) { + this.itemList.add(itemListItem); + return this; + } + + /** + * A list of codes describing the available breakfast items.<p>See also <a href=\"#breakfastitem-codes\">in the appendix</a>.</p> + * @return itemList + **/ + @javax.annotation.Nonnull + + public List getItemList() { + return itemList; + } + + + public void setItemList(List itemList) { + this.itemList = itemList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner operationTimeList(List operationTimeList) { + + this.operationTimeList = operationTimeList; + return this; + } + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner addOperationTimeListItem(PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner operationTimeListItem) { + this.operationTimeList.add(operationTimeListItem); + return this; + } + + /** + * A list of operation times, including start and end times, and the days of the week on which the operation is open. + * @return operationTimeList + **/ + @javax.annotation.Nonnull + + public List getOperationTimeList() { + return operationTimeList; + } + + + public void setOperationTimeList(List operationTimeList) { + this.operationTimeList = operationTimeList; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner name(String name) { + + this.name = name; + return this; + } + + /** + * The name of this service. + * @return name + **/ + @javax.annotation.Nonnull + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyServiceListInner propertiesPropertyIdGet200ResponsePropertyServiceListInner = (PropertiesPropertyIdGet200ResponsePropertyServiceListInner) o; + return Objects.equals(this.code, propertiesPropertyIdGet200ResponsePropertyServiceListInner.code) && + Objects.equals(this.price, propertiesPropertyIdGet200ResponsePropertyServiceListInner.price) && + Objects.equals(this.exists, propertiesPropertyIdGet200ResponsePropertyServiceListInner.exists) && + Objects.equals(this.included, propertiesPropertyIdGet200ResponsePropertyServiceListInner.included) && + Objects.equals(this.currencyCode, propertiesPropertyIdGet200ResponsePropertyServiceListInner.currencyCode) && + Objects.equals(this.featureList, propertiesPropertyIdGet200ResponsePropertyServiceListInner.featureList) && + Objects.equals(this.typeList, propertiesPropertyIdGet200ResponsePropertyServiceListInner.typeList) && + Objects.equals(this.itemList, propertiesPropertyIdGet200ResponsePropertyServiceListInner.itemList) && + Objects.equals(this.operationTimeList, propertiesPropertyIdGet200ResponsePropertyServiceListInner.operationTimeList) && + Objects.equals(this.name, propertiesPropertyIdGet200ResponsePropertyServiceListInner.name); + } + + @Override + public int hashCode() { + return Objects.hash(code, price, exists, included, currencyCode, featureList, typeList, itemList, operationTimeList, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyServiceListInner {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" price: ").append(toIndentedString(price)).append("\n"); + sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); + sb.append(" included: ").append(toIndentedString(included)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" featureList: ").append(toIndentedString(featureList)).append("\n"); + sb.append(" typeList: ").append(toIndentedString(typeList)).append("\n"); + sb.append(" itemList: ").append(toIndentedString(itemList)).append("\n"); + sb.append(" operationTimeList: ").append(toIndentedString(operationTimeList)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("code"); + openapiFields.add("price"); + openapiFields.add("exists"); + openapiFields.add("included"); + openapiFields.add("currencyCode"); + openapiFields.add("featureList"); + openapiFields.add("typeList"); + openapiFields.add("itemList"); + openapiFields.add("operationTimeList"); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("code"); + openapiRequiredFields.add("price"); + openapiRequiredFields.add("exists"); + openapiRequiredFields.add("included"); + openapiRequiredFields.add("currencyCode"); + openapiRequiredFields.add("featureList"); + openapiRequiredFields.add("typeList"); + openapiRequiredFields.add("itemList"); + openapiRequiredFields.add("operationTimeList"); + openapiRequiredFields.add("name"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyServiceListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyServiceListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyServiceListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyServiceListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyServiceListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyServiceListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyServiceListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("currencyCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); + } + // ensure the required json array is present + if (jsonObj.get("featureList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("featureList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `featureList` to be an array in the JSON string but got `%s`", jsonObj.get("featureList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("typeList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("typeList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `typeList` to be an array in the JSON string but got `%s`", jsonObj.get("typeList").toString())); + } + // ensure the required json array is present + if (jsonObj.get("itemList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("itemList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `itemList` to be an array in the JSON string but got `%s`", jsonObj.get("itemList").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("operationTimeList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `operationTimeList` to be an array in the JSON string but got `%s`", jsonObj.get("operationTimeList").toString())); + } + + JsonArray jsonArrayoperationTimeList = jsonObj.getAsJsonArray("operationTimeList"); + // validate the required field `operationTimeList` (array) + for (int i = 0; i < jsonArrayoperationTimeList.size(); i++) { + PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.validateJsonObject(jsonArrayoperationTimeList.get(i).getAsJsonObject()); + }; + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyServiceListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyServiceListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyServiceListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyServiceListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyServiceListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyServiceListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyServiceListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyServiceListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyServiceListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyServiceListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyServiceListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.java b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.java new file mode 100644 index 0000000..bc7ffef --- /dev/null +++ b/src/main/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.java @@ -0,0 +1,451 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.lodgea.JSON; + +/** + * PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-02-06T17:11:31.294726198Z[Etc/UTC]") +public class PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner { + public static final String SERIALIZED_NAME_START = "start"; + @SerializedName(SERIALIZED_NAME_START) + private BigDecimal start; + + public static final String SERIALIZED_NAME_END = "end"; + @SerializedName(SERIALIZED_NAME_END) + private BigDecimal end; + + public static final String SERIALIZED_NAME_MONDAY = "monday"; + @SerializedName(SERIALIZED_NAME_MONDAY) + private Boolean monday; + + public static final String SERIALIZED_NAME_TUESDAY = "tuesday"; + @SerializedName(SERIALIZED_NAME_TUESDAY) + private Boolean tuesday; + + public static final String SERIALIZED_NAME_WEDNESDAY = "wednesday"; + @SerializedName(SERIALIZED_NAME_WEDNESDAY) + private Boolean wednesday; + + public static final String SERIALIZED_NAME_THURSDAY = "thursday"; + @SerializedName(SERIALIZED_NAME_THURSDAY) + private Boolean thursday; + + public static final String SERIALIZED_NAME_FRIDAY = "friday"; + @SerializedName(SERIALIZED_NAME_FRIDAY) + private Boolean friday; + + public static final String SERIALIZED_NAME_SATURDAY = "saturday"; + @SerializedName(SERIALIZED_NAME_SATURDAY) + private Boolean saturday; + + public static final String SERIALIZED_NAME_SUNDAY = "sunday"; + @SerializedName(SERIALIZED_NAME_SUNDAY) + private Boolean sunday; + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner() { + } + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner start(BigDecimal start) { + + this.start = start; + return this; + } + + /** + * The start time of operation in milliseconds. + * @return start + **/ + @javax.annotation.Nonnull + + public BigDecimal getStart() { + return start; + } + + + public void setStart(BigDecimal start) { + this.start = start; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner end(BigDecimal end) { + + this.end = end; + return this; + } + + /** + * The end time of operation in milliseconds. + * @return end + **/ + @javax.annotation.Nonnull + + public BigDecimal getEnd() { + return end; + } + + + public void setEnd(BigDecimal end) { + this.end = end; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner monday(Boolean monday) { + + this.monday = monday; + return this; + } + + /** + * Indicates whether the operation is open on Monday. + * @return monday + **/ + @javax.annotation.Nonnull + + public Boolean getMonday() { + return monday; + } + + + public void setMonday(Boolean monday) { + this.monday = monday; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner tuesday(Boolean tuesday) { + + this.tuesday = tuesday; + return this; + } + + /** + * Indicates whether the operation is open on Tuesday. + * @return tuesday + **/ + @javax.annotation.Nonnull + + public Boolean getTuesday() { + return tuesday; + } + + + public void setTuesday(Boolean tuesday) { + this.tuesday = tuesday; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner wednesday(Boolean wednesday) { + + this.wednesday = wednesday; + return this; + } + + /** + * Indicates whether the operation is open on Wednesday. + * @return wednesday + **/ + @javax.annotation.Nonnull + + public Boolean getWednesday() { + return wednesday; + } + + + public void setWednesday(Boolean wednesday) { + this.wednesday = wednesday; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner thursday(Boolean thursday) { + + this.thursday = thursday; + return this; + } + + /** + * Indicates whether the operation is open on Thursday. + * @return thursday + **/ + @javax.annotation.Nonnull + + public Boolean getThursday() { + return thursday; + } + + + public void setThursday(Boolean thursday) { + this.thursday = thursday; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner friday(Boolean friday) { + + this.friday = friday; + return this; + } + + /** + * Indicates whether the operation is open on Friday. + * @return friday + **/ + @javax.annotation.Nonnull + + public Boolean getFriday() { + return friday; + } + + + public void setFriday(Boolean friday) { + this.friday = friday; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner saturday(Boolean saturday) { + + this.saturday = saturday; + return this; + } + + /** + * Indicates whether the operation is open on Saturday. + * @return saturday + **/ + @javax.annotation.Nonnull + + public Boolean getSaturday() { + return saturday; + } + + + public void setSaturday(Boolean saturday) { + this.saturday = saturday; + } + + + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner sunday(Boolean sunday) { + + this.sunday = sunday; + return this; + } + + /** + * Indicates whether the operation is open on Sunday. + * @return sunday + **/ + @javax.annotation.Nonnull + + public Boolean getSunday() { + return sunday; + } + + + public void setSunday(Boolean sunday) { + this.sunday = sunday; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner = (PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner) o; + return Objects.equals(this.start, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.start) && + Objects.equals(this.end, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.end) && + Objects.equals(this.monday, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.monday) && + Objects.equals(this.tuesday, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.tuesday) && + Objects.equals(this.wednesday, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.wednesday) && + Objects.equals(this.thursday, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.thursday) && + Objects.equals(this.friday, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.friday) && + Objects.equals(this.saturday, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.saturday) && + Objects.equals(this.sunday, propertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.sunday); + } + + @Override + public int hashCode() { + return Objects.hash(start, end, monday, tuesday, wednesday, thursday, friday, saturday, sunday); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner {\n"); + sb.append(" start: ").append(toIndentedString(start)).append("\n"); + sb.append(" end: ").append(toIndentedString(end)).append("\n"); + sb.append(" monday: ").append(toIndentedString(monday)).append("\n"); + sb.append(" tuesday: ").append(toIndentedString(tuesday)).append("\n"); + sb.append(" wednesday: ").append(toIndentedString(wednesday)).append("\n"); + sb.append(" thursday: ").append(toIndentedString(thursday)).append("\n"); + sb.append(" friday: ").append(toIndentedString(friday)).append("\n"); + sb.append(" saturday: ").append(toIndentedString(saturday)).append("\n"); + sb.append(" sunday: ").append(toIndentedString(sunday)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("start"); + openapiFields.add("end"); + openapiFields.add("monday"); + openapiFields.add("tuesday"); + openapiFields.add("wednesday"); + openapiFields.add("thursday"); + openapiFields.add("friday"); + openapiFields.add("saturday"); + openapiFields.add("sunday"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("start"); + openapiRequiredFields.add("end"); + openapiRequiredFields.add("monday"); + openapiRequiredFields.add("tuesday"); + openapiRequiredFields.add("wednesday"); + openapiRequiredFields.add("thursday"); + openapiRequiredFields.add("friday"); + openapiRequiredFields.add("saturday"); + openapiRequiredFields.add("sunday"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner is not found in the empty JSON string", PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + * @throws IOException if the JSON string is invalid with respect to PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + */ + public static PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner.class); + } + + /** + * Convert an instance of PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/lodgea/model/PropertyGet.java b/src/main/java/com/lodgea/model/PropertyGet.java deleted file mode 100644 index 1354795..0000000 --- a/src/main/java/com/lodgea/model/PropertyGet.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * PropertyGet - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class PropertyGet { - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public PropertyGet() { - } - - public PropertyGet propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyGet propertyGet = (PropertyGet) o; - return Objects.equals(this.propertyId, propertyGet.propertyId); - } - - @Override - public int hashCode() { - return Objects.hash(propertyId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyGet {\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("propertyId"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to PropertyGet - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (PropertyGet.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in PropertyGet is not found in the empty JSON string", PropertyGet.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!PropertyGet.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertyGet` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PropertyGet.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PropertyGet' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PropertyGet.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PropertyGet value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PropertyGet read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PropertyGet given an JSON string - * - * @param jsonString JSON string - * @return An instance of PropertyGet - * @throws IOException if the JSON string is invalid with respect to PropertyGet - */ - public static PropertyGet fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PropertyGet.class); - } - - /** - * Convert an instance of PropertyGet to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/PropertyList.java b/src/main/java/com/lodgea/model/PropertyList.java deleted file mode 100644 index ed641e4..0000000 --- a/src/main/java/com/lodgea/model/PropertyList.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * PropertyList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class PropertyList { - public static final String SERIALIZED_NAME_KEYWORD = "keyword"; - @SerializedName(SERIALIZED_NAME_KEYWORD) - private String keyword; - - public static final String SERIALIZED_NAME_PAGE_TOKEN = "pageToken"; - @SerializedName(SERIALIZED_NAME_PAGE_TOKEN) - private String pageToken; - - public PropertyList() { - } - - public PropertyList keyword(String keyword) { - - this.keyword = keyword; - return this; - } - - /** - * Get keyword - * @return keyword - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Strandresidenz Sylt", value = "") - - public String getKeyword() { - return keyword; - } - - - public void setKeyword(String keyword) { - this.keyword = keyword; - } - - - public PropertyList pageToken(String pageToken) { - - this.pageToken = pageToken; - return this; - } - - /** - * Get pageToken - * @return pageToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "eyJ0ZW5hbnRDb2RlIjoiZG1vLWRlbW8iLCJuYW1lIjoiTGFuZGhhdXMgVHJlc2tlcnNhbmQiLCJwcm9wZXJ0eUlkIjoibGFuZGhhdXMtdHJlc2tlcnNhbmQifQ==", value = "") - - public String getPageToken() { - return pageToken; - } - - - public void setPageToken(String pageToken) { - this.pageToken = pageToken; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyList propertyList = (PropertyList) o; - return Objects.equals(this.keyword, propertyList.keyword) && - Objects.equals(this.pageToken, propertyList.pageToken); - } - - @Override - public int hashCode() { - return Objects.hash(keyword, pageToken); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyList {\n"); - sb.append(" keyword: ").append(toIndentedString(keyword)).append("\n"); - sb.append(" pageToken: ").append(toIndentedString(pageToken)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("keyword"); - openapiFields.add("pageToken"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to PropertyList - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (PropertyList.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in PropertyList is not found in the empty JSON string", PropertyList.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!PropertyList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertyList` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("keyword") != null && !jsonObj.get("keyword").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `keyword` to be a primitive type in the JSON string but got `%s`", jsonObj.get("keyword").toString())); - } - if (jsonObj.get("pageToken") != null && !jsonObj.get("pageToken").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `pageToken` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pageToken").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PropertyList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PropertyList' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PropertyList.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PropertyList value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PropertyList read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PropertyList given an JSON string - * - * @param jsonString JSON string - * @return An instance of PropertyList - * @throws IOException if the JSON string is invalid with respect to PropertyList - */ - public static PropertyList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PropertyList.class); - } - - /** - * Convert an instance of PropertyList to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200Response.java b/src/main/java/com/lodgea/model/V1AvailabilityGetPost200Response.java deleted file mode 100644 index e0349fc..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200Response.java +++ /dev/null @@ -1,364 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInner; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRoomTypeListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilityGetPost200Response - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilityGetPost200Response { - public static final String SERIALIZED_NAME_RATE_PLAN_LIST = "ratePlanList"; - @SerializedName(SERIALIZED_NAME_RATE_PLAN_LIST) - private List ratePlanList = null; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; - @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) - private List mealPlanList = null; - - public static final String SERIALIZED_NAME_ROOM_TYPE_LIST = "roomTypeList"; - @SerializedName(SERIALIZED_NAME_ROOM_TYPE_LIST) - private List roomTypeList = null; - - public V1AvailabilityGetPost200Response() { - } - - public V1AvailabilityGetPost200Response ratePlanList(List ratePlanList) { - - this.ratePlanList = ratePlanList; - return this; - } - - public V1AvailabilityGetPost200Response addRatePlanListItem(V1AvailabilityGetPost200ResponseRatePlanListInner ratePlanListItem) { - if (this.ratePlanList == null) { - this.ratePlanList = new ArrayList<>(); - } - this.ratePlanList.add(ratePlanListItem); - return this; - } - - /** - * Get ratePlanList - * @return ratePlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRatePlanList() { - return ratePlanList; - } - - - public void setRatePlanList(List ratePlanList) { - this.ratePlanList = ratePlanList; - } - - - public V1AvailabilityGetPost200Response name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1AvailabilityGetPost200Response mealPlanList(List mealPlanList) { - - this.mealPlanList = mealPlanList; - return this; - } - - public V1AvailabilityGetPost200Response addMealPlanListItem(V1PropertyGetPost200ResponseProductListInnerMealPlanListInner mealPlanListItem) { - if (this.mealPlanList == null) { - this.mealPlanList = new ArrayList<>(); - } - this.mealPlanList.add(mealPlanListItem); - return this; - } - - /** - * Get mealPlanList - * @return mealPlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMealPlanList() { - return mealPlanList; - } - - - public void setMealPlanList(List mealPlanList) { - this.mealPlanList = mealPlanList; - } - - - public V1AvailabilityGetPost200Response roomTypeList(List roomTypeList) { - - this.roomTypeList = roomTypeList; - return this; - } - - public V1AvailabilityGetPost200Response addRoomTypeListItem(V1AvailabilityGetPost200ResponseRoomTypeListInner roomTypeListItem) { - if (this.roomTypeList == null) { - this.roomTypeList = new ArrayList<>(); - } - this.roomTypeList.add(roomTypeListItem); - return this; - } - - /** - * Get roomTypeList - * @return roomTypeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRoomTypeList() { - return roomTypeList; - } - - - public void setRoomTypeList(List roomTypeList) { - this.roomTypeList = roomTypeList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilityGetPost200Response v1AvailabilityGetPost200Response = (V1AvailabilityGetPost200Response) o; - return Objects.equals(this.ratePlanList, v1AvailabilityGetPost200Response.ratePlanList) && - Objects.equals(this.name, v1AvailabilityGetPost200Response.name) && - Objects.equals(this.mealPlanList, v1AvailabilityGetPost200Response.mealPlanList) && - Objects.equals(this.roomTypeList, v1AvailabilityGetPost200Response.roomTypeList); - } - - @Override - public int hashCode() { - return Objects.hash(ratePlanList, name, mealPlanList, roomTypeList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilityGetPost200Response {\n"); - sb.append(" ratePlanList: ").append(toIndentedString(ratePlanList)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); - sb.append(" roomTypeList: ").append(toIndentedString(roomTypeList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("ratePlanList"); - openapiFields.add("name"); - openapiFields.add("mealPlanList"); - openapiFields.add("roomTypeList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilityGetPost200Response - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilityGetPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilityGetPost200Response is not found in the empty JSON string", V1AvailabilityGetPost200Response.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilityGetPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilityGetPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - JsonArray jsonArrayratePlanList = jsonObj.getAsJsonArray("ratePlanList"); - if (jsonArrayratePlanList != null) { - // ensure the json data is an array - if (!jsonObj.get("ratePlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ratePlanList` to be an array in the JSON string but got `%s`", jsonObj.get("ratePlanList").toString())); - } - - // validate the optional field `ratePlanList` (array) - for (int i = 0; i < jsonArrayratePlanList.size(); i++) { - V1AvailabilityGetPost200ResponseRatePlanListInner.validateJsonObject(jsonArrayratePlanList.get(i).getAsJsonObject()); - }; - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - JsonArray jsonArraymealPlanList = jsonObj.getAsJsonArray("mealPlanList"); - if (jsonArraymealPlanList != null) { - // ensure the json data is an array - if (!jsonObj.get("mealPlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); - } - - // validate the optional field `mealPlanList` (array) - for (int i = 0; i < jsonArraymealPlanList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.validateJsonObject(jsonArraymealPlanList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArrayroomTypeList = jsonObj.getAsJsonArray("roomTypeList"); - if (jsonArrayroomTypeList != null) { - // ensure the json data is an array - if (!jsonObj.get("roomTypeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `roomTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("roomTypeList").toString())); - } - - // validate the optional field `roomTypeList` (array) - for (int i = 0; i < jsonArrayroomTypeList.size(); i++) { - V1AvailabilityGetPost200ResponseRoomTypeListInner.validateJsonObject(jsonArrayroomTypeList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilityGetPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilityGetPost200Response' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilityGetPost200Response.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilityGetPost200Response value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilityGetPost200Response read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilityGetPost200Response given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilityGetPost200Response - * @throws IOException if the JSON string is invalid with respect to V1AvailabilityGetPost200Response - */ - public static V1AvailabilityGetPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilityGetPost200Response.class); - } - - /** - * Convert an instance of V1AvailabilityGetPost200Response to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.java b/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.java deleted file mode 100644 index cc4b8b4..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.java +++ /dev/null @@ -1,305 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner { - public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; - @SerializedName(SERIALIZED_NAME_DATE_TIME) - private BigDecimal dateTime; - - public static final String SERIALIZED_NAME_OCCUPANCY = "occupancy"; - @SerializedName(SERIALIZED_NAME_OCCUPANCY) - private BigDecimal occupancy; - - public static final String SERIALIZED_NAME_PRICE_LIST = "priceList"; - @SerializedName(SERIALIZED_NAME_PRICE_LIST) - private V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList priceList; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner() { - } - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner dateTime(BigDecimal dateTime) { - - this.dateTime = dateTime; - return this; - } - - /** - * Get dateTime - * @return dateTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1662595200000", value = "") - - public BigDecimal getDateTime() { - return dateTime; - } - - - public void setDateTime(BigDecimal dateTime) { - this.dateTime = dateTime; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner occupancy(BigDecimal occupancy) { - - this.occupancy = occupancy; - return this; - } - - /** - * Get occupancy - * @return occupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getOccupancy() { - return occupancy; - } - - - public void setOccupancy(BigDecimal occupancy) { - this.occupancy = occupancy; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner priceList(V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList priceList) { - - this.priceList = priceList; - return this; - } - - /** - * Get priceList - * @return priceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList getPriceList() { - return priceList; - } - - - public void setPriceList(V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList priceList) { - this.priceList = priceList; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner = (V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner) o; - return Objects.equals(this.dateTime, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.dateTime) && - Objects.equals(this.occupancy, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.occupancy) && - Objects.equals(this.priceList, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.priceList) && - Objects.equals(this.currencyCode, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.currencyCode); - } - - @Override - public int hashCode() { - return Objects.hash(dateTime, occupancy, priceList, currencyCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner {\n"); - sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n"); - sb.append(" occupancy: ").append(toIndentedString(occupancy)).append("\n"); - sb.append(" priceList: ").append(toIndentedString(priceList)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("dateTime"); - openapiFields.add("occupancy"); - openapiFields.add("priceList"); - openapiFields.add("currencyCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner is not found in the empty JSON string", V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `priceList` - if (jsonObj.getAsJsonObject("priceList") != null) { - V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.validateJsonObject(jsonObj.getAsJsonObject("priceList")); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner - */ - public static V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner.class); - } - - /** - * Convert an instance of V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.java b/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.java deleted file mode 100644 index 88f3f54..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.java +++ /dev/null @@ -1,717 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList { - public static final String SERIALIZED_NAME_3 = "3"; - @SerializedName(SERIALIZED_NAME_3) - private BigDecimal _3; - - public static final String SERIALIZED_NAME_4 = "4"; - @SerializedName(SERIALIZED_NAME_4) - private BigDecimal _4; - - public static final String SERIALIZED_NAME_5 = "5"; - @SerializedName(SERIALIZED_NAME_5) - private BigDecimal _5; - - public static final String SERIALIZED_NAME_6 = "6"; - @SerializedName(SERIALIZED_NAME_6) - private BigDecimal _6; - - public static final String SERIALIZED_NAME_7 = "7"; - @SerializedName(SERIALIZED_NAME_7) - private BigDecimal _7; - - public static final String SERIALIZED_NAME_8 = "8"; - @SerializedName(SERIALIZED_NAME_8) - private BigDecimal _8; - - public static final String SERIALIZED_NAME_9 = "9"; - @SerializedName(SERIALIZED_NAME_9) - private BigDecimal _9; - - public static final String SERIALIZED_NAME_10 = "10"; - @SerializedName(SERIALIZED_NAME_10) - private BigDecimal _10; - - public static final String SERIALIZED_NAME_11 = "11"; - @SerializedName(SERIALIZED_NAME_11) - private BigDecimal _11; - - public static final String SERIALIZED_NAME_12 = "12"; - @SerializedName(SERIALIZED_NAME_12) - private BigDecimal _12; - - public static final String SERIALIZED_NAME_13 = "13"; - @SerializedName(SERIALIZED_NAME_13) - private BigDecimal _13; - - public static final String SERIALIZED_NAME_14 = "14"; - @SerializedName(SERIALIZED_NAME_14) - private BigDecimal _14; - - public static final String SERIALIZED_NAME_15 = "15"; - @SerializedName(SERIALIZED_NAME_15) - private BigDecimal _15; - - public static final String SERIALIZED_NAME_16 = "16"; - @SerializedName(SERIALIZED_NAME_16) - private BigDecimal _16; - - public static final String SERIALIZED_NAME_17 = "17"; - @SerializedName(SERIALIZED_NAME_17) - private BigDecimal _17; - - public static final String SERIALIZED_NAME_18 = "18"; - @SerializedName(SERIALIZED_NAME_18) - private BigDecimal _18; - - public static final String SERIALIZED_NAME_19 = "19"; - @SerializedName(SERIALIZED_NAME_19) - private BigDecimal _19; - - public static final String SERIALIZED_NAME_20 = "20"; - @SerializedName(SERIALIZED_NAME_20) - private BigDecimal _20; - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList() { - } - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _3(BigDecimal _3) { - - this._3 = _3; - return this; - } - - /** - * Get _3 - * @return _3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "179.97", value = "") - - public BigDecimal get3() { - return _3; - } - - - public void set3(BigDecimal _3) { - this._3 = _3; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _4(BigDecimal _4) { - - this._4 = _4; - return this; - } - - /** - * Get _4 - * @return _4 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "239.96", value = "") - - public BigDecimal get4() { - return _4; - } - - - public void set4(BigDecimal _4) { - this._4 = _4; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _5(BigDecimal _5) { - - this._5 = _5; - return this; - } - - /** - * Get _5 - * @return _5 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "299.95", value = "") - - public BigDecimal get5() { - return _5; - } - - - public void set5(BigDecimal _5) { - this._5 = _5; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _6(BigDecimal _6) { - - this._6 = _6; - return this; - } - - /** - * Get _6 - * @return _6 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "359.94", value = "") - - public BigDecimal get6() { - return _6; - } - - - public void set6(BigDecimal _6) { - this._6 = _6; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _7(BigDecimal _7) { - - this._7 = _7; - return this; - } - - /** - * Get _7 - * @return _7 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "419.93", value = "") - - public BigDecimal get7() { - return _7; - } - - - public void set7(BigDecimal _7) { - this._7 = _7; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _8(BigDecimal _8) { - - this._8 = _8; - return this; - } - - /** - * Get _8 - * @return _8 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "479.92", value = "") - - public BigDecimal get8() { - return _8; - } - - - public void set8(BigDecimal _8) { - this._8 = _8; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _9(BigDecimal _9) { - - this._9 = _9; - return this; - } - - /** - * Get _9 - * @return _9 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "539.91", value = "") - - public BigDecimal get9() { - return _9; - } - - - public void set9(BigDecimal _9) { - this._9 = _9; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _10(BigDecimal _10) { - - this._10 = _10; - return this; - } - - /** - * Get _10 - * @return _10 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "599.9", value = "") - - public BigDecimal get10() { - return _10; - } - - - public void set10(BigDecimal _10) { - this._10 = _10; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _11(BigDecimal _11) { - - this._11 = _11; - return this; - } - - /** - * Get _11 - * @return _11 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "659.89", value = "") - - public BigDecimal get11() { - return _11; - } - - - public void set11(BigDecimal _11) { - this._11 = _11; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _12(BigDecimal _12) { - - this._12 = _12; - return this; - } - - /** - * Get _12 - * @return _12 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "719.88", value = "") - - public BigDecimal get12() { - return _12; - } - - - public void set12(BigDecimal _12) { - this._12 = _12; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _13(BigDecimal _13) { - - this._13 = _13; - return this; - } - - /** - * Get _13 - * @return _13 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "779.87", value = "") - - public BigDecimal get13() { - return _13; - } - - - public void set13(BigDecimal _13) { - this._13 = _13; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _14(BigDecimal _14) { - - this._14 = _14; - return this; - } - - /** - * Get _14 - * @return _14 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "839.86", value = "") - - public BigDecimal get14() { - return _14; - } - - - public void set14(BigDecimal _14) { - this._14 = _14; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _15(BigDecimal _15) { - - this._15 = _15; - return this; - } - - /** - * Get _15 - * @return _15 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "899.85", value = "") - - public BigDecimal get15() { - return _15; - } - - - public void set15(BigDecimal _15) { - this._15 = _15; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _16(BigDecimal _16) { - - this._16 = _16; - return this; - } - - /** - * Get _16 - * @return _16 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "959.84", value = "") - - public BigDecimal get16() { - return _16; - } - - - public void set16(BigDecimal _16) { - this._16 = _16; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _17(BigDecimal _17) { - - this._17 = _17; - return this; - } - - /** - * Get _17 - * @return _17 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1019.83", value = "") - - public BigDecimal get17() { - return _17; - } - - - public void set17(BigDecimal _17) { - this._17 = _17; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _18(BigDecimal _18) { - - this._18 = _18; - return this; - } - - /** - * Get _18 - * @return _18 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1079.82", value = "") - - public BigDecimal get18() { - return _18; - } - - - public void set18(BigDecimal _18) { - this._18 = _18; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _19(BigDecimal _19) { - - this._19 = _19; - return this; - } - - /** - * Get _19 - * @return _19 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1139.81", value = "") - - public BigDecimal get19() { - return _19; - } - - - public void set19(BigDecimal _19) { - this._19 = _19; - } - - - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList _20(BigDecimal _20) { - - this._20 = _20; - return this; - } - - /** - * Get _20 - * @return _20 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1199.8", value = "") - - public BigDecimal get20() { - return _20; - } - - - public void set20(BigDecimal _20) { - this._20 = _20; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList = (V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList) o; - return Objects.equals(this._3, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._3) && - Objects.equals(this._4, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._4) && - Objects.equals(this._5, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._5) && - Objects.equals(this._6, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._6) && - Objects.equals(this._7, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._7) && - Objects.equals(this._8, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._8) && - Objects.equals(this._9, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._9) && - Objects.equals(this._10, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._10) && - Objects.equals(this._11, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._11) && - Objects.equals(this._12, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._12) && - Objects.equals(this._13, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._13) && - Objects.equals(this._14, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._14) && - Objects.equals(this._15, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._15) && - Objects.equals(this._16, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._16) && - Objects.equals(this._17, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._17) && - Objects.equals(this._18, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._18) && - Objects.equals(this._19, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._19) && - Objects.equals(this._20, v1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList._20); - } - - @Override - public int hashCode() { - return Objects.hash(_3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList {\n"); - sb.append(" _3: ").append(toIndentedString(_3)).append("\n"); - sb.append(" _4: ").append(toIndentedString(_4)).append("\n"); - sb.append(" _5: ").append(toIndentedString(_5)).append("\n"); - sb.append(" _6: ").append(toIndentedString(_6)).append("\n"); - sb.append(" _7: ").append(toIndentedString(_7)).append("\n"); - sb.append(" _8: ").append(toIndentedString(_8)).append("\n"); - sb.append(" _9: ").append(toIndentedString(_9)).append("\n"); - sb.append(" _10: ").append(toIndentedString(_10)).append("\n"); - sb.append(" _11: ").append(toIndentedString(_11)).append("\n"); - sb.append(" _12: ").append(toIndentedString(_12)).append("\n"); - sb.append(" _13: ").append(toIndentedString(_13)).append("\n"); - sb.append(" _14: ").append(toIndentedString(_14)).append("\n"); - sb.append(" _15: ").append(toIndentedString(_15)).append("\n"); - sb.append(" _16: ").append(toIndentedString(_16)).append("\n"); - sb.append(" _17: ").append(toIndentedString(_17)).append("\n"); - sb.append(" _18: ").append(toIndentedString(_18)).append("\n"); - sb.append(" _19: ").append(toIndentedString(_19)).append("\n"); - sb.append(" _20: ").append(toIndentedString(_20)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("3"); - openapiFields.add("4"); - openapiFields.add("5"); - openapiFields.add("6"); - openapiFields.add("7"); - openapiFields.add("8"); - openapiFields.add("9"); - openapiFields.add("10"); - openapiFields.add("11"); - openapiFields.add("12"); - openapiFields.add("13"); - openapiFields.add("14"); - openapiFields.add("15"); - openapiFields.add("16"); - openapiFields.add("17"); - openapiFields.add("18"); - openapiFields.add("19"); - openapiFields.add("20"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList is not found in the empty JSON string", V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - * @throws IOException if the JSON string is invalid with respect to V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - */ - public static V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList.class); - } - - /** - * Convert an instance of V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInner.java b/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInner.java deleted file mode 100644 index b7bf1de..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInner.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilityGetPost200ResponseRoomTypeListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilityGetPost200ResponseRoomTypeListInner { - public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; - @SerializedName(SERIALIZED_NAME_TYPE_CODE) - private String typeCode; - - public V1AvailabilityGetPost200ResponseRoomTypeListInner() { - } - - public V1AvailabilityGetPost200ResponseRoomTypeListInner typeCode(String typeCode) { - - this.typeCode = typeCode; - return this; - } - - /** - * Get typeCode - * @return typeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getTypeCode() { - return typeCode; - } - - - public void setTypeCode(String typeCode) { - this.typeCode = typeCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilityGetPost200ResponseRoomTypeListInner v1AvailabilityGetPost200ResponseRoomTypeListInner = (V1AvailabilityGetPost200ResponseRoomTypeListInner) o; - return Objects.equals(this.typeCode, v1AvailabilityGetPost200ResponseRoomTypeListInner.typeCode); - } - - @Override - public int hashCode() { - return Objects.hash(typeCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilityGetPost200ResponseRoomTypeListInner {\n"); - sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("typeCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilityGetPost200ResponseRoomTypeListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilityGetPost200ResponseRoomTypeListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilityGetPost200ResponseRoomTypeListInner is not found in the empty JSON string", V1AvailabilityGetPost200ResponseRoomTypeListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilityGetPost200ResponseRoomTypeListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilityGetPost200ResponseRoomTypeListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("typeCode") != null && !jsonObj.get("typeCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `typeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("typeCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilityGetPost200ResponseRoomTypeListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilityGetPost200ResponseRoomTypeListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilityGetPost200ResponseRoomTypeListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilityGetPost200ResponseRoomTypeListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilityGetPost200ResponseRoomTypeListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilityGetPost200ResponseRoomTypeListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilityGetPost200ResponseRoomTypeListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilityGetPost200ResponseRoomTypeListInner - */ - public static V1AvailabilityGetPost200ResponseRoomTypeListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilityGetPost200ResponseRoomTypeListInner.class); - } - - /** - * Convert an instance of V1AvailabilityGetPost200ResponseRoomTypeListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200Response.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200Response.java deleted file mode 100644 index e8699e2..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200Response.java +++ /dev/null @@ -1,262 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200Response - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200Response { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_LIST = "list"; - @SerializedName(SERIALIZED_NAME_LIST) - private List _list = null; - - public V1AvailabilitySearchPost200Response() { - } - - public V1AvailabilitySearchPost200Response languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1AvailabilitySearchPost200Response _list(List _list) { - - this._list = _list; - return this; - } - - public V1AvailabilitySearchPost200Response addListItem(V1AvailabilitySearchPost200ResponseListInner _listItem) { - if (this._list == null) { - this._list = new ArrayList<>(); - } - this._list.add(_listItem); - return this; - } - - /** - * Get _list - * @return _list - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getList() { - return _list; - } - - - public void setList(List _list) { - this._list = _list; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200Response v1AvailabilitySearchPost200Response = (V1AvailabilitySearchPost200Response) o; - return Objects.equals(this.languageCode, v1AvailabilitySearchPost200Response.languageCode) && - Objects.equals(this._list, v1AvailabilitySearchPost200Response._list); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, _list); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200Response {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("list"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200Response - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200Response is not found in the empty JSON string", V1AvailabilitySearchPost200Response.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); - if (jsonArray_list != null) { - // ensure the json data is an array - if (!jsonObj.get("list").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); - } - - // validate the optional field `list` (array) - for (int i = 0; i < jsonArray_list.size(); i++) { - V1AvailabilitySearchPost200ResponseListInner.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200Response' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200Response.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200Response value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200Response read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200Response given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200Response - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200Response - */ - public static V1AvailabilitySearchPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200Response.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200Response to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInner.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInner.java deleted file mode 100644 index 0bc9c9a..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInner.java +++ /dev/null @@ -1,699 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInner; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerGeo; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerLowestPrice; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerMediaListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_UNIT_SYSTEM = "unitSystem"; - @SerializedName(SERIALIZED_NAME_UNIT_SYSTEM) - private String unitSystem; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_URI = "uri"; - @SerializedName(SERIALIZED_NAME_URI) - private String uri; - - public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; - @SerializedName(SERIALIZED_NAME_SERVICE_LIST) - private List serviceList = null; - - public static final String SERIALIZED_NAME_CATEGORY_LIST = "categoryList"; - @SerializedName(SERIALIZED_NAME_CATEGORY_LIST) - private List categoryList = null; - - public static final String SERIALIZED_NAME_URI_PATH = "uriPath"; - @SerializedName(SERIALIZED_NAME_URI_PATH) - private String uriPath; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public static final String SERIALIZED_NAME_GEO = "geo"; - @SerializedName(SERIALIZED_NAME_GEO) - private V1AvailabilitySearchPost200ResponseListInnerGeo geo; - - public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; - @SerializedName(SERIALIZED_NAME_MEDIA_LIST) - private List mediaList = null; - - public static final String SERIALIZED_NAME_ATTRACTION_LIST = "attractionList"; - @SerializedName(SERIALIZED_NAME_ATTRACTION_LIST) - private List attractionList = null; - - public static final String SERIALIZED_NAME_LOWEST_PRICE = "lowestPrice"; - @SerializedName(SERIALIZED_NAME_LOWEST_PRICE) - private V1AvailabilitySearchPost200ResponseListInnerLowestPrice lowestPrice; - - public V1AvailabilitySearchPost200ResponseListInner() { - } - - public V1AvailabilitySearchPost200ResponseListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "landhaus-treskersand", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1AvailabilitySearchPost200ResponseListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1AvailabilitySearchPost200ResponseListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1AvailabilitySearchPost200ResponseListInner unitSystem(String unitSystem) { - - this.unitSystem = unitSystem; - return this; - } - - /** - * Get unitSystem - * @return unitSystem - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "metric", value = "") - - public String getUnitSystem() { - return unitSystem; - } - - - public void setUnitSystem(String unitSystem) { - this.unitSystem = unitSystem; - } - - - public V1AvailabilitySearchPost200ResponseListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Landhaus Treskersand", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1AvailabilitySearchPost200ResponseListInner uri(String uri) { - - this.uri = uri; - return this; - } - - /** - * Get uri - * @return uri - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "landhaus-treskersand", value = "") - - public String getUri() { - return uri; - } - - - public void setUri(String uri) { - this.uri = uri; - } - - - public V1AvailabilitySearchPost200ResponseListInner serviceList(List serviceList) { - - this.serviceList = serviceList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addServiceListItem(BigDecimal serviceListItem) { - if (this.serviceList == null) { - this.serviceList = new ArrayList<>(); - } - this.serviceList.add(serviceListItem); - return this; - } - - /** - * Get serviceList - * @return serviceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getServiceList() { - return serviceList; - } - - - public void setServiceList(List serviceList) { - this.serviceList = serviceList; - } - - - public V1AvailabilitySearchPost200ResponseListInner categoryList(List categoryList) { - - this.categoryList = categoryList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addCategoryListItem(BigDecimal categoryListItem) { - if (this.categoryList == null) { - this.categoryList = new ArrayList<>(); - } - this.categoryList.add(categoryListItem); - return this; - } - - /** - * Get categoryList - * @return categoryList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCategoryList() { - return categoryList; - } - - - public void setCategoryList(List categoryList) { - this.categoryList = categoryList; - } - - - public V1AvailabilitySearchPost200ResponseListInner uriPath(String uriPath) { - - this.uriPath = uriPath; - return this; - } - - /** - * Get uriPath - * @return uriPath - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "deutschland/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand", value = "") - - public String getUriPath() { - return uriPath; - } - - - public void setUriPath(String uriPath) { - this.uriPath = uriPath; - } - - - public V1AvailabilitySearchPost200ResponseListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Im Herzen der Insel-im Süden von Tinnum in einer ruhigen Seitenstrasse unmittelbar an den Tinnumer Wiesen liegt das wunderschöne Landhaus Treskersand mit seiner Wohnung unter Reet.", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - public V1AvailabilitySearchPost200ResponseListInner geo(V1AvailabilitySearchPost200ResponseListInnerGeo geo) { - - this.geo = geo; - return this; - } - - /** - * Get geo - * @return geo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerGeo getGeo() { - return geo; - } - - - public void setGeo(V1AvailabilitySearchPost200ResponseListInnerGeo geo) { - this.geo = geo; - } - - - public V1AvailabilitySearchPost200ResponseListInner mediaList(List mediaList) { - - this.mediaList = mediaList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addMediaListItem(V1AvailabilitySearchPost200ResponseListInnerMediaListInner mediaListItem) { - if (this.mediaList == null) { - this.mediaList = new ArrayList<>(); - } - this.mediaList.add(mediaListItem); - return this; - } - - /** - * Get mediaList - * @return mediaList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMediaList() { - return mediaList; - } - - - public void setMediaList(List mediaList) { - this.mediaList = mediaList; - } - - - public V1AvailabilitySearchPost200ResponseListInner attractionList(List attractionList) { - - this.attractionList = attractionList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addAttractionListItem(V1AvailabilitySearchPost200ResponseListInnerAttractionListInner attractionListItem) { - if (this.attractionList == null) { - this.attractionList = new ArrayList<>(); - } - this.attractionList.add(attractionListItem); - return this; - } - - /** - * Get attractionList - * @return attractionList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAttractionList() { - return attractionList; - } - - - public void setAttractionList(List attractionList) { - this.attractionList = attractionList; - } - - - public V1AvailabilitySearchPost200ResponseListInner lowestPrice(V1AvailabilitySearchPost200ResponseListInnerLowestPrice lowestPrice) { - - this.lowestPrice = lowestPrice; - return this; - } - - /** - * Get lowestPrice - * @return lowestPrice - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice getLowestPrice() { - return lowestPrice; - } - - - public void setLowestPrice(V1AvailabilitySearchPost200ResponseListInnerLowestPrice lowestPrice) { - this.lowestPrice = lowestPrice; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInner v1AvailabilitySearchPost200ResponseListInner = (V1AvailabilitySearchPost200ResponseListInner) o; - return Objects.equals(this.code, v1AvailabilitySearchPost200ResponseListInner.code) && - Objects.equals(this.languageCode, v1AvailabilitySearchPost200ResponseListInner.languageCode) && - Objects.equals(this.currencyCode, v1AvailabilitySearchPost200ResponseListInner.currencyCode) && - Objects.equals(this.unitSystem, v1AvailabilitySearchPost200ResponseListInner.unitSystem) && - Objects.equals(this.name, v1AvailabilitySearchPost200ResponseListInner.name) && - Objects.equals(this.uri, v1AvailabilitySearchPost200ResponseListInner.uri) && - Objects.equals(this.serviceList, v1AvailabilitySearchPost200ResponseListInner.serviceList) && - Objects.equals(this.categoryList, v1AvailabilitySearchPost200ResponseListInner.categoryList) && - Objects.equals(this.uriPath, v1AvailabilitySearchPost200ResponseListInner.uriPath) && - Objects.equals(this.text, v1AvailabilitySearchPost200ResponseListInner.text) && - Objects.equals(this.geo, v1AvailabilitySearchPost200ResponseListInner.geo) && - Objects.equals(this.mediaList, v1AvailabilitySearchPost200ResponseListInner.mediaList) && - Objects.equals(this.attractionList, v1AvailabilitySearchPost200ResponseListInner.attractionList) && - Objects.equals(this.lowestPrice, v1AvailabilitySearchPost200ResponseListInner.lowestPrice); - } - - @Override - public int hashCode() { - return Objects.hash(code, languageCode, currencyCode, unitSystem, name, uri, serviceList, categoryList, uriPath, text, geo, mediaList, attractionList, lowestPrice); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" unitSystem: ").append(toIndentedString(unitSystem)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); - sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); - sb.append(" categoryList: ").append(toIndentedString(categoryList)).append("\n"); - sb.append(" uriPath: ").append(toIndentedString(uriPath)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append(" geo: ").append(toIndentedString(geo)).append("\n"); - sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); - sb.append(" attractionList: ").append(toIndentedString(attractionList)).append("\n"); - sb.append(" lowestPrice: ").append(toIndentedString(lowestPrice)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("languageCode"); - openapiFields.add("currencyCode"); - openapiFields.add("unitSystem"); - openapiFields.add("name"); - openapiFields.add("uri"); - openapiFields.add("serviceList"); - openapiFields.add("categoryList"); - openapiFields.add("uriPath"); - openapiFields.add("text"); - openapiFields.add("geo"); - openapiFields.add("mediaList"); - openapiFields.add("attractionList"); - openapiFields.add("lowestPrice"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInner is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - if (jsonObj.get("unitSystem") != null && !jsonObj.get("unitSystem").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `unitSystem` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitSystem").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("uri") != null && !jsonObj.get("uri").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uri").toString())); - } - // ensure the json data is an array - if (jsonObj.get("serviceList") != null && !jsonObj.get("serviceList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("categoryList") != null && !jsonObj.get("categoryList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `categoryList` to be an array in the JSON string but got `%s`", jsonObj.get("categoryList").toString())); - } - if (jsonObj.get("uriPath") != null && !jsonObj.get("uriPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uriPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uriPath").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - // validate the optional field `geo` - if (jsonObj.getAsJsonObject("geo") != null) { - V1AvailabilitySearchPost200ResponseListInnerGeo.validateJsonObject(jsonObj.getAsJsonObject("geo")); - } - JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); - if (jsonArraymediaList != null) { - // ensure the json data is an array - if (!jsonObj.get("mediaList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); - } - - // validate the optional field `mediaList` (array) - for (int i = 0; i < jsonArraymediaList.size(); i++) { - V1AvailabilitySearchPost200ResponseListInnerMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArrayattractionList = jsonObj.getAsJsonArray("attractionList"); - if (jsonArrayattractionList != null) { - // ensure the json data is an array - if (!jsonObj.get("attractionList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `attractionList` to be an array in the JSON string but got `%s`", jsonObj.get("attractionList").toString())); - } - - // validate the optional field `attractionList` (array) - for (int i = 0; i < jsonArrayattractionList.size(); i++) { - V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.validateJsonObject(jsonArrayattractionList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `lowestPrice` - if (jsonObj.getAsJsonObject("lowestPrice") != null) { - V1AvailabilitySearchPost200ResponseListInnerLowestPrice.validateJsonObject(jsonObj.getAsJsonObject("lowestPrice")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInner - */ - public static V1AvailabilitySearchPost200ResponseListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInner.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java deleted file mode 100644 index aedc965..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInner { - public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; - @SerializedName(SERIALIZED_NAME_TYPE_CODE) - private BigDecimal typeCode; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_DISTANCE = "distance"; - @SerializedName(SERIALIZED_NAME_DISTANCE) - private V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance distance; - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner() { - } - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner typeCode(BigDecimal typeCode) { - - this.typeCode = typeCode; - return this; - } - - /** - * Get typeCode - * @return typeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getTypeCode() { - return typeCode; - } - - - public void setTypeCode(BigDecimal typeCode) { - this.typeCode = typeCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Flughafen Sylt", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner distance(V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance distance) { - - this.distance = distance; - return this; - } - - /** - * Get distance - * @return distance - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance getDistance() { - return distance; - } - - - public void setDistance(V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance distance) { - this.distance = distance; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerAttractionListInner v1AvailabilitySearchPost200ResponseListInnerAttractionListInner = (V1AvailabilitySearchPost200ResponseListInnerAttractionListInner) o; - return Objects.equals(this.typeCode, v1AvailabilitySearchPost200ResponseListInnerAttractionListInner.typeCode) && - Objects.equals(this.name, v1AvailabilitySearchPost200ResponseListInnerAttractionListInner.name) && - Objects.equals(this.distance, v1AvailabilitySearchPost200ResponseListInnerAttractionListInner.distance); - } - - @Override - public int hashCode() { - return Objects.hash(typeCode, name, distance); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerAttractionListInner {\n"); - sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" distance: ").append(toIndentedString(distance)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("typeCode"); - openapiFields.add("name"); - openapiFields.add("distance"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerAttractionListInner is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerAttractionListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - // validate the optional field `distance` - if (jsonObj.getAsJsonObject("distance") != null) { - V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.validateJsonObject(jsonObj.getAsJsonObject("distance")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerAttractionListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerAttractionListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ - public static V1AvailabilitySearchPost200ResponseListInnerAttractionListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java deleted file mode 100644 index a4456b2..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance { - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private BigDecimal value; - - public static final String SERIALIZED_NAME_UNIT = "unit"; - @SerializedName(SERIALIZED_NAME_UNIT) - private String unit; - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance() { - } - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance value(BigDecimal value) { - - this.value = value; - return this; - } - - /** - * Get value - * @return value - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2800", value = "") - - public BigDecimal getValue() { - return value; - } - - - public void setValue(BigDecimal value) { - this.value = value; - } - - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance unit(String unit) { - - this.unit = unit; - return this; - } - - /** - * Get unit - * @return unit - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "m", value = "") - - public String getUnit() { - return unit; - } - - - public void setUnit(String unit) { - this.unit = unit; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance v1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance = (V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance) o; - return Objects.equals(this.value, v1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.value) && - Objects.equals(this.unit, v1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.unit); - } - - @Override - public int hashCode() { - return Objects.hash(value, unit); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance {\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" unit: ").append(toIndentedString(unit)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("value"); - openapiFields.add("unit"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("unit") != null && !jsonObj.get("unit").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `unit` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unit").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ - public static V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java deleted file mode 100644 index bfa6e72..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerGeoLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerGeo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerGeo { - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1AvailabilitySearchPost200ResponseListInnerGeoLocation location; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public V1AvailabilitySearchPost200ResponseListInnerGeo() { - } - - public V1AvailabilitySearchPost200ResponseListInnerGeo country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Deutschland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westertresker 2 25980 Sylt Deutschland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tinnum", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tinnum", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westertresker", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo location(V1AvailabilitySearchPost200ResponseListInnerGeoLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation getLocation() { - return location; - } - - - public void setLocation(V1AvailabilitySearchPost200ResponseListInnerGeoLocation location) { - this.location = location; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJ5fZnV2TdtEcRHUC697Z0nhw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerGeo v1AvailabilitySearchPost200ResponseListInnerGeo = (V1AvailabilitySearchPost200ResponseListInnerGeo) o; - return Objects.equals(this.country, v1AvailabilitySearchPost200ResponseListInnerGeo.country) && - Objects.equals(this.formattedAddress, v1AvailabilitySearchPost200ResponseListInnerGeo.formattedAddress) && - Objects.equals(this.locality, v1AvailabilitySearchPost200ResponseListInnerGeo.locality) && - Objects.equals(this.sublocality, v1AvailabilitySearchPost200ResponseListInnerGeo.sublocality) && - Objects.equals(this.language, v1AvailabilitySearchPost200ResponseListInnerGeo.language) && - Objects.equals(this.establishment, v1AvailabilitySearchPost200ResponseListInnerGeo.establishment) && - Objects.equals(this.countryCode, v1AvailabilitySearchPost200ResponseListInnerGeo.countryCode) && - Objects.equals(this.sublocalityLevel1, v1AvailabilitySearchPost200ResponseListInnerGeo.sublocalityLevel1) && - Objects.equals(this.route, v1AvailabilitySearchPost200ResponseListInnerGeo.route) && - Objects.equals(this.administrativeAreaLevel3, v1AvailabilitySearchPost200ResponseListInnerGeo.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1AvailabilitySearchPost200ResponseListInnerGeo.administrativeAreaLevel1) && - Objects.equals(this.streetNumber, v1AvailabilitySearchPost200ResponseListInnerGeo.streetNumber) && - Objects.equals(this.location, v1AvailabilitySearchPost200ResponseListInnerGeo.location) && - Objects.equals(this.stateCode, v1AvailabilitySearchPost200ResponseListInnerGeo.stateCode) && - Objects.equals(this.postalCode, v1AvailabilitySearchPost200ResponseListInnerGeo.postalCode) && - Objects.equals(this.naturalFeature, v1AvailabilitySearchPost200ResponseListInnerGeo.naturalFeature) && - Objects.equals(this.placeId, v1AvailabilitySearchPost200ResponseListInnerGeo.placeId); - } - - @Override - public int hashCode() { - return Objects.hash(country, formattedAddress, locality, sublocality, language, establishment, countryCode, sublocalityLevel1, route, administrativeAreaLevel3, administrativeAreaLevel1, streetNumber, location, stateCode, postalCode, naturalFeature, placeId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerGeo {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("country"); - openapiFields.add("formatted_address"); - openapiFields.add("locality"); - openapiFields.add("sublocality"); - openapiFields.add("language"); - openapiFields.add("establishment"); - openapiFields.add("country_code"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("route"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("street_number"); - openapiFields.add("location"); - openapiFields.add("state_code"); - openapiFields.add("postal_code"); - openapiFields.add("natural_feature"); - openapiFields.add("place_id"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerGeo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerGeo is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerGeo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerGeo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1AvailabilitySearchPost200ResponseListInnerGeoLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerGeo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerGeo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerGeo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerGeo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerGeo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerGeo - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeo - */ - public static V1AvailabilitySearchPost200ResponseListInnerGeo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerGeo.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerGeo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java deleted file mode 100644 index e38625e..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerGeoLocation { - public static final String SERIALIZED_NAME_LNG = "lng"; - @SerializedName(SERIALIZED_NAME_LNG) - private BigDecimal lng; - - public static final String SERIALIZED_NAME_LAT = "lat"; - @SerializedName(SERIALIZED_NAME_LAT) - private BigDecimal lat; - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation() { - } - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation lng(BigDecimal lng) { - - this.lng = lng; - return this; - } - - /** - * Get lng - * @return lng - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "8.3339872", value = "") - - public BigDecimal getLng() { - return lng; - } - - - public void setLng(BigDecimal lng) { - this.lng = lng; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation lat(BigDecimal lat) { - - this.lat = lat; - return this; - } - - /** - * Get lat - * @return lat - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54.8962436", value = "") - - public BigDecimal getLat() { - return lat; - } - - - public void setLat(BigDecimal lat) { - this.lat = lat; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerGeoLocation v1AvailabilitySearchPost200ResponseListInnerGeoLocation = (V1AvailabilitySearchPost200ResponseListInnerGeoLocation) o; - return Objects.equals(this.lng, v1AvailabilitySearchPost200ResponseListInnerGeoLocation.lng) && - Objects.equals(this.lat, v1AvailabilitySearchPost200ResponseListInnerGeoLocation.lat); - } - - @Override - public int hashCode() { - return Objects.hash(lng, lat); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerGeoLocation {\n"); - sb.append(" lng: ").append(toIndentedString(lng)).append("\n"); - sb.append(" lat: ").append(toIndentedString(lat)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("lng"); - openapiFields.add("lat"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerGeoLocation.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerGeoLocation is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerGeoLocation.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeoLocation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerGeoLocation` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeoLocation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerGeoLocation' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerGeoLocation.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerGeoLocation value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerGeoLocation given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerGeoLocation - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ - public static V1AvailabilitySearchPost200ResponseListInnerGeoLocation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerGeoLocation.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerGeoLocation to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java deleted file mode 100644 index 589bb8b..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java +++ /dev/null @@ -1,330 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerLowestPrice { - public static final String SERIALIZED_NAME_AMOUNT = "amount"; - @SerializedName(SERIALIZED_NAME_AMOUNT) - private BigDecimal amount; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_ARRIVAL_DATE = "arrivalDate"; - @SerializedName(SERIALIZED_NAME_ARRIVAL_DATE) - private BigDecimal arrivalDate; - - public static final String SERIALIZED_NAME_RETURN_DATE = "returnDate"; - @SerializedName(SERIALIZED_NAME_RETURN_DATE) - private BigDecimal returnDate; - - public static final String SERIALIZED_NAME_LENGTH_OF_STAY = "lengthOfStay"; - @SerializedName(SERIALIZED_NAME_LENGTH_OF_STAY) - private BigDecimal lengthOfStay; - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice() { - } - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice amount(BigDecimal amount) { - - this.amount = amount; - return this; - } - - /** - * Get amount - * @return amount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "49", value = "") - - public BigDecimal getAmount() { - return amount; - } - - - public void setAmount(BigDecimal amount) { - this.amount = amount; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice arrivalDate(BigDecimal arrivalDate) { - - this.arrivalDate = arrivalDate; - return this; - } - - /** - * Get arrivalDate - * @return arrivalDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1660780800", value = "") - - public BigDecimal getArrivalDate() { - return arrivalDate; - } - - - public void setArrivalDate(BigDecimal arrivalDate) { - this.arrivalDate = arrivalDate; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice returnDate(BigDecimal returnDate) { - - this.returnDate = returnDate; - return this; - } - - /** - * Get returnDate - * @return returnDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1660867200", value = "") - - public BigDecimal getReturnDate() { - return returnDate; - } - - - public void setReturnDate(BigDecimal returnDate) { - this.returnDate = returnDate; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice lengthOfStay(BigDecimal lengthOfStay) { - - this.lengthOfStay = lengthOfStay; - return this; - } - - /** - * Get lengthOfStay - * @return lengthOfStay - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getLengthOfStay() { - return lengthOfStay; - } - - - public void setLengthOfStay(BigDecimal lengthOfStay) { - this.lengthOfStay = lengthOfStay; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerLowestPrice v1AvailabilitySearchPost200ResponseListInnerLowestPrice = (V1AvailabilitySearchPost200ResponseListInnerLowestPrice) o; - return Objects.equals(this.amount, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.amount) && - Objects.equals(this.currencyCode, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.currencyCode) && - Objects.equals(this.arrivalDate, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.arrivalDate) && - Objects.equals(this.returnDate, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.returnDate) && - Objects.equals(this.lengthOfStay, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.lengthOfStay); - } - - @Override - public int hashCode() { - return Objects.hash(amount, currencyCode, arrivalDate, returnDate, lengthOfStay); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerLowestPrice {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" arrivalDate: ").append(toIndentedString(arrivalDate)).append("\n"); - sb.append(" returnDate: ").append(toIndentedString(returnDate)).append("\n"); - sb.append(" lengthOfStay: ").append(toIndentedString(lengthOfStay)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("amount"); - openapiFields.add("currencyCode"); - openapiFields.add("arrivalDate"); - openapiFields.add("returnDate"); - openapiFields.add("lengthOfStay"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerLowestPrice.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerLowestPrice is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerLowestPrice.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerLowestPrice.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerLowestPrice` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerLowestPrice.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerLowestPrice' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerLowestPrice.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerLowestPrice value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerLowestPrice given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerLowestPrice - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ - public static V1AvailabilitySearchPost200ResponseListInnerLowestPrice fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerLowestPrice.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerLowestPrice to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java b/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java deleted file mode 100644 index cd847ac..0000000 --- a/src/main/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java +++ /dev/null @@ -1,314 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerMediaListInner { - public static final String SERIALIZED_NAME_TAG_CODE_LIST = "tagCodeList"; - @SerializedName(SERIALIZED_NAME_TAG_CODE_LIST) - private List tagCodeList = null; - - public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; - @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) - private Boolean isMainImage; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; - @SerializedName(SERIALIZED_NAME_SORT_ORDER) - private BigDecimal sortOrder; - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner() { - } - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner tagCodeList(List tagCodeList) { - - this.tagCodeList = tagCodeList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner addTagCodeListItem(BigDecimal tagCodeListItem) { - if (this.tagCodeList == null) { - this.tagCodeList = new ArrayList<>(); - } - this.tagCodeList.add(tagCodeListItem); - return this; - } - - /** - * Get tagCodeList - * @return tagCodeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTagCodeList() { - return tagCodeList; - } - - - public void setTagCodeList(List tagCodeList) { - this.tagCodeList = tagCodeList; - } - - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner isMainImage(Boolean isMainImage) { - - this.isMainImage = isMainImage; - return this; - } - - /** - * Get isMainImage - * @return isMainImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsMainImage() { - return isMainImage; - } - - - public void setIsMainImage(Boolean isMainImage) { - this.isMainImage = isMainImage; - } - - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "obj_1280x960_55480_005.jpg", value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner sortOrder(BigDecimal sortOrder) { - - this.sortOrder = sortOrder; - return this; - } - - /** - * Get sortOrder - * @return sortOrder - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1004", value = "") - - public BigDecimal getSortOrder() { - return sortOrder; - } - - - public void setSortOrder(BigDecimal sortOrder) { - this.sortOrder = sortOrder; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerMediaListInner v1AvailabilitySearchPost200ResponseListInnerMediaListInner = (V1AvailabilitySearchPost200ResponseListInnerMediaListInner) o; - return Objects.equals(this.tagCodeList, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.tagCodeList) && - Objects.equals(this.isMainImage, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.isMainImage) && - Objects.equals(this.url, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.url) && - Objects.equals(this.sortOrder, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.sortOrder); - } - - @Override - public int hashCode() { - return Objects.hash(tagCodeList, isMainImage, url, sortOrder); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerMediaListInner {\n"); - sb.append(" tagCodeList: ").append(toIndentedString(tagCodeList)).append("\n"); - sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("tagCodeList"); - openapiFields.add("isMainImage"); - openapiFields.add("url"); - openapiFields.add("sortOrder"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerMediaListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerMediaListInner is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerMediaListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerMediaListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerMediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // ensure the json data is an array - if (jsonObj.get("tagCodeList") != null && !jsonObj.get("tagCodeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `tagCodeList` to be an array in the JSON string but got `%s`", jsonObj.get("tagCodeList").toString())); - } - if (jsonObj.get("url") != null && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerMediaListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerMediaListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerMediaListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerMediaListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerMediaListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerMediaListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ - public static V1AvailabilitySearchPost200ResponseListInnerMediaListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerMediaListInner.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerMediaListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1LocationSearchPost200Response.java b/src/main/java/com/lodgea/model/V1LocationSearchPost200Response.java deleted file mode 100644 index ee850f0..0000000 --- a/src/main/java/com/lodgea/model/V1LocationSearchPost200Response.java +++ /dev/null @@ -1,262 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1LocationSearchPost200ResponseListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1LocationSearchPost200Response - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1LocationSearchPost200Response { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_LIST = "list"; - @SerializedName(SERIALIZED_NAME_LIST) - private List _list = null; - - public V1LocationSearchPost200Response() { - } - - public V1LocationSearchPost200Response languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1LocationSearchPost200Response _list(List _list) { - - this._list = _list; - return this; - } - - public V1LocationSearchPost200Response addListItem(V1LocationSearchPost200ResponseListInner _listItem) { - if (this._list == null) { - this._list = new ArrayList<>(); - } - this._list.add(_listItem); - return this; - } - - /** - * Get _list - * @return _list - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getList() { - return _list; - } - - - public void setList(List _list) { - this._list = _list; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1LocationSearchPost200Response v1LocationSearchPost200Response = (V1LocationSearchPost200Response) o; - return Objects.equals(this.languageCode, v1LocationSearchPost200Response.languageCode) && - Objects.equals(this._list, v1LocationSearchPost200Response._list); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, _list); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1LocationSearchPost200Response {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("list"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1LocationSearchPost200Response - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1LocationSearchPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1LocationSearchPost200Response is not found in the empty JSON string", V1LocationSearchPost200Response.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1LocationSearchPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1LocationSearchPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); - if (jsonArray_list != null) { - // ensure the json data is an array - if (!jsonObj.get("list").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); - } - - // validate the optional field `list` (array) - for (int i = 0; i < jsonArray_list.size(); i++) { - V1LocationSearchPost200ResponseListInner.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1LocationSearchPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1LocationSearchPost200Response' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1LocationSearchPost200Response.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1LocationSearchPost200Response value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1LocationSearchPost200Response read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1LocationSearchPost200Response given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1LocationSearchPost200Response - * @throws IOException if the JSON string is invalid with respect to V1LocationSearchPost200Response - */ - public static V1LocationSearchPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1LocationSearchPost200Response.class); - } - - /** - * Convert an instance of V1LocationSearchPost200Response to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1LocationSearchPost200ResponseListInner.java b/src/main/java/com/lodgea/model/V1LocationSearchPost200ResponseListInner.java deleted file mode 100644 index d3f0c76..0000000 --- a/src/main/java/com/lodgea/model/V1LocationSearchPost200ResponseListInner.java +++ /dev/null @@ -1,405 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1LocationSearchPost200ResponseListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1LocationSearchPost200ResponseListInner { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_LOWEST_PRICE = "lowestPrice"; - @SerializedName(SERIALIZED_NAME_LOWEST_PRICE) - private BigDecimal lowestPrice; - - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public static final String SERIALIZED_NAME_PROPERTY_URI_NAME = "propertyUriName"; - @SerializedName(SERIALIZED_NAME_PROPERTY_URI_NAME) - private String propertyUriName; - - public static final String SERIALIZED_NAME_PROPERTY_URI_PATH = "propertyUriPath"; - @SerializedName(SERIALIZED_NAME_PROPERTY_URI_PATH) - private String propertyUriPath; - - public V1LocationSearchPost200ResponseListInner() { - } - - public V1LocationSearchPost200ResponseListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Landhaus Treskersand", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1LocationSearchPost200ResponseListInner type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "property", value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public V1LocationSearchPost200ResponseListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1LocationSearchPost200ResponseListInner lowestPrice(BigDecimal lowestPrice) { - - this.lowestPrice = lowestPrice; - return this; - } - - /** - * Get lowestPrice - * @return lowestPrice - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "49", value = "") - - public BigDecimal getLowestPrice() { - return lowestPrice; - } - - - public void setLowestPrice(BigDecimal lowestPrice) { - this.lowestPrice = lowestPrice; - } - - - public V1LocationSearchPost200ResponseListInner propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "dmo-demo:landhaus-treskersand", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - public V1LocationSearchPost200ResponseListInner propertyUriName(String propertyUriName) { - - this.propertyUriName = propertyUriName; - return this; - } - - /** - * Get propertyUriName - * @return propertyUriName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "landhaus-treskersand", value = "") - - public String getPropertyUriName() { - return propertyUriName; - } - - - public void setPropertyUriName(String propertyUriName) { - this.propertyUriName = propertyUriName; - } - - - public V1LocationSearchPost200ResponseListInner propertyUriPath(String propertyUriPath) { - - this.propertyUriPath = propertyUriPath; - return this; - } - - /** - * Get propertyUriPath - * @return propertyUriPath - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en:germany/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand", value = "") - - public String getPropertyUriPath() { - return propertyUriPath; - } - - - public void setPropertyUriPath(String propertyUriPath) { - this.propertyUriPath = propertyUriPath; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1LocationSearchPost200ResponseListInner v1LocationSearchPost200ResponseListInner = (V1LocationSearchPost200ResponseListInner) o; - return Objects.equals(this.name, v1LocationSearchPost200ResponseListInner.name) && - Objects.equals(this.type, v1LocationSearchPost200ResponseListInner.type) && - Objects.equals(this.currencyCode, v1LocationSearchPost200ResponseListInner.currencyCode) && - Objects.equals(this.lowestPrice, v1LocationSearchPost200ResponseListInner.lowestPrice) && - Objects.equals(this.propertyId, v1LocationSearchPost200ResponseListInner.propertyId) && - Objects.equals(this.propertyUriName, v1LocationSearchPost200ResponseListInner.propertyUriName) && - Objects.equals(this.propertyUriPath, v1LocationSearchPost200ResponseListInner.propertyUriPath); - } - - @Override - public int hashCode() { - return Objects.hash(name, type, currencyCode, lowestPrice, propertyId, propertyUriName, propertyUriPath); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1LocationSearchPost200ResponseListInner {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" lowestPrice: ").append(toIndentedString(lowestPrice)).append("\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append(" propertyUriName: ").append(toIndentedString(propertyUriName)).append("\n"); - sb.append(" propertyUriPath: ").append(toIndentedString(propertyUriPath)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("type"); - openapiFields.add("currencyCode"); - openapiFields.add("lowestPrice"); - openapiFields.add("propertyId"); - openapiFields.add("propertyUriName"); - openapiFields.add("propertyUriPath"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1LocationSearchPost200ResponseListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1LocationSearchPost200ResponseListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1LocationSearchPost200ResponseListInner is not found in the empty JSON string", V1LocationSearchPost200ResponseListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1LocationSearchPost200ResponseListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1LocationSearchPost200ResponseListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - if (jsonObj.get("propertyUriName") != null && !jsonObj.get("propertyUriName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyUriName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyUriName").toString())); - } - if (jsonObj.get("propertyUriPath") != null && !jsonObj.get("propertyUriPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyUriPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyUriPath").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1LocationSearchPost200ResponseListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1LocationSearchPost200ResponseListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1LocationSearchPost200ResponseListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1LocationSearchPost200ResponseListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1LocationSearchPost200ResponseListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1LocationSearchPost200ResponseListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1LocationSearchPost200ResponseListInner - * @throws IOException if the JSON string is invalid with respect to V1LocationSearchPost200ResponseListInner - */ - public static V1LocationSearchPost200ResponseListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1LocationSearchPost200ResponseListInner.class); - } - - /** - * Convert an instance of V1LocationSearchPost200ResponseListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200Response.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200Response.java deleted file mode 100644 index 6d765c0..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200Response.java +++ /dev/null @@ -1,297 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200Response - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200Response { - public static final String SERIALIZED_NAME_VERSION_ID = "versionId"; - @SerializedName(SERIALIZED_NAME_VERSION_ID) - private String versionId; - - public static final String SERIALIZED_NAME_PROPERTY = "property"; - @SerializedName(SERIALIZED_NAME_PROPERTY) - private V1PropertyGetPost200ResponseProperty property; - - public static final String SERIALIZED_NAME_PRODUCT_LIST = "productList"; - @SerializedName(SERIALIZED_NAME_PRODUCT_LIST) - private List productList = null; - - public V1PropertyGetPost200Response() { - } - - public V1PropertyGetPost200Response versionId(String versionId) { - - this.versionId = versionId; - return this; - } - - /** - * Get versionId - * @return versionId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getVersionId() { - return versionId; - } - - - public void setVersionId(String versionId) { - this.versionId = versionId; - } - - - public V1PropertyGetPost200Response property(V1PropertyGetPost200ResponseProperty property) { - - this.property = property; - return this; - } - - /** - * Get property - * @return property - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponseProperty getProperty() { - return property; - } - - - public void setProperty(V1PropertyGetPost200ResponseProperty property) { - this.property = property; - } - - - public V1PropertyGetPost200Response productList(List productList) { - - this.productList = productList; - return this; - } - - public V1PropertyGetPost200Response addProductListItem(V1PropertyGetPost200ResponseProductListInner productListItem) { - if (this.productList == null) { - this.productList = new ArrayList<>(); - } - this.productList.add(productListItem); - return this; - } - - /** - * Get productList - * @return productList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getProductList() { - return productList; - } - - - public void setProductList(List productList) { - this.productList = productList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200Response v1PropertyGetPost200Response = (V1PropertyGetPost200Response) o; - return Objects.equals(this.versionId, v1PropertyGetPost200Response.versionId) && - Objects.equals(this.property, v1PropertyGetPost200Response.property) && - Objects.equals(this.productList, v1PropertyGetPost200Response.productList); - } - - @Override - public int hashCode() { - return Objects.hash(versionId, property, productList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200Response {\n"); - sb.append(" versionId: ").append(toIndentedString(versionId)).append("\n"); - sb.append(" property: ").append(toIndentedString(property)).append("\n"); - sb.append(" productList: ").append(toIndentedString(productList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("versionId"); - openapiFields.add("property"); - openapiFields.add("productList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200Response - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200Response is not found in the empty JSON string", V1PropertyGetPost200Response.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("versionId") != null && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); - } - // validate the optional field `property` - if (jsonObj.getAsJsonObject("property") != null) { - V1PropertyGetPost200ResponseProperty.validateJsonObject(jsonObj.getAsJsonObject("property")); - } - JsonArray jsonArrayproductList = jsonObj.getAsJsonArray("productList"); - if (jsonArrayproductList != null) { - // ensure the json data is an array - if (!jsonObj.get("productList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `productList` to be an array in the JSON string but got `%s`", jsonObj.get("productList").toString())); - } - - // validate the optional field `productList` (array) - for (int i = 0; i < jsonArrayproductList.size(); i++) { - V1PropertyGetPost200ResponseProductListInner.validateJsonObject(jsonArrayproductList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200Response' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200Response.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200Response value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200Response read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200Response given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200Response - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200Response - */ - public static V1PropertyGetPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200Response.class); - } - - /** - * Convert an instance of V1PropertyGetPost200Response to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInner.java deleted file mode 100644 index 43ec015..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInner.java +++ /dev/null @@ -1,492 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfo; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInner { - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; - @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) - private List mealPlanList = null; - - public static final String SERIALIZED_NAME_ROOM_TYPE_LIST = "roomTypeList"; - @SerializedName(SERIALIZED_NAME_ROOM_TYPE_LIST) - private List roomTypeList = null; - - public static final String SERIALIZED_NAME_IS_L_O_S_PRICING = "isLOSPricing"; - @SerializedName(SERIALIZED_NAME_IS_L_O_S_PRICING) - private Boolean isLOSPricing; - - public static final String SERIALIZED_NAME_IS_O_B_P_PRICING = "isOBPPricing"; - @SerializedName(SERIALIZED_NAME_IS_O_B_P_PRICING) - private Boolean isOBPPricing; - - public static final String SERIALIZED_NAME_RATE_PLAN_LIST = "ratePlanList"; - @SerializedName(SERIALIZED_NAME_RATE_PLAN_LIST) - private List ratePlanList = null; - - public static final String SERIALIZED_NAME_POLICY_INFO = "policyInfo"; - @SerializedName(SERIALIZED_NAME_POLICY_INFO) - private V1PropertyGetPost200ResponseProductListInnerPolicyInfo policyInfo; - - public V1PropertyGetPost200ResponseProductListInner() { - } - - public V1PropertyGetPost200ResponseProductListInner propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - public V1PropertyGetPost200ResponseProductListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard Amrum", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponseProductListInner mealPlanList(List mealPlanList) { - - this.mealPlanList = mealPlanList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInner addMealPlanListItem(V1PropertyGetPost200ResponseProductListInnerMealPlanListInner mealPlanListItem) { - if (this.mealPlanList == null) { - this.mealPlanList = new ArrayList<>(); - } - this.mealPlanList.add(mealPlanListItem); - return this; - } - - /** - * Get mealPlanList - * @return mealPlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMealPlanList() { - return mealPlanList; - } - - - public void setMealPlanList(List mealPlanList) { - this.mealPlanList = mealPlanList; - } - - - public V1PropertyGetPost200ResponseProductListInner roomTypeList(List roomTypeList) { - - this.roomTypeList = roomTypeList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInner addRoomTypeListItem(V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner roomTypeListItem) { - if (this.roomTypeList == null) { - this.roomTypeList = new ArrayList<>(); - } - this.roomTypeList.add(roomTypeListItem); - return this; - } - - /** - * Get roomTypeList - * @return roomTypeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRoomTypeList() { - return roomTypeList; - } - - - public void setRoomTypeList(List roomTypeList) { - this.roomTypeList = roomTypeList; - } - - - public V1PropertyGetPost200ResponseProductListInner isLOSPricing(Boolean isLOSPricing) { - - this.isLOSPricing = isLOSPricing; - return this; - } - - /** - * Get isLOSPricing - * @return isLOSPricing - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsLOSPricing() { - return isLOSPricing; - } - - - public void setIsLOSPricing(Boolean isLOSPricing) { - this.isLOSPricing = isLOSPricing; - } - - - public V1PropertyGetPost200ResponseProductListInner isOBPPricing(Boolean isOBPPricing) { - - this.isOBPPricing = isOBPPricing; - return this; - } - - /** - * Get isOBPPricing - * @return isOBPPricing - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsOBPPricing() { - return isOBPPricing; - } - - - public void setIsOBPPricing(Boolean isOBPPricing) { - this.isOBPPricing = isOBPPricing; - } - - - public V1PropertyGetPost200ResponseProductListInner ratePlanList(List ratePlanList) { - - this.ratePlanList = ratePlanList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInner addRatePlanListItem(V1PropertyGetPost200ResponseProductListInnerRatePlanListInner ratePlanListItem) { - if (this.ratePlanList == null) { - this.ratePlanList = new ArrayList<>(); - } - this.ratePlanList.add(ratePlanListItem); - return this; - } - - /** - * Get ratePlanList - * @return ratePlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRatePlanList() { - return ratePlanList; - } - - - public void setRatePlanList(List ratePlanList) { - this.ratePlanList = ratePlanList; - } - - - public V1PropertyGetPost200ResponseProductListInner policyInfo(V1PropertyGetPost200ResponseProductListInnerPolicyInfo policyInfo) { - - this.policyInfo = policyInfo; - return this; - } - - /** - * Get policyInfo - * @return policyInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo getPolicyInfo() { - return policyInfo; - } - - - public void setPolicyInfo(V1PropertyGetPost200ResponseProductListInnerPolicyInfo policyInfo) { - this.policyInfo = policyInfo; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInner v1PropertyGetPost200ResponseProductListInner = (V1PropertyGetPost200ResponseProductListInner) o; - return Objects.equals(this.propertyId, v1PropertyGetPost200ResponseProductListInner.propertyId) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInner.name) && - Objects.equals(this.mealPlanList, v1PropertyGetPost200ResponseProductListInner.mealPlanList) && - Objects.equals(this.roomTypeList, v1PropertyGetPost200ResponseProductListInner.roomTypeList) && - Objects.equals(this.isLOSPricing, v1PropertyGetPost200ResponseProductListInner.isLOSPricing) && - Objects.equals(this.isOBPPricing, v1PropertyGetPost200ResponseProductListInner.isOBPPricing) && - Objects.equals(this.ratePlanList, v1PropertyGetPost200ResponseProductListInner.ratePlanList) && - Objects.equals(this.policyInfo, v1PropertyGetPost200ResponseProductListInner.policyInfo); - } - - @Override - public int hashCode() { - return Objects.hash(propertyId, name, mealPlanList, roomTypeList, isLOSPricing, isOBPPricing, ratePlanList, policyInfo); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInner {\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); - sb.append(" roomTypeList: ").append(toIndentedString(roomTypeList)).append("\n"); - sb.append(" isLOSPricing: ").append(toIndentedString(isLOSPricing)).append("\n"); - sb.append(" isOBPPricing: ").append(toIndentedString(isOBPPricing)).append("\n"); - sb.append(" ratePlanList: ").append(toIndentedString(ratePlanList)).append("\n"); - sb.append(" policyInfo: ").append(toIndentedString(policyInfo)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("propertyId"); - openapiFields.add("name"); - openapiFields.add("mealPlanList"); - openapiFields.add("roomTypeList"); - openapiFields.add("isLOSPricing"); - openapiFields.add("isOBPPricing"); - openapiFields.add("ratePlanList"); - openapiFields.add("policyInfo"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - JsonArray jsonArraymealPlanList = jsonObj.getAsJsonArray("mealPlanList"); - if (jsonArraymealPlanList != null) { - // ensure the json data is an array - if (!jsonObj.get("mealPlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); - } - - // validate the optional field `mealPlanList` (array) - for (int i = 0; i < jsonArraymealPlanList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.validateJsonObject(jsonArraymealPlanList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArrayroomTypeList = jsonObj.getAsJsonArray("roomTypeList"); - if (jsonArrayroomTypeList != null) { - // ensure the json data is an array - if (!jsonObj.get("roomTypeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `roomTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("roomTypeList").toString())); - } - - // validate the optional field `roomTypeList` (array) - for (int i = 0; i < jsonArrayroomTypeList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.validateJsonObject(jsonArrayroomTypeList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArrayratePlanList = jsonObj.getAsJsonArray("ratePlanList"); - if (jsonArrayratePlanList != null) { - // ensure the json data is an array - if (!jsonObj.get("ratePlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ratePlanList` to be an array in the JSON string but got `%s`", jsonObj.get("ratePlanList").toString())); - } - - // validate the optional field `ratePlanList` (array) - for (int i = 0; i < jsonArrayratePlanList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.validateJsonObject(jsonArrayratePlanList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `policyInfo` - if (jsonObj.getAsJsonObject("policyInfo") != null) { - V1PropertyGetPost200ResponseProductListInnerPolicyInfo.validateJsonObject(jsonObj.getAsJsonObject("policyInfo")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInner - */ - public static V1PropertyGetPost200ResponseProductListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java deleted file mode 100644 index 931c417..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerMealPlanListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner() { - } - - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "14", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Room only", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerMealPlanListInner v1PropertyGetPost200ResponseProductListInnerMealPlanListInner = (V1PropertyGetPost200ResponseProductListInnerMealPlanListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponseProductListInnerMealPlanListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInnerMealPlanListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerMealPlanListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerMealPlanListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerMealPlanListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerMealPlanListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerMealPlanListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerMealPlanListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ - public static V1PropertyGetPost200ResponseProductListInnerMealPlanListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerMealPlanListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java deleted file mode 100644 index 11fa903..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java +++ /dev/null @@ -1,607 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfo { - public static final String SERIALIZED_NAME_CHECK_IN_TIME = "checkInTime"; - @SerializedName(SERIALIZED_NAME_CHECK_IN_TIME) - private BigDecimal checkInTime; - - public static final String SERIALIZED_NAME_CHECK_OUT_TIME = "checkOutTime"; - @SerializedName(SERIALIZED_NAME_CHECK_OUT_TIME) - private BigDecimal checkOutTime; - - public static final String SERIALIZED_NAME_TOTAL_GUEST_COUNT = "totalGuestCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_GUEST_COUNT) - private BigDecimal totalGuestCount; - - public static final String SERIALIZED_NAME_CANCELLATION_POLICY_LIST = "cancellationPolicyList"; - @SerializedName(SERIALIZED_NAME_CANCELLATION_POLICY_LIST) - private List cancellationPolicyList = null; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MIN = "advanceBookingMin"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MIN) - private BigDecimal advanceBookingMin; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MAX = "advanceBookingMax"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MAX) - private BigDecimal advanceBookingMax; - - public static final String SERIALIZED_NAME_PETS_POLICY = "petsPolicy"; - @SerializedName(SERIALIZED_NAME_PETS_POLICY) - private V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy; - - public static final String SERIALIZED_NAME_PREPAYMENT_POLICY = "prepaymentPolicy"; - @SerializedName(SERIALIZED_NAME_PREPAYMENT_POLICY) - private String prepaymentPolicy; - - public static final String SERIALIZED_NAME_GUARANTEE_POLICY = "guaranteePolicy"; - @SerializedName(SERIALIZED_NAME_GUARANTEE_POLICY) - private String guaranteePolicy; - - public static final String SERIALIZED_NAME_TAX_POLICY_LIST = "taxPolicyList"; - @SerializedName(SERIALIZED_NAME_TAX_POLICY_LIST) - private List taxPolicyList = null; - - public static final String SERIALIZED_NAME_FEE_POLICY_LIST = "feePolicyList"; - @SerializedName(SERIALIZED_NAME_FEE_POLICY_LIST) - private List feePolicyList = null; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo() { - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo checkInTime(BigDecimal checkInTime) { - - this.checkInTime = checkInTime; - return this; - } - - /** - * Get checkInTime - * @return checkInTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "50400000", value = "") - - public BigDecimal getCheckInTime() { - return checkInTime; - } - - - public void setCheckInTime(BigDecimal checkInTime) { - this.checkInTime = checkInTime; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo checkOutTime(BigDecimal checkOutTime) { - - this.checkOutTime = checkOutTime; - return this; - } - - /** - * Get checkOutTime - * @return checkOutTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "39600000", value = "") - - public BigDecimal getCheckOutTime() { - return checkOutTime; - } - - - public void setCheckOutTime(BigDecimal checkOutTime) { - this.checkOutTime = checkOutTime; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo totalGuestCount(BigDecimal totalGuestCount) { - - this.totalGuestCount = totalGuestCount; - return this; - } - - /** - * Get totalGuestCount - * @return totalGuestCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getTotalGuestCount() { - return totalGuestCount; - } - - - public void setTotalGuestCount(BigDecimal totalGuestCount) { - this.totalGuestCount = totalGuestCount; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo cancellationPolicyList(List cancellationPolicyList) { - - this.cancellationPolicyList = cancellationPolicyList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo addCancellationPolicyListItem(V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner cancellationPolicyListItem) { - if (this.cancellationPolicyList == null) { - this.cancellationPolicyList = new ArrayList<>(); - } - this.cancellationPolicyList.add(cancellationPolicyListItem); - return this; - } - - /** - * Get cancellationPolicyList - * @return cancellationPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCancellationPolicyList() { - return cancellationPolicyList; - } - - - public void setCancellationPolicyList(List cancellationPolicyList) { - this.cancellationPolicyList = cancellationPolicyList; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo advanceBookingMin(BigDecimal advanceBookingMin) { - - this.advanceBookingMin = advanceBookingMin; - return this; - } - - /** - * Get advanceBookingMin - * @return advanceBookingMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "34560000", value = "") - - public BigDecimal getAdvanceBookingMin() { - return advanceBookingMin; - } - - - public void setAdvanceBookingMin(BigDecimal advanceBookingMin) { - this.advanceBookingMin = advanceBookingMin; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo advanceBookingMax(BigDecimal advanceBookingMax) { - - this.advanceBookingMax = advanceBookingMax; - return this; - } - - /** - * Get advanceBookingMax - * @return advanceBookingMax - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getAdvanceBookingMax() { - return advanceBookingMax; - } - - - public void setAdvanceBookingMax(BigDecimal advanceBookingMax) { - this.advanceBookingMax = advanceBookingMax; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo petsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - - this.petsPolicy = petsPolicy; - return this; - } - - /** - * Get petsPolicy - * @return petsPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy getPetsPolicy() { - return petsPolicy; - } - - - public void setPetsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - this.petsPolicy = petsPolicy; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo prepaymentPolicy(String prepaymentPolicy) { - - this.prepaymentPolicy = prepaymentPolicy; - return this; - } - - /** - * Get prepaymentPolicy - * @return prepaymentPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getPrepaymentPolicy() { - return prepaymentPolicy; - } - - - public void setPrepaymentPolicy(String prepaymentPolicy) { - this.prepaymentPolicy = prepaymentPolicy; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo guaranteePolicy(String guaranteePolicy) { - - this.guaranteePolicy = guaranteePolicy; - return this; - } - - /** - * Get guaranteePolicy - * @return guaranteePolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getGuaranteePolicy() { - return guaranteePolicy; - } - - - public void setGuaranteePolicy(String guaranteePolicy) { - this.guaranteePolicy = guaranteePolicy; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo taxPolicyList(List taxPolicyList) { - - this.taxPolicyList = taxPolicyList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo addTaxPolicyListItem(V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner taxPolicyListItem) { - if (this.taxPolicyList == null) { - this.taxPolicyList = new ArrayList<>(); - } - this.taxPolicyList.add(taxPolicyListItem); - return this; - } - - /** - * Get taxPolicyList - * @return taxPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTaxPolicyList() { - return taxPolicyList; - } - - - public void setTaxPolicyList(List taxPolicyList) { - this.taxPolicyList = taxPolicyList; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo feePolicyList(List feePolicyList) { - - this.feePolicyList = feePolicyList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo addFeePolicyListItem(String feePolicyListItem) { - if (this.feePolicyList == null) { - this.feePolicyList = new ArrayList<>(); - } - this.feePolicyList.add(feePolicyListItem); - return this; - } - - /** - * Get feePolicyList - * @return feePolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getFeePolicyList() { - return feePolicyList; - } - - - public void setFeePolicyList(List feePolicyList) { - this.feePolicyList = feePolicyList; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard Amrum Policy", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerPolicyInfo v1PropertyGetPost200ResponseProductListInnerPolicyInfo = (V1PropertyGetPost200ResponseProductListInnerPolicyInfo) o; - return Objects.equals(this.checkInTime, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.checkInTime) && - Objects.equals(this.checkOutTime, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.checkOutTime) && - Objects.equals(this.totalGuestCount, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.totalGuestCount) && - Objects.equals(this.cancellationPolicyList, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.cancellationPolicyList) && - Objects.equals(this.advanceBookingMin, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.advanceBookingMin) && - Objects.equals(this.advanceBookingMax, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.advanceBookingMax) && - Objects.equals(this.petsPolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.petsPolicy) && - Objects.equals(this.prepaymentPolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.prepaymentPolicy) && - Objects.equals(this.guaranteePolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.guaranteePolicy) && - Objects.equals(this.taxPolicyList, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.taxPolicyList) && - Objects.equals(this.feePolicyList, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.feePolicyList) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.name); - } - - @Override - public int hashCode() { - return Objects.hash(checkInTime, checkOutTime, totalGuestCount, cancellationPolicyList, advanceBookingMin, advanceBookingMax, petsPolicy, prepaymentPolicy, guaranteePolicy, taxPolicyList, feePolicyList, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerPolicyInfo {\n"); - sb.append(" checkInTime: ").append(toIndentedString(checkInTime)).append("\n"); - sb.append(" checkOutTime: ").append(toIndentedString(checkOutTime)).append("\n"); - sb.append(" totalGuestCount: ").append(toIndentedString(totalGuestCount)).append("\n"); - sb.append(" cancellationPolicyList: ").append(toIndentedString(cancellationPolicyList)).append("\n"); - sb.append(" advanceBookingMin: ").append(toIndentedString(advanceBookingMin)).append("\n"); - sb.append(" advanceBookingMax: ").append(toIndentedString(advanceBookingMax)).append("\n"); - sb.append(" petsPolicy: ").append(toIndentedString(petsPolicy)).append("\n"); - sb.append(" prepaymentPolicy: ").append(toIndentedString(prepaymentPolicy)).append("\n"); - sb.append(" guaranteePolicy: ").append(toIndentedString(guaranteePolicy)).append("\n"); - sb.append(" taxPolicyList: ").append(toIndentedString(taxPolicyList)).append("\n"); - sb.append(" feePolicyList: ").append(toIndentedString(feePolicyList)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("checkInTime"); - openapiFields.add("checkOutTime"); - openapiFields.add("totalGuestCount"); - openapiFields.add("cancellationPolicyList"); - openapiFields.add("advanceBookingMin"); - openapiFields.add("advanceBookingMax"); - openapiFields.add("petsPolicy"); - openapiFields.add("prepaymentPolicy"); - openapiFields.add("guaranteePolicy"); - openapiFields.add("taxPolicyList"); - openapiFields.add("feePolicyList"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerPolicyInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerPolicyInfo is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerPolicyInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerPolicyInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - JsonArray jsonArraycancellationPolicyList = jsonObj.getAsJsonArray("cancellationPolicyList"); - if (jsonArraycancellationPolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("cancellationPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `cancellationPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("cancellationPolicyList").toString())); - } - - // validate the optional field `cancellationPolicyList` (array) - for (int i = 0; i < jsonArraycancellationPolicyList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.validateJsonObject(jsonArraycancellationPolicyList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `petsPolicy` - if (jsonObj.getAsJsonObject("petsPolicy") != null) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.validateJsonObject(jsonObj.getAsJsonObject("petsPolicy")); - } - if (jsonObj.get("prepaymentPolicy") != null && !jsonObj.get("prepaymentPolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `prepaymentPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prepaymentPolicy").toString())); - } - if (jsonObj.get("guaranteePolicy") != null && !jsonObj.get("guaranteePolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `guaranteePolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("guaranteePolicy").toString())); - } - JsonArray jsonArraytaxPolicyList = jsonObj.getAsJsonArray("taxPolicyList"); - if (jsonArraytaxPolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("taxPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `taxPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("taxPolicyList").toString())); - } - - // validate the optional field `taxPolicyList` (array) - for (int i = 0; i < jsonArraytaxPolicyList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.validateJsonObject(jsonArraytaxPolicyList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("feePolicyList") != null && !jsonObj.get("feePolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `feePolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("feePolicyList").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerPolicyInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerPolicyInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerPolicyInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ - public static V1PropertyGetPost200ResponseProductListInnerPolicyInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerPolicyInfo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java deleted file mode 100644 index 29ed98f..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java +++ /dev/null @@ -1,358 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInner { - public static final String SERIALIZED_NAME_ACTIVE = "active"; - @SerializedName(SERIALIZED_NAME_ACTIVE) - private Boolean active; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public static final String SERIALIZED_NAME_PRICING_LIST = "pricingList"; - @SerializedName(SERIALIZED_NAME_PRICING_LIST) - private List pricingList = null; - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner() { - } - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner active(Boolean active) { - - this.active = active; - return this; - } - - /** - * Get active - * @return active - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getActive() { - return active; - } - - - public void setActive(Boolean active) { - this.active = active; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard Amrum", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "standard-amrum", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner pricingList(List pricingList) { - - this.pricingList = pricingList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner addPricingListItem(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner pricingListItem) { - if (this.pricingList == null) { - this.pricingList = new ArrayList<>(); - } - this.pricingList.add(pricingListItem); - return this; - } - - /** - * Get pricingList - * @return pricingList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPricingList() { - return pricingList; - } - - - public void setPricingList(List pricingList) { - this.pricingList = pricingList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerRatePlanListInner v1PropertyGetPost200ResponseProductListInnerRatePlanListInner = (V1PropertyGetPost200ResponseProductListInnerRatePlanListInner) o; - return Objects.equals(this.active, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.active) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.name) && - Objects.equals(this.code, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.code) && - Objects.equals(this.propertyId, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.propertyId) && - Objects.equals(this.pricingList, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.pricingList); - } - - @Override - public int hashCode() { - return Objects.hash(active, name, code, propertyId, pricingList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRatePlanListInner {\n"); - sb.append(" active: ").append(toIndentedString(active)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append(" pricingList: ").append(toIndentedString(pricingList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("active"); - openapiFields.add("name"); - openapiFields.add("code"); - openapiFields.add("propertyId"); - openapiFields.add("pricingList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRatePlanListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRatePlanListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - JsonArray jsonArraypricingList = jsonObj.getAsJsonArray("pricingList"); - if (jsonArraypricingList != null) { - // ensure the json data is an array - if (!jsonObj.get("pricingList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `pricingList` to be an array in the JSON string but got `%s`", jsonObj.get("pricingList").toString())); - } - - // validate the optional field `pricingList` (array) - for (int i = 0; i < jsonArraypricingList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.validateJsonObject(jsonArraypricingList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRatePlanListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRatePlanListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ - public static V1PropertyGetPost200ResponseProductListInnerRatePlanListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java deleted file mode 100644 index 89d7b3b..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java +++ /dev/null @@ -1,777 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList { - public static final String SERIALIZED_NAME_4 = "4"; - @SerializedName(SERIALIZED_NAME_4) - private BigDecimal _4; - - public static final String SERIALIZED_NAME_5 = "5"; - @SerializedName(SERIALIZED_NAME_5) - private BigDecimal _5; - - public static final String SERIALIZED_NAME_6 = "6"; - @SerializedName(SERIALIZED_NAME_6) - private BigDecimal _6; - - public static final String SERIALIZED_NAME_7 = "7"; - @SerializedName(SERIALIZED_NAME_7) - private BigDecimal _7; - - public static final String SERIALIZED_NAME_8 = "8"; - @SerializedName(SERIALIZED_NAME_8) - private BigDecimal _8; - - public static final String SERIALIZED_NAME_9 = "9"; - @SerializedName(SERIALIZED_NAME_9) - private BigDecimal _9; - - public static final String SERIALIZED_NAME_10 = "10"; - @SerializedName(SERIALIZED_NAME_10) - private BigDecimal _10; - - public static final String SERIALIZED_NAME_11 = "11"; - @SerializedName(SERIALIZED_NAME_11) - private BigDecimal _11; - - public static final String SERIALIZED_NAME_12 = "12"; - @SerializedName(SERIALIZED_NAME_12) - private BigDecimal _12; - - public static final String SERIALIZED_NAME_13 = "13"; - @SerializedName(SERIALIZED_NAME_13) - private BigDecimal _13; - - public static final String SERIALIZED_NAME_14 = "14"; - @SerializedName(SERIALIZED_NAME_14) - private BigDecimal _14; - - public static final String SERIALIZED_NAME_15 = "15"; - @SerializedName(SERIALIZED_NAME_15) - private BigDecimal _15; - - public static final String SERIALIZED_NAME_16 = "16"; - @SerializedName(SERIALIZED_NAME_16) - private BigDecimal _16; - - public static final String SERIALIZED_NAME_17 = "17"; - @SerializedName(SERIALIZED_NAME_17) - private BigDecimal _17; - - public static final String SERIALIZED_NAME_18 = "18"; - @SerializedName(SERIALIZED_NAME_18) - private BigDecimal _18; - - public static final String SERIALIZED_NAME_19 = "19"; - @SerializedName(SERIALIZED_NAME_19) - private BigDecimal _19; - - public static final String SERIALIZED_NAME_20 = "20"; - @SerializedName(SERIALIZED_NAME_20) - private BigDecimal _20; - - public static final String SERIALIZED_NAME_21 = "21"; - @SerializedName(SERIALIZED_NAME_21) - private BigDecimal _21; - - public static final String SERIALIZED_NAME_22 = "22"; - @SerializedName(SERIALIZED_NAME_22) - private BigDecimal _22; - - public static final String SERIALIZED_NAME_23 = "23"; - @SerializedName(SERIALIZED_NAME_23) - private BigDecimal _23; - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList() { - } - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _4(BigDecimal _4) { - - this._4 = _4; - return this; - } - - /** - * Get _4 - * @return _4 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "516", value = "") - - public BigDecimal get4() { - return _4; - } - - - public void set4(BigDecimal _4) { - this._4 = _4; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _5(BigDecimal _5) { - - this._5 = _5; - return this; - } - - /** - * Get _5 - * @return _5 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "645", value = "") - - public BigDecimal get5() { - return _5; - } - - - public void set5(BigDecimal _5) { - this._5 = _5; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _6(BigDecimal _6) { - - this._6 = _6; - return this; - } - - /** - * Get _6 - * @return _6 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "774", value = "") - - public BigDecimal get6() { - return _6; - } - - - public void set6(BigDecimal _6) { - this._6 = _6; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _7(BigDecimal _7) { - - this._7 = _7; - return this; - } - - /** - * Get _7 - * @return _7 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "903", value = "") - - public BigDecimal get7() { - return _7; - } - - - public void set7(BigDecimal _7) { - this._7 = _7; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _8(BigDecimal _8) { - - this._8 = _8; - return this; - } - - /** - * Get _8 - * @return _8 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1032", value = "") - - public BigDecimal get8() { - return _8; - } - - - public void set8(BigDecimal _8) { - this._8 = _8; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _9(BigDecimal _9) { - - this._9 = _9; - return this; - } - - /** - * Get _9 - * @return _9 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1161", value = "") - - public BigDecimal get9() { - return _9; - } - - - public void set9(BigDecimal _9) { - this._9 = _9; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _10(BigDecimal _10) { - - this._10 = _10; - return this; - } - - /** - * Get _10 - * @return _10 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1290", value = "") - - public BigDecimal get10() { - return _10; - } - - - public void set10(BigDecimal _10) { - this._10 = _10; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _11(BigDecimal _11) { - - this._11 = _11; - return this; - } - - /** - * Get _11 - * @return _11 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1419", value = "") - - public BigDecimal get11() { - return _11; - } - - - public void set11(BigDecimal _11) { - this._11 = _11; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _12(BigDecimal _12) { - - this._12 = _12; - return this; - } - - /** - * Get _12 - * @return _12 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1548", value = "") - - public BigDecimal get12() { - return _12; - } - - - public void set12(BigDecimal _12) { - this._12 = _12; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _13(BigDecimal _13) { - - this._13 = _13; - return this; - } - - /** - * Get _13 - * @return _13 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1677", value = "") - - public BigDecimal get13() { - return _13; - } - - - public void set13(BigDecimal _13) { - this._13 = _13; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _14(BigDecimal _14) { - - this._14 = _14; - return this; - } - - /** - * Get _14 - * @return _14 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1806", value = "") - - public BigDecimal get14() { - return _14; - } - - - public void set14(BigDecimal _14) { - this._14 = _14; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _15(BigDecimal _15) { - - this._15 = _15; - return this; - } - - /** - * Get _15 - * @return _15 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1935", value = "") - - public BigDecimal get15() { - return _15; - } - - - public void set15(BigDecimal _15) { - this._15 = _15; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _16(BigDecimal _16) { - - this._16 = _16; - return this; - } - - /** - * Get _16 - * @return _16 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2064", value = "") - - public BigDecimal get16() { - return _16; - } - - - public void set16(BigDecimal _16) { - this._16 = _16; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _17(BigDecimal _17) { - - this._17 = _17; - return this; - } - - /** - * Get _17 - * @return _17 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2193", value = "") - - public BigDecimal get17() { - return _17; - } - - - public void set17(BigDecimal _17) { - this._17 = _17; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _18(BigDecimal _18) { - - this._18 = _18; - return this; - } - - /** - * Get _18 - * @return _18 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2322", value = "") - - public BigDecimal get18() { - return _18; - } - - - public void set18(BigDecimal _18) { - this._18 = _18; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _19(BigDecimal _19) { - - this._19 = _19; - return this; - } - - /** - * Get _19 - * @return _19 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2451", value = "") - - public BigDecimal get19() { - return _19; - } - - - public void set19(BigDecimal _19) { - this._19 = _19; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _20(BigDecimal _20) { - - this._20 = _20; - return this; - } - - /** - * Get _20 - * @return _20 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2580", value = "") - - public BigDecimal get20() { - return _20; - } - - - public void set20(BigDecimal _20) { - this._20 = _20; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _21(BigDecimal _21) { - - this._21 = _21; - return this; - } - - /** - * Get _21 - * @return _21 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2709", value = "") - - public BigDecimal get21() { - return _21; - } - - - public void set21(BigDecimal _21) { - this._21 = _21; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _22(BigDecimal _22) { - - this._22 = _22; - return this; - } - - /** - * Get _22 - * @return _22 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2838", value = "") - - public BigDecimal get22() { - return _22; - } - - - public void set22(BigDecimal _22) { - this._22 = _22; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _23(BigDecimal _23) { - - this._23 = _23; - return this; - } - - /** - * Get _23 - * @return _23 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2967", value = "") - - public BigDecimal get23() { - return _23; - } - - - public void set23(BigDecimal _23) { - this._23 = _23; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList = (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList) o; - return Objects.equals(this._4, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._4) && - Objects.equals(this._5, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._5) && - Objects.equals(this._6, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._6) && - Objects.equals(this._7, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._7) && - Objects.equals(this._8, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._8) && - Objects.equals(this._9, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._9) && - Objects.equals(this._10, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._10) && - Objects.equals(this._11, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._11) && - Objects.equals(this._12, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._12) && - Objects.equals(this._13, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._13) && - Objects.equals(this._14, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._14) && - Objects.equals(this._15, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._15) && - Objects.equals(this._16, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._16) && - Objects.equals(this._17, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._17) && - Objects.equals(this._18, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._18) && - Objects.equals(this._19, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._19) && - Objects.equals(this._20, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._20) && - Objects.equals(this._21, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._21) && - Objects.equals(this._22, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._22) && - Objects.equals(this._23, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._23); - } - - @Override - public int hashCode() { - return Objects.hash(_4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList {\n"); - sb.append(" _4: ").append(toIndentedString(_4)).append("\n"); - sb.append(" _5: ").append(toIndentedString(_5)).append("\n"); - sb.append(" _6: ").append(toIndentedString(_6)).append("\n"); - sb.append(" _7: ").append(toIndentedString(_7)).append("\n"); - sb.append(" _8: ").append(toIndentedString(_8)).append("\n"); - sb.append(" _9: ").append(toIndentedString(_9)).append("\n"); - sb.append(" _10: ").append(toIndentedString(_10)).append("\n"); - sb.append(" _11: ").append(toIndentedString(_11)).append("\n"); - sb.append(" _12: ").append(toIndentedString(_12)).append("\n"); - sb.append(" _13: ").append(toIndentedString(_13)).append("\n"); - sb.append(" _14: ").append(toIndentedString(_14)).append("\n"); - sb.append(" _15: ").append(toIndentedString(_15)).append("\n"); - sb.append(" _16: ").append(toIndentedString(_16)).append("\n"); - sb.append(" _17: ").append(toIndentedString(_17)).append("\n"); - sb.append(" _18: ").append(toIndentedString(_18)).append("\n"); - sb.append(" _19: ").append(toIndentedString(_19)).append("\n"); - sb.append(" _20: ").append(toIndentedString(_20)).append("\n"); - sb.append(" _21: ").append(toIndentedString(_21)).append("\n"); - sb.append(" _22: ").append(toIndentedString(_22)).append("\n"); - sb.append(" _23: ").append(toIndentedString(_23)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("4"); - openapiFields.add("5"); - openapiFields.add("6"); - openapiFields.add("7"); - openapiFields.add("8"); - openapiFields.add("9"); - openapiFields.add("10"); - openapiFields.add("11"); - openapiFields.add("12"); - openapiFields.add("13"); - openapiFields.add("14"); - openapiFields.add("15"); - openapiFields.add("16"); - openapiFields.add("17"); - openapiFields.add("18"); - openapiFields.add("19"); - openapiFields.add("20"); - openapiFields.add("21"); - openapiFields.add("22"); - openapiFields.add("23"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ - public static V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java deleted file mode 100644 index ca03876..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner { - public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; - @SerializedName(SERIALIZED_NAME_TYPE_CODE) - private String typeCode; - - public V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner() { - } - - public V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner typeCode(String typeCode) { - - this.typeCode = typeCode; - return this; - } - - /** - * Get typeCode - * @return typeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "amrum", value = "") - - public String getTypeCode() { - return typeCode; - } - - - public void setTypeCode(String typeCode) { - this.typeCode = typeCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner v1PropertyGetPost200ResponseProductListInnerRoomTypeListInner = (V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner) o; - return Objects.equals(this.typeCode, v1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.typeCode); - } - - @Override - public int hashCode() { - return Objects.hash(typeCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner {\n"); - sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("typeCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("typeCode") != null && !jsonObj.get("typeCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `typeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("typeCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ - public static V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProperty.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProperty.java deleted file mode 100644 index 8242775..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponseProperty.java +++ /dev/null @@ -1,873 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyAwardListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyCancellationGracePeriod; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyContactListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGuestInfo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyMediaListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyRecordCreated; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyRecordModified; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyServiceListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyTransaction; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponseProperty - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProperty { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_RECORD_CREATED = "recordCreated"; - @SerializedName(SERIALIZED_NAME_RECORD_CREATED) - private V1PropertyGetPost200ResponsePropertyRecordCreated recordCreated; - - public static final String SERIALIZED_NAME_RECORD_MODIFIED = "recordModified"; - @SerializedName(SERIALIZED_NAME_RECORD_MODIFIED) - private V1PropertyGetPost200ResponsePropertyRecordModified recordModified; - - public static final String SERIALIZED_NAME_PROPERTY_INFO = "propertyInfo"; - @SerializedName(SERIALIZED_NAME_PROPERTY_INFO) - private V1PropertyGetPost200ResponsePropertyPropertyInfo propertyInfo; - - public static final String SERIALIZED_NAME_GUEST_INFO = "guestInfo"; - @SerializedName(SERIALIZED_NAME_GUEST_INFO) - private V1PropertyGetPost200ResponsePropertyGuestInfo guestInfo; - - public static final String SERIALIZED_NAME_AWARD_LIST = "awardList"; - @SerializedName(SERIALIZED_NAME_AWARD_LIST) - private List awardList = null; - - public static final String SERIALIZED_NAME_CONTACT_LIST = "contactList"; - @SerializedName(SERIALIZED_NAME_CONTACT_LIST) - private List contactList = null; - - public static final String SERIALIZED_NAME_FACILITY_INFO = "facilityInfo"; - @SerializedName(SERIALIZED_NAME_FACILITY_INFO) - private V1PropertyGetPost200ResponsePropertyFacilityInfo facilityInfo; - - public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; - @SerializedName(SERIALIZED_NAME_MEDIA_LIST) - private List mediaList = null; - - public static final String SERIALIZED_NAME_GEO = "geo"; - @SerializedName(SERIALIZED_NAME_GEO) - private V1PropertyGetPost200ResponsePropertyGeo geo; - - public static final String SERIALIZED_NAME_REFINEMENT_DATE = "refinementDate"; - @SerializedName(SERIALIZED_NAME_REFINEMENT_DATE) - private BigDecimal refinementDate; - - public static final String SERIALIZED_NAME_PUBLISHED = "published"; - @SerializedName(SERIALIZED_NAME_PUBLISHED) - private Boolean published; - - public static final String SERIALIZED_NAME_POLICY_LIST = "policyList"; - @SerializedName(SERIALIZED_NAME_POLICY_LIST) - private List policyList = null; - - public static final String SERIALIZED_NAME_URI = "uri"; - @SerializedName(SERIALIZED_NAME_URI) - private String uri; - - public static final String SERIALIZED_NAME_TRANSACTION = "transaction"; - @SerializedName(SERIALIZED_NAME_TRANSACTION) - private V1PropertyGetPost200ResponsePropertyTransaction transaction; - - public static final String SERIALIZED_NAME_CANCELLATION_GRACE_PERIOD = "cancellationGracePeriod"; - @SerializedName(SERIALIZED_NAME_CANCELLATION_GRACE_PERIOD) - private V1PropertyGetPost200ResponsePropertyCancellationGracePeriod cancellationGracePeriod; - - public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; - @SerializedName(SERIALIZED_NAME_SERVICE_LIST) - private List serviceList = null; - - public V1PropertyGetPost200ResponseProperty() { - } - - public V1PropertyGetPost200ResponseProperty code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProperty name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Strandresidenz Sylt", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponseProperty recordCreated(V1PropertyGetPost200ResponsePropertyRecordCreated recordCreated) { - - this.recordCreated = recordCreated; - return this; - } - - /** - * Get recordCreated - * @return recordCreated - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyRecordCreated getRecordCreated() { - return recordCreated; - } - - - public void setRecordCreated(V1PropertyGetPost200ResponsePropertyRecordCreated recordCreated) { - this.recordCreated = recordCreated; - } - - - public V1PropertyGetPost200ResponseProperty recordModified(V1PropertyGetPost200ResponsePropertyRecordModified recordModified) { - - this.recordModified = recordModified; - return this; - } - - /** - * Get recordModified - * @return recordModified - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyRecordModified getRecordModified() { - return recordModified; - } - - - public void setRecordModified(V1PropertyGetPost200ResponsePropertyRecordModified recordModified) { - this.recordModified = recordModified; - } - - - public V1PropertyGetPost200ResponseProperty propertyInfo(V1PropertyGetPost200ResponsePropertyPropertyInfo propertyInfo) { - - this.propertyInfo = propertyInfo; - return this; - } - - /** - * Get propertyInfo - * @return propertyInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPropertyInfo getPropertyInfo() { - return propertyInfo; - } - - - public void setPropertyInfo(V1PropertyGetPost200ResponsePropertyPropertyInfo propertyInfo) { - this.propertyInfo = propertyInfo; - } - - - public V1PropertyGetPost200ResponseProperty guestInfo(V1PropertyGetPost200ResponsePropertyGuestInfo guestInfo) { - - this.guestInfo = guestInfo; - return this; - } - - /** - * Get guestInfo - * @return guestInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGuestInfo getGuestInfo() { - return guestInfo; - } - - - public void setGuestInfo(V1PropertyGetPost200ResponsePropertyGuestInfo guestInfo) { - this.guestInfo = guestInfo; - } - - - public V1PropertyGetPost200ResponseProperty awardList(List awardList) { - - this.awardList = awardList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addAwardListItem(V1PropertyGetPost200ResponsePropertyAwardListInner awardListItem) { - if (this.awardList == null) { - this.awardList = new ArrayList<>(); - } - this.awardList.add(awardListItem); - return this; - } - - /** - * Get awardList - * @return awardList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAwardList() { - return awardList; - } - - - public void setAwardList(List awardList) { - this.awardList = awardList; - } - - - public V1PropertyGetPost200ResponseProperty contactList(List contactList) { - - this.contactList = contactList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addContactListItem(V1PropertyGetPost200ResponsePropertyContactListInner contactListItem) { - if (this.contactList == null) { - this.contactList = new ArrayList<>(); - } - this.contactList.add(contactListItem); - return this; - } - - /** - * Get contactList - * @return contactList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getContactList() { - return contactList; - } - - - public void setContactList(List contactList) { - this.contactList = contactList; - } - - - public V1PropertyGetPost200ResponseProperty facilityInfo(V1PropertyGetPost200ResponsePropertyFacilityInfo facilityInfo) { - - this.facilityInfo = facilityInfo; - return this; - } - - /** - * Get facilityInfo - * @return facilityInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyFacilityInfo getFacilityInfo() { - return facilityInfo; - } - - - public void setFacilityInfo(V1PropertyGetPost200ResponsePropertyFacilityInfo facilityInfo) { - this.facilityInfo = facilityInfo; - } - - - public V1PropertyGetPost200ResponseProperty mediaList(List mediaList) { - - this.mediaList = mediaList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addMediaListItem(V1PropertyGetPost200ResponsePropertyMediaListInner mediaListItem) { - if (this.mediaList == null) { - this.mediaList = new ArrayList<>(); - } - this.mediaList.add(mediaListItem); - return this; - } - - /** - * Get mediaList - * @return mediaList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMediaList() { - return mediaList; - } - - - public void setMediaList(List mediaList) { - this.mediaList = mediaList; - } - - - public V1PropertyGetPost200ResponseProperty geo(V1PropertyGetPost200ResponsePropertyGeo geo) { - - this.geo = geo; - return this; - } - - /** - * Get geo - * @return geo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeo getGeo() { - return geo; - } - - - public void setGeo(V1PropertyGetPost200ResponsePropertyGeo geo) { - this.geo = geo; - } - - - public V1PropertyGetPost200ResponseProperty refinementDate(BigDecimal refinementDate) { - - this.refinementDate = refinementDate; - return this; - } - - /** - * Get refinementDate - * @return refinementDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1643706934194", value = "") - - public BigDecimal getRefinementDate() { - return refinementDate; - } - - - public void setRefinementDate(BigDecimal refinementDate) { - this.refinementDate = refinementDate; - } - - - public V1PropertyGetPost200ResponseProperty published(Boolean published) { - - this.published = published; - return this; - } - - /** - * Get published - * @return published - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getPublished() { - return published; - } - - - public void setPublished(Boolean published) { - this.published = published; - } - - - public V1PropertyGetPost200ResponseProperty policyList(List policyList) { - - this.policyList = policyList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addPolicyListItem(V1PropertyGetPost200ResponsePropertyPolicyListInner policyListItem) { - if (this.policyList == null) { - this.policyList = new ArrayList<>(); - } - this.policyList.add(policyListItem); - return this; - } - - /** - * Get policyList - * @return policyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPolicyList() { - return policyList; - } - - - public void setPolicyList(List policyList) { - this.policyList = policyList; - } - - - public V1PropertyGetPost200ResponseProperty uri(String uri) { - - this.uri = uri; - return this; - } - - /** - * Get uri - * @return uri - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getUri() { - return uri; - } - - - public void setUri(String uri) { - this.uri = uri; - } - - - public V1PropertyGetPost200ResponseProperty transaction(V1PropertyGetPost200ResponsePropertyTransaction transaction) { - - this.transaction = transaction; - return this; - } - - /** - * Get transaction - * @return transaction - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyTransaction getTransaction() { - return transaction; - } - - - public void setTransaction(V1PropertyGetPost200ResponsePropertyTransaction transaction) { - this.transaction = transaction; - } - - - public V1PropertyGetPost200ResponseProperty cancellationGracePeriod(V1PropertyGetPost200ResponsePropertyCancellationGracePeriod cancellationGracePeriod) { - - this.cancellationGracePeriod = cancellationGracePeriod; - return this; - } - - /** - * Get cancellationGracePeriod - * @return cancellationGracePeriod - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod getCancellationGracePeriod() { - return cancellationGracePeriod; - } - - - public void setCancellationGracePeriod(V1PropertyGetPost200ResponsePropertyCancellationGracePeriod cancellationGracePeriod) { - this.cancellationGracePeriod = cancellationGracePeriod; - } - - - public V1PropertyGetPost200ResponseProperty serviceList(List serviceList) { - - this.serviceList = serviceList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addServiceListItem(V1PropertyGetPost200ResponsePropertyServiceListInner serviceListItem) { - if (this.serviceList == null) { - this.serviceList = new ArrayList<>(); - } - this.serviceList.add(serviceListItem); - return this; - } - - /** - * Get serviceList - * @return serviceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getServiceList() { - return serviceList; - } - - - public void setServiceList(List serviceList) { - this.serviceList = serviceList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProperty v1PropertyGetPost200ResponseProperty = (V1PropertyGetPost200ResponseProperty) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponseProperty.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProperty.name) && - Objects.equals(this.recordCreated, v1PropertyGetPost200ResponseProperty.recordCreated) && - Objects.equals(this.recordModified, v1PropertyGetPost200ResponseProperty.recordModified) && - Objects.equals(this.propertyInfo, v1PropertyGetPost200ResponseProperty.propertyInfo) && - Objects.equals(this.guestInfo, v1PropertyGetPost200ResponseProperty.guestInfo) && - Objects.equals(this.awardList, v1PropertyGetPost200ResponseProperty.awardList) && - Objects.equals(this.contactList, v1PropertyGetPost200ResponseProperty.contactList) && - Objects.equals(this.facilityInfo, v1PropertyGetPost200ResponseProperty.facilityInfo) && - Objects.equals(this.mediaList, v1PropertyGetPost200ResponseProperty.mediaList) && - Objects.equals(this.geo, v1PropertyGetPost200ResponseProperty.geo) && - Objects.equals(this.refinementDate, v1PropertyGetPost200ResponseProperty.refinementDate) && - Objects.equals(this.published, v1PropertyGetPost200ResponseProperty.published) && - Objects.equals(this.policyList, v1PropertyGetPost200ResponseProperty.policyList) && - Objects.equals(this.uri, v1PropertyGetPost200ResponseProperty.uri) && - Objects.equals(this.transaction, v1PropertyGetPost200ResponseProperty.transaction) && - Objects.equals(this.cancellationGracePeriod, v1PropertyGetPost200ResponseProperty.cancellationGracePeriod) && - Objects.equals(this.serviceList, v1PropertyGetPost200ResponseProperty.serviceList); - } - - @Override - public int hashCode() { - return Objects.hash(code, name, recordCreated, recordModified, propertyInfo, guestInfo, awardList, contactList, facilityInfo, mediaList, geo, refinementDate, published, policyList, uri, transaction, cancellationGracePeriod, serviceList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProperty {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" recordCreated: ").append(toIndentedString(recordCreated)).append("\n"); - sb.append(" recordModified: ").append(toIndentedString(recordModified)).append("\n"); - sb.append(" propertyInfo: ").append(toIndentedString(propertyInfo)).append("\n"); - sb.append(" guestInfo: ").append(toIndentedString(guestInfo)).append("\n"); - sb.append(" awardList: ").append(toIndentedString(awardList)).append("\n"); - sb.append(" contactList: ").append(toIndentedString(contactList)).append("\n"); - sb.append(" facilityInfo: ").append(toIndentedString(facilityInfo)).append("\n"); - sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); - sb.append(" geo: ").append(toIndentedString(geo)).append("\n"); - sb.append(" refinementDate: ").append(toIndentedString(refinementDate)).append("\n"); - sb.append(" published: ").append(toIndentedString(published)).append("\n"); - sb.append(" policyList: ").append(toIndentedString(policyList)).append("\n"); - sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); - sb.append(" transaction: ").append(toIndentedString(transaction)).append("\n"); - sb.append(" cancellationGracePeriod: ").append(toIndentedString(cancellationGracePeriod)).append("\n"); - sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - openapiFields.add("recordCreated"); - openapiFields.add("recordModified"); - openapiFields.add("propertyInfo"); - openapiFields.add("guestInfo"); - openapiFields.add("awardList"); - openapiFields.add("contactList"); - openapiFields.add("facilityInfo"); - openapiFields.add("mediaList"); - openapiFields.add("geo"); - openapiFields.add("refinementDate"); - openapiFields.add("published"); - openapiFields.add("policyList"); - openapiFields.add("uri"); - openapiFields.add("transaction"); - openapiFields.add("cancellationGracePeriod"); - openapiFields.add("serviceList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProperty - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProperty.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProperty is not found in the empty JSON string", V1PropertyGetPost200ResponseProperty.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProperty.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProperty` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - // validate the optional field `recordCreated` - if (jsonObj.getAsJsonObject("recordCreated") != null) { - V1PropertyGetPost200ResponsePropertyRecordCreated.validateJsonObject(jsonObj.getAsJsonObject("recordCreated")); - } - // validate the optional field `recordModified` - if (jsonObj.getAsJsonObject("recordModified") != null) { - V1PropertyGetPost200ResponsePropertyRecordModified.validateJsonObject(jsonObj.getAsJsonObject("recordModified")); - } - // validate the optional field `propertyInfo` - if (jsonObj.getAsJsonObject("propertyInfo") != null) { - V1PropertyGetPost200ResponsePropertyPropertyInfo.validateJsonObject(jsonObj.getAsJsonObject("propertyInfo")); - } - // validate the optional field `guestInfo` - if (jsonObj.getAsJsonObject("guestInfo") != null) { - V1PropertyGetPost200ResponsePropertyGuestInfo.validateJsonObject(jsonObj.getAsJsonObject("guestInfo")); - } - JsonArray jsonArrayawardList = jsonObj.getAsJsonArray("awardList"); - if (jsonArrayawardList != null) { - // ensure the json data is an array - if (!jsonObj.get("awardList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `awardList` to be an array in the JSON string but got `%s`", jsonObj.get("awardList").toString())); - } - - // validate the optional field `awardList` (array) - for (int i = 0; i < jsonArrayawardList.size(); i++) { - V1PropertyGetPost200ResponsePropertyAwardListInner.validateJsonObject(jsonArrayawardList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArraycontactList = jsonObj.getAsJsonArray("contactList"); - if (jsonArraycontactList != null) { - // ensure the json data is an array - if (!jsonObj.get("contactList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `contactList` to be an array in the JSON string but got `%s`", jsonObj.get("contactList").toString())); - } - - // validate the optional field `contactList` (array) - for (int i = 0; i < jsonArraycontactList.size(); i++) { - V1PropertyGetPost200ResponsePropertyContactListInner.validateJsonObject(jsonArraycontactList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `facilityInfo` - if (jsonObj.getAsJsonObject("facilityInfo") != null) { - V1PropertyGetPost200ResponsePropertyFacilityInfo.validateJsonObject(jsonObj.getAsJsonObject("facilityInfo")); - } - JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); - if (jsonArraymediaList != null) { - // ensure the json data is an array - if (!jsonObj.get("mediaList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); - } - - // validate the optional field `mediaList` (array) - for (int i = 0; i < jsonArraymediaList.size(); i++) { - V1PropertyGetPost200ResponsePropertyMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `geo` - if (jsonObj.getAsJsonObject("geo") != null) { - V1PropertyGetPost200ResponsePropertyGeo.validateJsonObject(jsonObj.getAsJsonObject("geo")); - } - JsonArray jsonArraypolicyList = jsonObj.getAsJsonArray("policyList"); - if (jsonArraypolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("policyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `policyList` to be an array in the JSON string but got `%s`", jsonObj.get("policyList").toString())); - } - - // validate the optional field `policyList` (array) - for (int i = 0; i < jsonArraypolicyList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPolicyListInner.validateJsonObject(jsonArraypolicyList.get(i).getAsJsonObject()); - }; - } - if (jsonObj.get("uri") != null && !jsonObj.get("uri").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uri").toString())); - } - // validate the optional field `transaction` - if (jsonObj.getAsJsonObject("transaction") != null) { - V1PropertyGetPost200ResponsePropertyTransaction.validateJsonObject(jsonObj.getAsJsonObject("transaction")); - } - // validate the optional field `cancellationGracePeriod` - if (jsonObj.getAsJsonObject("cancellationGracePeriod") != null) { - V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.validateJsonObject(jsonObj.getAsJsonObject("cancellationGracePeriod")); - } - JsonArray jsonArrayserviceList = jsonObj.getAsJsonArray("serviceList"); - if (jsonArrayserviceList != null) { - // ensure the json data is an array - if (!jsonObj.get("serviceList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); - } - - // validate the optional field `serviceList` (array) - for (int i = 0; i < jsonArrayserviceList.size(); i++) { - V1PropertyGetPost200ResponsePropertyServiceListInner.validateJsonObject(jsonArrayserviceList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProperty.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProperty' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProperty.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProperty value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProperty read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProperty given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProperty - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProperty - */ - public static V1PropertyGetPost200ResponseProperty fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProperty.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProperty to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java deleted file mode 100644 index 94c701a..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyAwardListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyAwardListInner { - public static final String SERIALIZED_NAME_PROVIDER = "provider"; - @SerializedName(SERIALIZED_NAME_PROVIDER) - private String provider; - - public static final String SERIALIZED_NAME_RATING = "rating"; - @SerializedName(SERIALIZED_NAME_RATING) - private BigDecimal rating; - - public V1PropertyGetPost200ResponsePropertyAwardListInner() { - } - - public V1PropertyGetPost200ResponsePropertyAwardListInner provider(String provider) { - - this.provider = provider; - return this; - } - - /** - * Get provider - * @return provider - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "star-rating", value = "") - - public String getProvider() { - return provider; - } - - - public void setProvider(String provider) { - this.provider = provider; - } - - - public V1PropertyGetPost200ResponsePropertyAwardListInner rating(BigDecimal rating) { - - this.rating = rating; - return this; - } - - /** - * Get rating - * @return rating - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getRating() { - return rating; - } - - - public void setRating(BigDecimal rating) { - this.rating = rating; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyAwardListInner v1PropertyGetPost200ResponsePropertyAwardListInner = (V1PropertyGetPost200ResponsePropertyAwardListInner) o; - return Objects.equals(this.provider, v1PropertyGetPost200ResponsePropertyAwardListInner.provider) && - Objects.equals(this.rating, v1PropertyGetPost200ResponsePropertyAwardListInner.rating); - } - - @Override - public int hashCode() { - return Objects.hash(provider, rating); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyAwardListInner {\n"); - sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); - sb.append(" rating: ").append(toIndentedString(rating)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("provider"); - openapiFields.add("rating"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyAwardListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyAwardListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyAwardListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyAwardListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyAwardListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyAwardListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("provider") != null && !jsonObj.get("provider").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `provider` to be a primitive type in the JSON string but got `%s`", jsonObj.get("provider").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyAwardListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyAwardListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyAwardListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyAwardListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyAwardListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyAwardListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyAwardListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyAwardListInner - */ - public static V1PropertyGetPost200ResponsePropertyAwardListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyAwardListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyAwardListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInner.java deleted file mode 100644 index 09c5a42..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInner.java +++ /dev/null @@ -1,262 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyContactListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyContactListInner { - public static final String SERIALIZED_NAME_PROFILE_TYPE = "profileType"; - @SerializedName(SERIALIZED_NAME_PROFILE_TYPE) - private String profileType; - - public static final String SERIALIZED_NAME_ADDRESS_LIST = "addressList"; - @SerializedName(SERIALIZED_NAME_ADDRESS_LIST) - private List addressList = null; - - public V1PropertyGetPost200ResponsePropertyContactListInner() { - } - - public V1PropertyGetPost200ResponsePropertyContactListInner profileType(String profileType) { - - this.profileType = profileType; - return this; - } - - /** - * Get profileType - * @return profileType - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "physicallocation", value = "") - - public String getProfileType() { - return profileType; - } - - - public void setProfileType(String profileType) { - this.profileType = profileType; - } - - - public V1PropertyGetPost200ResponsePropertyContactListInner addressList(List addressList) { - - this.addressList = addressList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyContactListInner addAddressListItem(V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner addressListItem) { - if (this.addressList == null) { - this.addressList = new ArrayList<>(); - } - this.addressList.add(addressListItem); - return this; - } - - /** - * Get addressList - * @return addressList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAddressList() { - return addressList; - } - - - public void setAddressList(List addressList) { - this.addressList = addressList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyContactListInner v1PropertyGetPost200ResponsePropertyContactListInner = (V1PropertyGetPost200ResponsePropertyContactListInner) o; - return Objects.equals(this.profileType, v1PropertyGetPost200ResponsePropertyContactListInner.profileType) && - Objects.equals(this.addressList, v1PropertyGetPost200ResponsePropertyContactListInner.addressList); - } - - @Override - public int hashCode() { - return Objects.hash(profileType, addressList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyContactListInner {\n"); - sb.append(" profileType: ").append(toIndentedString(profileType)).append("\n"); - sb.append(" addressList: ").append(toIndentedString(addressList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("profileType"); - openapiFields.add("addressList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyContactListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyContactListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyContactListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyContactListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyContactListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("profileType") != null && !jsonObj.get("profileType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `profileType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("profileType").toString())); - } - JsonArray jsonArrayaddressList = jsonObj.getAsJsonArray("addressList"); - if (jsonArrayaddressList != null) { - // ensure the json data is an array - if (!jsonObj.get("addressList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `addressList` to be an array in the JSON string but got `%s`", jsonObj.get("addressList").toString())); - } - - // validate the optional field `addressList` (array) - for (int i = 0; i < jsonArrayaddressList.size(); i++) { - V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.validateJsonObject(jsonArrayaddressList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyContactListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyContactListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyContactListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyContactListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyContactListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyContactListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyContactListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInner - */ - public static V1PropertyGetPost200ResponsePropertyContactListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyContactListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyContactListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java deleted file mode 100644 index c7c9d11..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfo { - public static final String SERIALIZED_NAME_GUEST_ROOM_LIST = "guestRoomList"; - @SerializedName(SERIALIZED_NAME_GUEST_ROOM_LIST) - private List guestRoomList = null; - - public V1PropertyGetPost200ResponsePropertyFacilityInfo() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfo guestRoomList(List guestRoomList) { - - this.guestRoomList = guestRoomList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfo addGuestRoomListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner guestRoomListItem) { - if (this.guestRoomList == null) { - this.guestRoomList = new ArrayList<>(); - } - this.guestRoomList.add(guestRoomListItem); - return this; - } - - /** - * Get guestRoomList - * @return guestRoomList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getGuestRoomList() { - return guestRoomList; - } - - - public void setGuestRoomList(List guestRoomList) { - this.guestRoomList = guestRoomList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfo v1PropertyGetPost200ResponsePropertyFacilityInfo = (V1PropertyGetPost200ResponsePropertyFacilityInfo) o; - return Objects.equals(this.guestRoomList, v1PropertyGetPost200ResponsePropertyFacilityInfo.guestRoomList); - } - - @Override - public int hashCode() { - return Objects.hash(guestRoomList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfo {\n"); - sb.append(" guestRoomList: ").append(toIndentedString(guestRoomList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("guestRoomList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - JsonArray jsonArrayguestRoomList = jsonObj.getAsJsonArray("guestRoomList"); - if (jsonArrayguestRoomList != null) { - // ensure the json data is an array - if (!jsonObj.get("guestRoomList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `guestRoomList` to be an array in the JSON string but got `%s`", jsonObj.get("guestRoomList").toString())); - } - - // validate the optional field `guestRoomList` (array) - for (int i = 0; i < jsonArrayguestRoomList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.validateJsonObject(jsonArrayguestRoomList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfo - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java deleted file mode 100644 index eb02bb1..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java +++ /dev/null @@ -1,730 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner { - public static final String SERIALIZED_NAME_IS_ACTIVE = "isActive"; - @SerializedName(SERIALIZED_NAME_IS_ACTIVE) - private Boolean isActive; - - public static final String SERIALIZED_NAME_ROOM_ID = "roomId"; - @SerializedName(SERIALIZED_NAME_ROOM_ID) - private String roomId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TYPE_NAME = "typeName"; - @SerializedName(SERIALIZED_NAME_TYPE_NAME) - private String typeName; - - public static final String SERIALIZED_NAME_DESCRIPTION_TEXT = "descriptionText"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION_TEXT) - private String descriptionText; - - public static final String SERIALIZED_NAME_IMAGE_LIST = "imageList"; - @SerializedName(SERIALIZED_NAME_IMAGE_LIST) - private List imageList = null; - - public static final String SERIALIZED_NAME_ROOM_TYPE_CODE = "roomTypeCode"; - @SerializedName(SERIALIZED_NAME_ROOM_TYPE_CODE) - private String roomTypeCode; - - public static final String SERIALIZED_NAME_IS_NON_SMOKING = "isNonSmoking"; - @SerializedName(SERIALIZED_NAME_IS_NON_SMOKING) - private Boolean isNonSmoking; - - public static final String SERIALIZED_NAME_ROOM_TYPE_NAME = "roomTypeName"; - @SerializedName(SERIALIZED_NAME_ROOM_TYPE_NAME) - private String roomTypeName; - - public static final String SERIALIZED_NAME_AMENITY_LIST = "amenityList"; - @SerializedName(SERIALIZED_NAME_AMENITY_LIST) - private List amenityList = null; - - public static final String SERIALIZED_NAME_MAX_OCCUPANCY = "maxOccupancy"; - @SerializedName(SERIALIZED_NAME_MAX_OCCUPANCY) - private String maxOccupancy; - - public static final String SERIALIZED_NAME_MESSAGE_LIST = "messageList"; - @SerializedName(SERIALIZED_NAME_MESSAGE_LIST) - private List messageList = null; - - public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; - @SerializedName(SERIALIZED_NAME_MEDIA_LIST) - private List mediaList = null; - - public static final String SERIALIZED_NAME_MAX_ADULT_OCCUPANCY = "maxAdultOccupancy"; - @SerializedName(SERIALIZED_NAME_MAX_ADULT_OCCUPANCY) - private String maxAdultOccupancy; - - public static final String SERIALIZED_NAME_MAX_CHILD_OCCUPANCY = "maxChildOccupancy"; - @SerializedName(SERIALIZED_NAME_MAX_CHILD_OCCUPANCY) - private String maxChildOccupancy; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner isActive(Boolean isActive) { - - this.isActive = isActive; - return this; - } - - /** - * Get isActive - * @return isActive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsActive() { - return isActive; - } - - - public void setIsActive(Boolean isActive) { - this.isActive = isActive; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner roomId(String roomId) { - - this.roomId = roomId; - return this; - } - - /** - * Get roomId - * @return roomId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "amrum", value = "") - - public String getRoomId() { - return roomId; - } - - - public void setRoomId(String roomId) { - this.roomId = roomId; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Amrum", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner typeName(String typeName) { - - this.typeName = typeName; - return this; - } - - /** - * Get typeName - * @return typeName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getTypeName() { - return typeName; - } - - - public void setTypeName(String typeName) { - this.typeName = typeName; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner descriptionText(String descriptionText) { - - this.descriptionText = descriptionText; - return this; - } - - /** - * Get descriptionText - * @return descriptionText - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getDescriptionText() { - return descriptionText; - } - - - public void setDescriptionText(String descriptionText) { - this.descriptionText = descriptionText; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner imageList(List imageList) { - - this.imageList = imageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addImageListItem(String imageListItem) { - if (this.imageList == null) { - this.imageList = new ArrayList<>(); - } - this.imageList.add(imageListItem); - return this; - } - - /** - * Get imageList - * @return imageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getImageList() { - return imageList; - } - - - public void setImageList(List imageList) { - this.imageList = imageList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner roomTypeCode(String roomTypeCode) { - - this.roomTypeCode = roomTypeCode; - return this; - } - - /** - * Get roomTypeCode - * @return roomTypeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public String getRoomTypeCode() { - return roomTypeCode; - } - - - public void setRoomTypeCode(String roomTypeCode) { - this.roomTypeCode = roomTypeCode; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner isNonSmoking(Boolean isNonSmoking) { - - this.isNonSmoking = isNonSmoking; - return this; - } - - /** - * Get isNonSmoking - * @return isNonSmoking - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsNonSmoking() { - return isNonSmoking; - } - - - public void setIsNonSmoking(Boolean isNonSmoking) { - this.isNonSmoking = isNonSmoking; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner roomTypeName(String roomTypeName) { - - this.roomTypeName = roomTypeName; - return this; - } - - /** - * Get roomTypeName - * @return roomTypeName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getRoomTypeName() { - return roomTypeName; - } - - - public void setRoomTypeName(String roomTypeName) { - this.roomTypeName = roomTypeName; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner amenityList(List amenityList) { - - this.amenityList = amenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addAmenityListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner amenityListItem) { - if (this.amenityList == null) { - this.amenityList = new ArrayList<>(); - } - this.amenityList.add(amenityListItem); - return this; - } - - /** - * Get amenityList - * @return amenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAmenityList() { - return amenityList; - } - - - public void setAmenityList(List amenityList) { - this.amenityList = amenityList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner maxOccupancy(String maxOccupancy) { - - this.maxOccupancy = maxOccupancy; - return this; - } - - /** - * Get maxOccupancy - * @return maxOccupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public String getMaxOccupancy() { - return maxOccupancy; - } - - - public void setMaxOccupancy(String maxOccupancy) { - this.maxOccupancy = maxOccupancy; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner messageList(List messageList) { - - this.messageList = messageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addMessageListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner messageListItem) { - if (this.messageList == null) { - this.messageList = new ArrayList<>(); - } - this.messageList.add(messageListItem); - return this; - } - - /** - * Get messageList - * @return messageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMessageList() { - return messageList; - } - - - public void setMessageList(List messageList) { - this.messageList = messageList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner mediaList(List mediaList) { - - this.mediaList = mediaList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addMediaListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner mediaListItem) { - if (this.mediaList == null) { - this.mediaList = new ArrayList<>(); - } - this.mediaList.add(mediaListItem); - return this; - } - - /** - * Get mediaList - * @return mediaList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMediaList() { - return mediaList; - } - - - public void setMediaList(List mediaList) { - this.mediaList = mediaList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner maxAdultOccupancy(String maxAdultOccupancy) { - - this.maxAdultOccupancy = maxAdultOccupancy; - return this; - } - - /** - * Get maxAdultOccupancy - * @return maxAdultOccupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public String getMaxAdultOccupancy() { - return maxAdultOccupancy; - } - - - public void setMaxAdultOccupancy(String maxAdultOccupancy) { - this.maxAdultOccupancy = maxAdultOccupancy; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner maxChildOccupancy(String maxChildOccupancy) { - - this.maxChildOccupancy = maxChildOccupancy; - return this; - } - - /** - * Get maxChildOccupancy - * @return maxChildOccupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public String getMaxChildOccupancy() { - return maxChildOccupancy; - } - - - public void setMaxChildOccupancy(String maxChildOccupancy) { - this.maxChildOccupancy = maxChildOccupancy; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner) o; - return Objects.equals(this.isActive, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.isActive) && - Objects.equals(this.roomId, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.roomId) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.name) && - Objects.equals(this.typeName, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.typeName) && - Objects.equals(this.descriptionText, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.descriptionText) && - Objects.equals(this.imageList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.imageList) && - Objects.equals(this.roomTypeCode, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.roomTypeCode) && - Objects.equals(this.isNonSmoking, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.isNonSmoking) && - Objects.equals(this.roomTypeName, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.roomTypeName) && - Objects.equals(this.amenityList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.amenityList) && - Objects.equals(this.maxOccupancy, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.maxOccupancy) && - Objects.equals(this.messageList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.messageList) && - Objects.equals(this.mediaList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.mediaList) && - Objects.equals(this.maxAdultOccupancy, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.maxAdultOccupancy) && - Objects.equals(this.maxChildOccupancy, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.maxChildOccupancy); - } - - @Override - public int hashCode() { - return Objects.hash(isActive, roomId, name, typeName, descriptionText, imageList, roomTypeCode, isNonSmoking, roomTypeName, amenityList, maxOccupancy, messageList, mediaList, maxAdultOccupancy, maxChildOccupancy); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner {\n"); - sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); - sb.append(" roomId: ").append(toIndentedString(roomId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" typeName: ").append(toIndentedString(typeName)).append("\n"); - sb.append(" descriptionText: ").append(toIndentedString(descriptionText)).append("\n"); - sb.append(" imageList: ").append(toIndentedString(imageList)).append("\n"); - sb.append(" roomTypeCode: ").append(toIndentedString(roomTypeCode)).append("\n"); - sb.append(" isNonSmoking: ").append(toIndentedString(isNonSmoking)).append("\n"); - sb.append(" roomTypeName: ").append(toIndentedString(roomTypeName)).append("\n"); - sb.append(" amenityList: ").append(toIndentedString(amenityList)).append("\n"); - sb.append(" maxOccupancy: ").append(toIndentedString(maxOccupancy)).append("\n"); - sb.append(" messageList: ").append(toIndentedString(messageList)).append("\n"); - sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); - sb.append(" maxAdultOccupancy: ").append(toIndentedString(maxAdultOccupancy)).append("\n"); - sb.append(" maxChildOccupancy: ").append(toIndentedString(maxChildOccupancy)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("isActive"); - openapiFields.add("roomId"); - openapiFields.add("name"); - openapiFields.add("typeName"); - openapiFields.add("descriptionText"); - openapiFields.add("imageList"); - openapiFields.add("roomTypeCode"); - openapiFields.add("isNonSmoking"); - openapiFields.add("roomTypeName"); - openapiFields.add("amenityList"); - openapiFields.add("maxOccupancy"); - openapiFields.add("messageList"); - openapiFields.add("mediaList"); - openapiFields.add("maxAdultOccupancy"); - openapiFields.add("maxChildOccupancy"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("roomId") != null && !jsonObj.get("roomId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `roomId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roomId").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("typeName") != null && !jsonObj.get("typeName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `typeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("typeName").toString())); - } - if (jsonObj.get("descriptionText") != null && !jsonObj.get("descriptionText").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `descriptionText` to be a primitive type in the JSON string but got `%s`", jsonObj.get("descriptionText").toString())); - } - // ensure the json data is an array - if (jsonObj.get("imageList") != null && !jsonObj.get("imageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `imageList` to be an array in the JSON string but got `%s`", jsonObj.get("imageList").toString())); - } - if (jsonObj.get("roomTypeCode") != null && !jsonObj.get("roomTypeCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `roomTypeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roomTypeCode").toString())); - } - if (jsonObj.get("roomTypeName") != null && !jsonObj.get("roomTypeName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `roomTypeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roomTypeName").toString())); - } - JsonArray jsonArrayamenityList = jsonObj.getAsJsonArray("amenityList"); - if (jsonArrayamenityList != null) { - // ensure the json data is an array - if (!jsonObj.get("amenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `amenityList` to be an array in the JSON string but got `%s`", jsonObj.get("amenityList").toString())); - } - - // validate the optional field `amenityList` (array) - for (int i = 0; i < jsonArrayamenityList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.validateJsonObject(jsonArrayamenityList.get(i).getAsJsonObject()); - }; - } - if (jsonObj.get("maxOccupancy") != null && !jsonObj.get("maxOccupancy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `maxOccupancy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxOccupancy").toString())); - } - JsonArray jsonArraymessageList = jsonObj.getAsJsonArray("messageList"); - if (jsonArraymessageList != null) { - // ensure the json data is an array - if (!jsonObj.get("messageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `messageList` to be an array in the JSON string but got `%s`", jsonObj.get("messageList").toString())); - } - - // validate the optional field `messageList` (array) - for (int i = 0; i < jsonArraymessageList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.validateJsonObject(jsonArraymessageList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); - if (jsonArraymediaList != null) { - // ensure the json data is an array - if (!jsonObj.get("mediaList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); - } - - // validate the optional field `mediaList` (array) - for (int i = 0; i < jsonArraymediaList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); - }; - } - if (jsonObj.get("maxAdultOccupancy") != null && !jsonObj.get("maxAdultOccupancy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `maxAdultOccupancy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxAdultOccupancy").toString())); - } - if (jsonObj.get("maxChildOccupancy") != null && !jsonObj.get("maxChildOccupancy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `maxChildOccupancy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxChildOccupancy").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java deleted file mode 100644 index 20f47f4..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private BigDecimal quantity; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "5005", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner quantity(BigDecimal quantity) { - - this.quantity = quantity; - return this; - } - - /** - * Get quantity - * @return quantity - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getQuantity() { - return quantity; - } - - - public void setQuantity(BigDecimal quantity) { - this.quantity = quantity; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.code) && - Objects.equals(this.quantity, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.quantity); - } - - @Override - public int hashCode() { - return Objects.hash(code, quantity); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("quantity"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java deleted file mode 100644 index d1ff0f8..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java +++ /dev/null @@ -1,500 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner { - public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; - @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) - private Boolean isMainImage; - - public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; - @SerializedName(SERIALIZED_NAME_SORT_ORDER) - private BigDecimal sortOrder; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_TAG_LIST = "tagList"; - @SerializedName(SERIALIZED_NAME_TAG_LIST) - private List tagList = null; - - public static final String SERIALIZED_NAME_MODERATION_LABEL_LIST = "moderationLabelList"; - @SerializedName(SERIALIZED_NAME_MODERATION_LABEL_LIST) - private List moderationLabelList = null; - - public static final String SERIALIZED_NAME_DETECTION_LABEL_LIST = "detectionLabelList"; - @SerializedName(SERIALIZED_NAME_DETECTION_LABEL_LIST) - private List detectionLabelList = null; - - public static final String SERIALIZED_NAME_PROPERTY_AMENITY_LIST = "propertyAmenityList"; - @SerializedName(SERIALIZED_NAME_PROPERTY_AMENITY_LIST) - private List propertyAmenityList = null; - - public static final String SERIALIZED_NAME_ROOM_AMENITY_LIST = "roomAmenityList"; - @SerializedName(SERIALIZED_NAME_ROOM_AMENITY_LIST) - private List roomAmenityList = null; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner isMainImage(Boolean isMainImage) { - - this.isMainImage = isMainImage; - return this; - } - - /** - * Get isMainImage - * @return isMainImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsMainImage() { - return isMainImage; - } - - - public void setIsMainImage(Boolean isMainImage) { - this.isMainImage = isMainImage; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner sortOrder(BigDecimal sortOrder) { - - this.sortOrder = sortOrder; - return this; - } - - /** - * Get sortOrder - * @return sortOrder - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1001", value = "") - - public BigDecimal getSortOrder() { - return sortOrder; - } - - - public void setSortOrder(BigDecimal sortOrder) { - this.sortOrder = sortOrder; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "zim_1280x960_164357_002.jpg", value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner tagList(List tagList) { - - this.tagList = tagList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addTagListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner tagListItem) { - if (this.tagList == null) { - this.tagList = new ArrayList<>(); - } - this.tagList.add(tagListItem); - return this; - } - - /** - * Get tagList - * @return tagList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTagList() { - return tagList; - } - - - public void setTagList(List tagList) { - this.tagList = tagList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner moderationLabelList(List moderationLabelList) { - - this.moderationLabelList = moderationLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addModerationLabelListItem(String moderationLabelListItem) { - if (this.moderationLabelList == null) { - this.moderationLabelList = new ArrayList<>(); - } - this.moderationLabelList.add(moderationLabelListItem); - return this; - } - - /** - * Get moderationLabelList - * @return moderationLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getModerationLabelList() { - return moderationLabelList; - } - - - public void setModerationLabelList(List moderationLabelList) { - this.moderationLabelList = moderationLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner detectionLabelList(List detectionLabelList) { - - this.detectionLabelList = detectionLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addDetectionLabelListItem(String detectionLabelListItem) { - if (this.detectionLabelList == null) { - this.detectionLabelList = new ArrayList<>(); - } - this.detectionLabelList.add(detectionLabelListItem); - return this; - } - - /** - * Get detectionLabelList - * @return detectionLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getDetectionLabelList() { - return detectionLabelList; - } - - - public void setDetectionLabelList(List detectionLabelList) { - this.detectionLabelList = detectionLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner propertyAmenityList(List propertyAmenityList) { - - this.propertyAmenityList = propertyAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addPropertyAmenityListItem(String propertyAmenityListItem) { - if (this.propertyAmenityList == null) { - this.propertyAmenityList = new ArrayList<>(); - } - this.propertyAmenityList.add(propertyAmenityListItem); - return this; - } - - /** - * Get propertyAmenityList - * @return propertyAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPropertyAmenityList() { - return propertyAmenityList; - } - - - public void setPropertyAmenityList(List propertyAmenityList) { - this.propertyAmenityList = propertyAmenityList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner roomAmenityList(List roomAmenityList) { - - this.roomAmenityList = roomAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addRoomAmenityListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner roomAmenityListItem) { - if (this.roomAmenityList == null) { - this.roomAmenityList = new ArrayList<>(); - } - this.roomAmenityList.add(roomAmenityListItem); - return this; - } - - /** - * Get roomAmenityList - * @return roomAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRoomAmenityList() { - return roomAmenityList; - } - - - public void setRoomAmenityList(List roomAmenityList) { - this.roomAmenityList = roomAmenityList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner) o; - return Objects.equals(this.isMainImage, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.isMainImage) && - Objects.equals(this.sortOrder, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.sortOrder) && - Objects.equals(this.url, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.url) && - Objects.equals(this.tagList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.tagList) && - Objects.equals(this.moderationLabelList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.moderationLabelList) && - Objects.equals(this.detectionLabelList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.detectionLabelList) && - Objects.equals(this.propertyAmenityList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.propertyAmenityList) && - Objects.equals(this.roomAmenityList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.roomAmenityList); - } - - @Override - public int hashCode() { - return Objects.hash(isMainImage, sortOrder, url, tagList, moderationLabelList, detectionLabelList, propertyAmenityList, roomAmenityList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner {\n"); - sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); - sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" tagList: ").append(toIndentedString(tagList)).append("\n"); - sb.append(" moderationLabelList: ").append(toIndentedString(moderationLabelList)).append("\n"); - sb.append(" detectionLabelList: ").append(toIndentedString(detectionLabelList)).append("\n"); - sb.append(" propertyAmenityList: ").append(toIndentedString(propertyAmenityList)).append("\n"); - sb.append(" roomAmenityList: ").append(toIndentedString(roomAmenityList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("isMainImage"); - openapiFields.add("sortOrder"); - openapiFields.add("url"); - openapiFields.add("tagList"); - openapiFields.add("moderationLabelList"); - openapiFields.add("detectionLabelList"); - openapiFields.add("propertyAmenityList"); - openapiFields.add("roomAmenityList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("url") != null && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); - } - JsonArray jsonArraytagList = jsonObj.getAsJsonArray("tagList"); - if (jsonArraytagList != null) { - // ensure the json data is an array - if (!jsonObj.get("tagList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `tagList` to be an array in the JSON string but got `%s`", jsonObj.get("tagList").toString())); - } - - // validate the optional field `tagList` (array) - for (int i = 0; i < jsonArraytagList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.validateJsonObject(jsonArraytagList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("moderationLabelList") != null && !jsonObj.get("moderationLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `moderationLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("moderationLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("detectionLabelList") != null && !jsonObj.get("detectionLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `detectionLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("detectionLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("propertyAmenityList") != null && !jsonObj.get("propertyAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("propertyAmenityList").toString())); - } - JsonArray jsonArrayroomAmenityList = jsonObj.getAsJsonArray("roomAmenityList"); - if (jsonArrayroomAmenityList != null) { - // ensure the json data is an array - if (!jsonObj.get("roomAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `roomAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("roomAmenityList").toString())); - } - - // validate the optional field `roomAmenityList` (array) - for (int i = 0; i < jsonArrayroomAmenityList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.validateJsonObject(jsonArrayroomAmenityList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java deleted file mode 100644 index bb418fd..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "146", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tables and chairs", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java deleted file mode 100644 index c2e81c5..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "159", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Living room", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java deleted file mode 100644 index f5979e2..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Maisonette apartment on ground floor", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner) o; - return Objects.equals(this.languageCode, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.languageCode) && - Objects.equals(this.text, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.text); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, text); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("text"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeo.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeo.java deleted file mode 100644 index 4dc8240..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeo.java +++ /dev/null @@ -1,316 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDa; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDe; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoEn; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoNl; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeo { - public static final String SERIALIZED_NAME_DE = "de"; - @SerializedName(SERIALIZED_NAME_DE) - private V1PropertyGetPost200ResponsePropertyGeoDe de; - - public static final String SERIALIZED_NAME_EN = "en"; - @SerializedName(SERIALIZED_NAME_EN) - private V1PropertyGetPost200ResponsePropertyGeoEn en; - - public static final String SERIALIZED_NAME_DA = "da"; - @SerializedName(SERIALIZED_NAME_DA) - private V1PropertyGetPost200ResponsePropertyGeoDa da; - - public static final String SERIALIZED_NAME_NL = "nl"; - @SerializedName(SERIALIZED_NAME_NL) - private V1PropertyGetPost200ResponsePropertyGeoNl nl; - - public V1PropertyGetPost200ResponsePropertyGeo() { - } - - public V1PropertyGetPost200ResponsePropertyGeo de(V1PropertyGetPost200ResponsePropertyGeoDe de) { - - this.de = de; - return this; - } - - /** - * Get de - * @return de - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDe getDe() { - return de; - } - - - public void setDe(V1PropertyGetPost200ResponsePropertyGeoDe de) { - this.de = de; - } - - - public V1PropertyGetPost200ResponsePropertyGeo en(V1PropertyGetPost200ResponsePropertyGeoEn en) { - - this.en = en; - return this; - } - - /** - * Get en - * @return en - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoEn getEn() { - return en; - } - - - public void setEn(V1PropertyGetPost200ResponsePropertyGeoEn en) { - this.en = en; - } - - - public V1PropertyGetPost200ResponsePropertyGeo da(V1PropertyGetPost200ResponsePropertyGeoDa da) { - - this.da = da; - return this; - } - - /** - * Get da - * @return da - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDa getDa() { - return da; - } - - - public void setDa(V1PropertyGetPost200ResponsePropertyGeoDa da) { - this.da = da; - } - - - public V1PropertyGetPost200ResponsePropertyGeo nl(V1PropertyGetPost200ResponsePropertyGeoNl nl) { - - this.nl = nl; - return this; - } - - /** - * Get nl - * @return nl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoNl getNl() { - return nl; - } - - - public void setNl(V1PropertyGetPost200ResponsePropertyGeoNl nl) { - this.nl = nl; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeo v1PropertyGetPost200ResponsePropertyGeo = (V1PropertyGetPost200ResponsePropertyGeo) o; - return Objects.equals(this.de, v1PropertyGetPost200ResponsePropertyGeo.de) && - Objects.equals(this.en, v1PropertyGetPost200ResponsePropertyGeo.en) && - Objects.equals(this.da, v1PropertyGetPost200ResponsePropertyGeo.da) && - Objects.equals(this.nl, v1PropertyGetPost200ResponsePropertyGeo.nl); - } - - @Override - public int hashCode() { - return Objects.hash(de, en, da, nl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeo {\n"); - sb.append(" de: ").append(toIndentedString(de)).append("\n"); - sb.append(" en: ").append(toIndentedString(en)).append("\n"); - sb.append(" da: ").append(toIndentedString(da)).append("\n"); - sb.append(" nl: ").append(toIndentedString(nl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("de"); - openapiFields.add("en"); - openapiFields.add("da"); - openapiFields.add("nl"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `de` - if (jsonObj.getAsJsonObject("de") != null) { - V1PropertyGetPost200ResponsePropertyGeoDe.validateJsonObject(jsonObj.getAsJsonObject("de")); - } - // validate the optional field `en` - if (jsonObj.getAsJsonObject("en") != null) { - V1PropertyGetPost200ResponsePropertyGeoEn.validateJsonObject(jsonObj.getAsJsonObject("en")); - } - // validate the optional field `da` - if (jsonObj.getAsJsonObject("da") != null) { - V1PropertyGetPost200ResponsePropertyGeoDa.validateJsonObject(jsonObj.getAsJsonObject("da")); - } - // validate the optional field `nl` - if (jsonObj.getAsJsonObject("nl") != null) { - V1PropertyGetPost200ResponsePropertyGeoNl.validateJsonObject(jsonObj.getAsJsonObject("nl")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeo - */ - public static V1PropertyGetPost200ResponsePropertyGeo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDa.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDa.java deleted file mode 100644 index 8f30097..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDa.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoDa - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoDa { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoDa() { - } - - public V1PropertyGetPost200ResponsePropertyGeoDa location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Tyskland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tyskland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "da", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sild", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sild", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoDa v1PropertyGetPost200ResponsePropertyGeoDa = (V1PropertyGetPost200ResponsePropertyGeoDa) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoDa.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoDa.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoDa.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoDa.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoDa.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoDa.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoDa.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoDa.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoDa.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoDa.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoDa.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoDa.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoDa.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoDa.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoDa.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoDa.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoDa.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoDa {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDa - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoDa.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoDa is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoDa.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoDa.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoDa` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoDa.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoDa' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoDa.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoDa value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoDa read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoDa given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoDa - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDa - */ - public static V1PropertyGetPost200ResponsePropertyGeoDa fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoDa.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoDa to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDe.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDe.java deleted file mode 100644 index bf11ed3..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDe.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoDe - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoDe { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoDe() { - } - - public V1PropertyGetPost200ResponsePropertyGeoDe location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Deutschland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Deutschland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoDe v1PropertyGetPost200ResponsePropertyGeoDe = (V1PropertyGetPost200ResponsePropertyGeoDe) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoDe.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoDe.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoDe.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoDe.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoDe.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoDe.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoDe.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoDe.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoDe.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoDe.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoDe.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoDe.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoDe.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoDe.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoDe.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoDe.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoDe.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoDe {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDe - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoDe.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoDe is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoDe.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoDe.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoDe` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoDe.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoDe' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoDe.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoDe value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoDe read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoDe given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoDe - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDe - */ - public static V1PropertyGetPost200ResponsePropertyGeoDe fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoDe.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoDe to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEn.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEn.java deleted file mode 100644 index 28cd016..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEn.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoEn - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoEn { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoEn() { - } - - public V1PropertyGetPost200ResponsePropertyGeoEn location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Germany", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Germany", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoEn v1PropertyGetPost200ResponsePropertyGeoEn = (V1PropertyGetPost200ResponsePropertyGeoEn) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoEn.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoEn.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoEn.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoEn.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoEn.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoEn.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoEn.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoEn.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoEn.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoEn.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoEn.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoEn.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoEn.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoEn.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoEn.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoEn.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoEn.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoEn {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoEn - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoEn.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoEn is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoEn.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoEn.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoEn` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoEn.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoEn' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoEn.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoEn value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoEn read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoEn given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoEn - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoEn - */ - public static V1PropertyGetPost200ResponsePropertyGeoEn fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoEn.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoEn to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNl.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNl.java deleted file mode 100644 index a74fc9b..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNl.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoNl - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoNl { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoNl() { - } - - public V1PropertyGetPost200ResponsePropertyGeoNl location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Duitsland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Duitsland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "nl", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoNl v1PropertyGetPost200ResponsePropertyGeoNl = (V1PropertyGetPost200ResponsePropertyGeoNl) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoNl.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoNl.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoNl.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoNl.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoNl.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoNl.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoNl.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoNl.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoNl.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoNl.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoNl.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoNl.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoNl.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoNl.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoNl.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoNl.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoNl.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoNl {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoNl - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoNl.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoNl is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoNl.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoNl.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoNl` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoNl.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoNl' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoNl.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoNl value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoNl read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoNl given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoNl - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoNl - */ - public static V1PropertyGetPost200ResponsePropertyGeoNl fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoNl.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoNl to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java deleted file mode 100644 index 1cac596..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java +++ /dev/null @@ -1,491 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyMediaListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyMediaListInner { - public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; - @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) - private Boolean isMainImage; - - public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; - @SerializedName(SERIALIZED_NAME_SORT_ORDER) - private BigDecimal sortOrder; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_TAG_LIST = "tagList"; - @SerializedName(SERIALIZED_NAME_TAG_LIST) - private List tagList = null; - - public static final String SERIALIZED_NAME_MODERATION_LABEL_LIST = "moderationLabelList"; - @SerializedName(SERIALIZED_NAME_MODERATION_LABEL_LIST) - private List moderationLabelList = null; - - public static final String SERIALIZED_NAME_DETECTION_LABEL_LIST = "detectionLabelList"; - @SerializedName(SERIALIZED_NAME_DETECTION_LABEL_LIST) - private List detectionLabelList = null; - - public static final String SERIALIZED_NAME_PROPERTY_AMENITY_LIST = "propertyAmenityList"; - @SerializedName(SERIALIZED_NAME_PROPERTY_AMENITY_LIST) - private List propertyAmenityList = null; - - public static final String SERIALIZED_NAME_ROOM_AMENITY_LIST = "roomAmenityList"; - @SerializedName(SERIALIZED_NAME_ROOM_AMENITY_LIST) - private List roomAmenityList = null; - - public V1PropertyGetPost200ResponsePropertyMediaListInner() { - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner isMainImage(Boolean isMainImage) { - - this.isMainImage = isMainImage; - return this; - } - - /** - * Get isMainImage - * @return isMainImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsMainImage() { - return isMainImage; - } - - - public void setIsMainImage(Boolean isMainImage) { - this.isMainImage = isMainImage; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner sortOrder(BigDecimal sortOrder) { - - this.sortOrder = sortOrder; - return this; - } - - /** - * Get sortOrder - * @return sortOrder - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1000", value = "") - - public BigDecimal getSortOrder() { - return sortOrder; - } - - - public void setSortOrder(BigDecimal sortOrder) { - this.sortOrder = sortOrder; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "obj_1280x960_54620_001.jpg", value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner tagList(List tagList) { - - this.tagList = tagList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addTagListItem(V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner tagListItem) { - if (this.tagList == null) { - this.tagList = new ArrayList<>(); - } - this.tagList.add(tagListItem); - return this; - } - - /** - * Get tagList - * @return tagList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTagList() { - return tagList; - } - - - public void setTagList(List tagList) { - this.tagList = tagList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner moderationLabelList(List moderationLabelList) { - - this.moderationLabelList = moderationLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addModerationLabelListItem(String moderationLabelListItem) { - if (this.moderationLabelList == null) { - this.moderationLabelList = new ArrayList<>(); - } - this.moderationLabelList.add(moderationLabelListItem); - return this; - } - - /** - * Get moderationLabelList - * @return moderationLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getModerationLabelList() { - return moderationLabelList; - } - - - public void setModerationLabelList(List moderationLabelList) { - this.moderationLabelList = moderationLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner detectionLabelList(List detectionLabelList) { - - this.detectionLabelList = detectionLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addDetectionLabelListItem(String detectionLabelListItem) { - if (this.detectionLabelList == null) { - this.detectionLabelList = new ArrayList<>(); - } - this.detectionLabelList.add(detectionLabelListItem); - return this; - } - - /** - * Get detectionLabelList - * @return detectionLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getDetectionLabelList() { - return detectionLabelList; - } - - - public void setDetectionLabelList(List detectionLabelList) { - this.detectionLabelList = detectionLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner propertyAmenityList(List propertyAmenityList) { - - this.propertyAmenityList = propertyAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addPropertyAmenityListItem(String propertyAmenityListItem) { - if (this.propertyAmenityList == null) { - this.propertyAmenityList = new ArrayList<>(); - } - this.propertyAmenityList.add(propertyAmenityListItem); - return this; - } - - /** - * Get propertyAmenityList - * @return propertyAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPropertyAmenityList() { - return propertyAmenityList; - } - - - public void setPropertyAmenityList(List propertyAmenityList) { - this.propertyAmenityList = propertyAmenityList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner roomAmenityList(List roomAmenityList) { - - this.roomAmenityList = roomAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addRoomAmenityListItem(String roomAmenityListItem) { - if (this.roomAmenityList == null) { - this.roomAmenityList = new ArrayList<>(); - } - this.roomAmenityList.add(roomAmenityListItem); - return this; - } - - /** - * Get roomAmenityList - * @return roomAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRoomAmenityList() { - return roomAmenityList; - } - - - public void setRoomAmenityList(List roomAmenityList) { - this.roomAmenityList = roomAmenityList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyMediaListInner v1PropertyGetPost200ResponsePropertyMediaListInner = (V1PropertyGetPost200ResponsePropertyMediaListInner) o; - return Objects.equals(this.isMainImage, v1PropertyGetPost200ResponsePropertyMediaListInner.isMainImage) && - Objects.equals(this.sortOrder, v1PropertyGetPost200ResponsePropertyMediaListInner.sortOrder) && - Objects.equals(this.url, v1PropertyGetPost200ResponsePropertyMediaListInner.url) && - Objects.equals(this.tagList, v1PropertyGetPost200ResponsePropertyMediaListInner.tagList) && - Objects.equals(this.moderationLabelList, v1PropertyGetPost200ResponsePropertyMediaListInner.moderationLabelList) && - Objects.equals(this.detectionLabelList, v1PropertyGetPost200ResponsePropertyMediaListInner.detectionLabelList) && - Objects.equals(this.propertyAmenityList, v1PropertyGetPost200ResponsePropertyMediaListInner.propertyAmenityList) && - Objects.equals(this.roomAmenityList, v1PropertyGetPost200ResponsePropertyMediaListInner.roomAmenityList); - } - - @Override - public int hashCode() { - return Objects.hash(isMainImage, sortOrder, url, tagList, moderationLabelList, detectionLabelList, propertyAmenityList, roomAmenityList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyMediaListInner {\n"); - sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); - sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" tagList: ").append(toIndentedString(tagList)).append("\n"); - sb.append(" moderationLabelList: ").append(toIndentedString(moderationLabelList)).append("\n"); - sb.append(" detectionLabelList: ").append(toIndentedString(detectionLabelList)).append("\n"); - sb.append(" propertyAmenityList: ").append(toIndentedString(propertyAmenityList)).append("\n"); - sb.append(" roomAmenityList: ").append(toIndentedString(roomAmenityList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("isMainImage"); - openapiFields.add("sortOrder"); - openapiFields.add("url"); - openapiFields.add("tagList"); - openapiFields.add("moderationLabelList"); - openapiFields.add("detectionLabelList"); - openapiFields.add("propertyAmenityList"); - openapiFields.add("roomAmenityList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyMediaListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyMediaListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyMediaListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyMediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("url") != null && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); - } - JsonArray jsonArraytagList = jsonObj.getAsJsonArray("tagList"); - if (jsonArraytagList != null) { - // ensure the json data is an array - if (!jsonObj.get("tagList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `tagList` to be an array in the JSON string but got `%s`", jsonObj.get("tagList").toString())); - } - - // validate the optional field `tagList` (array) - for (int i = 0; i < jsonArraytagList.size(); i++) { - V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.validateJsonObject(jsonArraytagList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("moderationLabelList") != null && !jsonObj.get("moderationLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `moderationLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("moderationLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("detectionLabelList") != null && !jsonObj.get("detectionLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `detectionLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("detectionLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("propertyAmenityList") != null && !jsonObj.get("propertyAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("propertyAmenityList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("roomAmenityList") != null && !jsonObj.get("roomAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `roomAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("roomAmenityList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyMediaListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyMediaListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyMediaListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyMediaListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyMediaListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyMediaListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInner - */ - public static V1PropertyGetPost200ResponsePropertyMediaListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyMediaListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyMediaListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java deleted file mode 100644 index 16ad01c..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner() { - } - - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "3", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Property building", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner v1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner = (V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ - public static V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java deleted file mode 100644 index 33e4d96..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java +++ /dev/null @@ -1,565 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPolicyListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPolicyListInner { - public static final String SERIALIZED_NAME_CHECK_IN_TIME = "checkInTime"; - @SerializedName(SERIALIZED_NAME_CHECK_IN_TIME) - private BigDecimal checkInTime; - - public static final String SERIALIZED_NAME_CHECK_OUT_TIME = "checkOutTime"; - @SerializedName(SERIALIZED_NAME_CHECK_OUT_TIME) - private BigDecimal checkOutTime; - - public static final String SERIALIZED_NAME_TOTAL_GUEST_COUNT = "totalGuestCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_GUEST_COUNT) - private BigDecimal totalGuestCount; - - public static final String SERIALIZED_NAME_CANCELLATION_POLICY_LIST = "cancellationPolicyList"; - @SerializedName(SERIALIZED_NAME_CANCELLATION_POLICY_LIST) - private List cancellationPolicyList = null; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MIN = "advanceBookingMin"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MIN) - private BigDecimal advanceBookingMin; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MAX = "advanceBookingMax"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MAX) - private BigDecimal advanceBookingMax; - - public static final String SERIALIZED_NAME_PETS_POLICY = "petsPolicy"; - @SerializedName(SERIALIZED_NAME_PETS_POLICY) - private V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy; - - public static final String SERIALIZED_NAME_PREPAYMENT_POLICY = "prepaymentPolicy"; - @SerializedName(SERIALIZED_NAME_PREPAYMENT_POLICY) - private String prepaymentPolicy; - - public static final String SERIALIZED_NAME_GUARANTEE_POLICY = "guaranteePolicy"; - @SerializedName(SERIALIZED_NAME_GUARANTEE_POLICY) - private String guaranteePolicy; - - public static final String SERIALIZED_NAME_TAX_POLICY_LIST = "taxPolicyList"; - @SerializedName(SERIALIZED_NAME_TAX_POLICY_LIST) - private List taxPolicyList = null; - - public static final String SERIALIZED_NAME_FEE_POLICY_LIST = "feePolicyList"; - @SerializedName(SERIALIZED_NAME_FEE_POLICY_LIST) - private List feePolicyList = null; - - public V1PropertyGetPost200ResponsePropertyPolicyListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner checkInTime(BigDecimal checkInTime) { - - this.checkInTime = checkInTime; - return this; - } - - /** - * Get checkInTime - * @return checkInTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54000000", value = "") - - public BigDecimal getCheckInTime() { - return checkInTime; - } - - - public void setCheckInTime(BigDecimal checkInTime) { - this.checkInTime = checkInTime; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner checkOutTime(BigDecimal checkOutTime) { - - this.checkOutTime = checkOutTime; - return this; - } - - /** - * Get checkOutTime - * @return checkOutTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "43200000", value = "") - - public BigDecimal getCheckOutTime() { - return checkOutTime; - } - - - public void setCheckOutTime(BigDecimal checkOutTime) { - this.checkOutTime = checkOutTime; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner totalGuestCount(BigDecimal totalGuestCount) { - - this.totalGuestCount = totalGuestCount; - return this; - } - - /** - * Get totalGuestCount - * @return totalGuestCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "10", value = "") - - public BigDecimal getTotalGuestCount() { - return totalGuestCount; - } - - - public void setTotalGuestCount(BigDecimal totalGuestCount) { - this.totalGuestCount = totalGuestCount; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner cancellationPolicyList(List cancellationPolicyList) { - - this.cancellationPolicyList = cancellationPolicyList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner addCancellationPolicyListItem(String cancellationPolicyListItem) { - if (this.cancellationPolicyList == null) { - this.cancellationPolicyList = new ArrayList<>(); - } - this.cancellationPolicyList.add(cancellationPolicyListItem); - return this; - } - - /** - * Get cancellationPolicyList - * @return cancellationPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCancellationPolicyList() { - return cancellationPolicyList; - } - - - public void setCancellationPolicyList(List cancellationPolicyList) { - this.cancellationPolicyList = cancellationPolicyList; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner advanceBookingMin(BigDecimal advanceBookingMin) { - - this.advanceBookingMin = advanceBookingMin; - return this; - } - - /** - * Get advanceBookingMin - * @return advanceBookingMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "34560000", value = "") - - public BigDecimal getAdvanceBookingMin() { - return advanceBookingMin; - } - - - public void setAdvanceBookingMin(BigDecimal advanceBookingMin) { - this.advanceBookingMin = advanceBookingMin; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner advanceBookingMax(BigDecimal advanceBookingMax) { - - this.advanceBookingMax = advanceBookingMax; - return this; - } - - /** - * Get advanceBookingMax - * @return advanceBookingMax - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getAdvanceBookingMax() { - return advanceBookingMax; - } - - - public void setAdvanceBookingMax(BigDecimal advanceBookingMax) { - this.advanceBookingMax = advanceBookingMax; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner petsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - - this.petsPolicy = petsPolicy; - return this; - } - - /** - * Get petsPolicy - * @return petsPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy getPetsPolicy() { - return petsPolicy; - } - - - public void setPetsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - this.petsPolicy = petsPolicy; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner prepaymentPolicy(String prepaymentPolicy) { - - this.prepaymentPolicy = prepaymentPolicy; - return this; - } - - /** - * Get prepaymentPolicy - * @return prepaymentPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "after_reservation_is_made", value = "") - - public String getPrepaymentPolicy() { - return prepaymentPolicy; - } - - - public void setPrepaymentPolicy(String prepaymentPolicy) { - this.prepaymentPolicy = prepaymentPolicy; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner guaranteePolicy(String guaranteePolicy) { - - this.guaranteePolicy = guaranteePolicy; - return this; - } - - /** - * Get guaranteePolicy - * @return guaranteePolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getGuaranteePolicy() { - return guaranteePolicy; - } - - - public void setGuaranteePolicy(String guaranteePolicy) { - this.guaranteePolicy = guaranteePolicy; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner taxPolicyList(List taxPolicyList) { - - this.taxPolicyList = taxPolicyList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner addTaxPolicyListItem(V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner taxPolicyListItem) { - if (this.taxPolicyList == null) { - this.taxPolicyList = new ArrayList<>(); - } - this.taxPolicyList.add(taxPolicyListItem); - return this; - } - - /** - * Get taxPolicyList - * @return taxPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTaxPolicyList() { - return taxPolicyList; - } - - - public void setTaxPolicyList(List taxPolicyList) { - this.taxPolicyList = taxPolicyList; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner feePolicyList(List feePolicyList) { - - this.feePolicyList = feePolicyList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner addFeePolicyListItem(String feePolicyListItem) { - if (this.feePolicyList == null) { - this.feePolicyList = new ArrayList<>(); - } - this.feePolicyList.add(feePolicyListItem); - return this; - } - - /** - * Get feePolicyList - * @return feePolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getFeePolicyList() { - return feePolicyList; - } - - - public void setFeePolicyList(List feePolicyList) { - this.feePolicyList = feePolicyList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPolicyListInner v1PropertyGetPost200ResponsePropertyPolicyListInner = (V1PropertyGetPost200ResponsePropertyPolicyListInner) o; - return Objects.equals(this.checkInTime, v1PropertyGetPost200ResponsePropertyPolicyListInner.checkInTime) && - Objects.equals(this.checkOutTime, v1PropertyGetPost200ResponsePropertyPolicyListInner.checkOutTime) && - Objects.equals(this.totalGuestCount, v1PropertyGetPost200ResponsePropertyPolicyListInner.totalGuestCount) && - Objects.equals(this.cancellationPolicyList, v1PropertyGetPost200ResponsePropertyPolicyListInner.cancellationPolicyList) && - Objects.equals(this.advanceBookingMin, v1PropertyGetPost200ResponsePropertyPolicyListInner.advanceBookingMin) && - Objects.equals(this.advanceBookingMax, v1PropertyGetPost200ResponsePropertyPolicyListInner.advanceBookingMax) && - Objects.equals(this.petsPolicy, v1PropertyGetPost200ResponsePropertyPolicyListInner.petsPolicy) && - Objects.equals(this.prepaymentPolicy, v1PropertyGetPost200ResponsePropertyPolicyListInner.prepaymentPolicy) && - Objects.equals(this.guaranteePolicy, v1PropertyGetPost200ResponsePropertyPolicyListInner.guaranteePolicy) && - Objects.equals(this.taxPolicyList, v1PropertyGetPost200ResponsePropertyPolicyListInner.taxPolicyList) && - Objects.equals(this.feePolicyList, v1PropertyGetPost200ResponsePropertyPolicyListInner.feePolicyList); - } - - @Override - public int hashCode() { - return Objects.hash(checkInTime, checkOutTime, totalGuestCount, cancellationPolicyList, advanceBookingMin, advanceBookingMax, petsPolicy, prepaymentPolicy, guaranteePolicy, taxPolicyList, feePolicyList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPolicyListInner {\n"); - sb.append(" checkInTime: ").append(toIndentedString(checkInTime)).append("\n"); - sb.append(" checkOutTime: ").append(toIndentedString(checkOutTime)).append("\n"); - sb.append(" totalGuestCount: ").append(toIndentedString(totalGuestCount)).append("\n"); - sb.append(" cancellationPolicyList: ").append(toIndentedString(cancellationPolicyList)).append("\n"); - sb.append(" advanceBookingMin: ").append(toIndentedString(advanceBookingMin)).append("\n"); - sb.append(" advanceBookingMax: ").append(toIndentedString(advanceBookingMax)).append("\n"); - sb.append(" petsPolicy: ").append(toIndentedString(petsPolicy)).append("\n"); - sb.append(" prepaymentPolicy: ").append(toIndentedString(prepaymentPolicy)).append("\n"); - sb.append(" guaranteePolicy: ").append(toIndentedString(guaranteePolicy)).append("\n"); - sb.append(" taxPolicyList: ").append(toIndentedString(taxPolicyList)).append("\n"); - sb.append(" feePolicyList: ").append(toIndentedString(feePolicyList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("checkInTime"); - openapiFields.add("checkOutTime"); - openapiFields.add("totalGuestCount"); - openapiFields.add("cancellationPolicyList"); - openapiFields.add("advanceBookingMin"); - openapiFields.add("advanceBookingMax"); - openapiFields.add("petsPolicy"); - openapiFields.add("prepaymentPolicy"); - openapiFields.add("guaranteePolicy"); - openapiFields.add("taxPolicyList"); - openapiFields.add("feePolicyList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPolicyListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPolicyListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPolicyListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // ensure the json data is an array - if (jsonObj.get("cancellationPolicyList") != null && !jsonObj.get("cancellationPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `cancellationPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("cancellationPolicyList").toString())); - } - // validate the optional field `petsPolicy` - if (jsonObj.getAsJsonObject("petsPolicy") != null) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.validateJsonObject(jsonObj.getAsJsonObject("petsPolicy")); - } - if (jsonObj.get("prepaymentPolicy") != null && !jsonObj.get("prepaymentPolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `prepaymentPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prepaymentPolicy").toString())); - } - if (jsonObj.get("guaranteePolicy") != null && !jsonObj.get("guaranteePolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `guaranteePolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("guaranteePolicy").toString())); - } - JsonArray jsonArraytaxPolicyList = jsonObj.getAsJsonArray("taxPolicyList"); - if (jsonArraytaxPolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("taxPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `taxPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("taxPolicyList").toString())); - } - - // validate the optional field `taxPolicyList` (array) - for (int i = 0; i < jsonArraytaxPolicyList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.validateJsonObject(jsonArraytaxPolicyList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("feePolicyList") != null && !jsonObj.get("feePolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `feePolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("feePolicyList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPolicyListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPolicyListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPolicyListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPolicyListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPolicyListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPolicyListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInner - */ - public static V1PropertyGetPost200ResponsePropertyPolicyListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPolicyListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPolicyListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java deleted file mode 100644 index e5f5e8c..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java +++ /dev/null @@ -1,377 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner { - public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; - @SerializedName(SERIALIZED_NAME_TYPE_CODE) - private BigDecimal typeCode; - - public static final String SERIALIZED_NAME_PERCENT = "percent"; - @SerializedName(SERIALIZED_NAME_PERCENT) - private BigDecimal percent; - - public static final String SERIALIZED_NAME_CHARGE_TYPE = "chargeType"; - @SerializedName(SERIALIZED_NAME_CHARGE_TYPE) - private String chargeType; - - public static final String SERIALIZED_NAME_CHARGE_FREQUENCY_CODE = "chargeFrequencyCode"; - @SerializedName(SERIALIZED_NAME_CHARGE_FREQUENCY_CODE) - private BigDecimal chargeFrequencyCode; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_CONDITION_LIST = "conditionList"; - @SerializedName(SERIALIZED_NAME_CONDITION_LIST) - private List conditionList = null; - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner typeCode(BigDecimal typeCode) { - - this.typeCode = typeCode; - return this; - } - - /** - * Get typeCode - * @return typeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "36", value = "") - - public BigDecimal getTypeCode() { - return typeCode; - } - - - public void setTypeCode(BigDecimal typeCode) { - this.typeCode = typeCode; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner percent(BigDecimal percent) { - - this.percent = percent; - return this; - } - - /** - * Get percent - * @return percent - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "19", value = "") - - public BigDecimal getPercent() { - return percent; - } - - - public void setPercent(BigDecimal percent) { - this.percent = percent; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner chargeType(String chargeType) { - - this.chargeType = chargeType; - return this; - } - - /** - * Get chargeType - * @return chargeType - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "included", value = "") - - public String getChargeType() { - return chargeType; - } - - - public void setChargeType(String chargeType) { - this.chargeType = chargeType; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner chargeFrequencyCode(BigDecimal chargeFrequencyCode) { - - this.chargeFrequencyCode = chargeFrequencyCode; - return this; - } - - /** - * Get chargeFrequencyCode - * @return chargeFrequencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "12", value = "") - - public BigDecimal getChargeFrequencyCode() { - return chargeFrequencyCode; - } - - - public void setChargeFrequencyCode(BigDecimal chargeFrequencyCode) { - this.chargeFrequencyCode = chargeFrequencyCode; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner conditionList(List conditionList) { - - this.conditionList = conditionList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner addConditionListItem(String conditionListItem) { - if (this.conditionList == null) { - this.conditionList = new ArrayList<>(); - } - this.conditionList.add(conditionListItem); - return this; - } - - /** - * Get conditionList - * @return conditionList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getConditionList() { - return conditionList; - } - - - public void setConditionList(List conditionList) { - this.conditionList = conditionList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner = (V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner) o; - return Objects.equals(this.typeCode, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.typeCode) && - Objects.equals(this.percent, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.percent) && - Objects.equals(this.chargeType, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.chargeType) && - Objects.equals(this.chargeFrequencyCode, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.chargeFrequencyCode) && - Objects.equals(this.currencyCode, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.currencyCode) && - Objects.equals(this.conditionList, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.conditionList); - } - - @Override - public int hashCode() { - return Objects.hash(typeCode, percent, chargeType, chargeFrequencyCode, currencyCode, conditionList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner {\n"); - sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); - sb.append(" percent: ").append(toIndentedString(percent)).append("\n"); - sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); - sb.append(" chargeFrequencyCode: ").append(toIndentedString(chargeFrequencyCode)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" conditionList: ").append(toIndentedString(conditionList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("typeCode"); - openapiFields.add("percent"); - openapiFields.add("chargeType"); - openapiFields.add("chargeFrequencyCode"); - openapiFields.add("currencyCode"); - openapiFields.add("conditionList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("chargeType") != null && !jsonObj.get("chargeType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `chargeType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeType").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - // ensure the json data is an array - if (jsonObj.get("conditionList") != null && !jsonObj.get("conditionList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `conditionList` to be an array in the JSON string but got `%s`", jsonObj.get("conditionList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ - public static V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java deleted file mode 100644 index 15bc9db..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java +++ /dev/null @@ -1,439 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoLocation; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfo { - public static final String SERIALIZED_NAME_UNIT_COUNT = "unitCount"; - @SerializedName(SERIALIZED_NAME_UNIT_COUNT) - private BigDecimal unitCount; - - public static final String SERIALIZED_NAME_MESSAGE_LIST = "messageList"; - @SerializedName(SERIALIZED_NAME_MESSAGE_LIST) - private List messageList = null; - - public static final String SERIALIZED_NAME_CATEGORY_LIST = "categoryList"; - @SerializedName(SERIALIZED_NAME_CATEGORY_LIST) - private List categoryList = null; - - public static final String SERIALIZED_NAME_LANGUAGE_LIST = "languageList"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_LIST) - private List languageList = null; - - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyPropertyInfoLocation location; - - public static final String SERIALIZED_NAME_ACCEPTED_PAYMENT_LIST = "acceptedPaymentList"; - @SerializedName(SERIALIZED_NAME_ACCEPTED_PAYMENT_LIST) - private List acceptedPaymentList = null; - - public V1PropertyGetPost200ResponsePropertyPropertyInfo() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo unitCount(BigDecimal unitCount) { - - this.unitCount = unitCount; - return this; - } - - /** - * Get unitCount - * @return unitCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public BigDecimal getUnitCount() { - return unitCount; - } - - - public void setUnitCount(BigDecimal unitCount) { - this.unitCount = unitCount; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo messageList(List messageList) { - - this.messageList = messageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addMessageListItem(V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner messageListItem) { - if (this.messageList == null) { - this.messageList = new ArrayList<>(); - } - this.messageList.add(messageListItem); - return this; - } - - /** - * Get messageList - * @return messageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMessageList() { - return messageList; - } - - - public void setMessageList(List messageList) { - this.messageList = messageList; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo categoryList(List categoryList) { - - this.categoryList = categoryList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addCategoryListItem(V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner categoryListItem) { - if (this.categoryList == null) { - this.categoryList = new ArrayList<>(); - } - this.categoryList.add(categoryListItem); - return this; - } - - /** - * Get categoryList - * @return categoryList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCategoryList() { - return categoryList; - } - - - public void setCategoryList(List categoryList) { - this.categoryList = categoryList; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo languageList(List languageList) { - - this.languageList = languageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addLanguageListItem(String languageListItem) { - if (this.languageList == null) { - this.languageList = new ArrayList<>(); - } - this.languageList.add(languageListItem); - return this; - } - - /** - * Get languageList - * @return languageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getLanguageList() { - return languageList; - } - - - public void setLanguageList(List languageList) { - this.languageList = languageList; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo location(V1PropertyGetPost200ResponsePropertyPropertyInfoLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyPropertyInfoLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo acceptedPaymentList(List acceptedPaymentList) { - - this.acceptedPaymentList = acceptedPaymentList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addAcceptedPaymentListItem(V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner acceptedPaymentListItem) { - if (this.acceptedPaymentList == null) { - this.acceptedPaymentList = new ArrayList<>(); - } - this.acceptedPaymentList.add(acceptedPaymentListItem); - return this; - } - - /** - * Get acceptedPaymentList - * @return acceptedPaymentList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAcceptedPaymentList() { - return acceptedPaymentList; - } - - - public void setAcceptedPaymentList(List acceptedPaymentList) { - this.acceptedPaymentList = acceptedPaymentList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfo v1PropertyGetPost200ResponsePropertyPropertyInfo = (V1PropertyGetPost200ResponsePropertyPropertyInfo) o; - return Objects.equals(this.unitCount, v1PropertyGetPost200ResponsePropertyPropertyInfo.unitCount) && - Objects.equals(this.messageList, v1PropertyGetPost200ResponsePropertyPropertyInfo.messageList) && - Objects.equals(this.categoryList, v1PropertyGetPost200ResponsePropertyPropertyInfo.categoryList) && - Objects.equals(this.languageList, v1PropertyGetPost200ResponsePropertyPropertyInfo.languageList) && - Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyPropertyInfo.location) && - Objects.equals(this.acceptedPaymentList, v1PropertyGetPost200ResponsePropertyPropertyInfo.acceptedPaymentList); - } - - @Override - public int hashCode() { - return Objects.hash(unitCount, messageList, categoryList, languageList, location, acceptedPaymentList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfo {\n"); - sb.append(" unitCount: ").append(toIndentedString(unitCount)).append("\n"); - sb.append(" messageList: ").append(toIndentedString(messageList)).append("\n"); - sb.append(" categoryList: ").append(toIndentedString(categoryList)).append("\n"); - sb.append(" languageList: ").append(toIndentedString(languageList)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" acceptedPaymentList: ").append(toIndentedString(acceptedPaymentList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("unitCount"); - openapiFields.add("messageList"); - openapiFields.add("categoryList"); - openapiFields.add("languageList"); - openapiFields.add("location"); - openapiFields.add("acceptedPaymentList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - JsonArray jsonArraymessageList = jsonObj.getAsJsonArray("messageList"); - if (jsonArraymessageList != null) { - // ensure the json data is an array - if (!jsonObj.get("messageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `messageList` to be an array in the JSON string but got `%s`", jsonObj.get("messageList").toString())); - } - - // validate the optional field `messageList` (array) - for (int i = 0; i < jsonArraymessageList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.validateJsonObject(jsonArraymessageList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArraycategoryList = jsonObj.getAsJsonArray("categoryList"); - if (jsonArraycategoryList != null) { - // ensure the json data is an array - if (!jsonObj.get("categoryList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `categoryList` to be an array in the JSON string but got `%s`", jsonObj.get("categoryList").toString())); - } - - // validate the optional field `categoryList` (array) - for (int i = 0; i < jsonArraycategoryList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.validateJsonObject(jsonArraycategoryList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("languageList") != null && !jsonObj.get("languageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `languageList` to be an array in the JSON string but got `%s`", jsonObj.get("languageList").toString())); - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - JsonArray jsonArrayacceptedPaymentList = jsonObj.getAsJsonArray("acceptedPaymentList"); - if (jsonArrayacceptedPaymentList != null) { - // ensure the json data is an array - if (!jsonObj.get("acceptedPaymentList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `acceptedPaymentList` to be an array in the JSON string but got `%s`", jsonObj.get("acceptedPaymentList").toString())); - } - - // validate the optional field `acceptedPaymentList` (array) - for (int i = 0; i < jsonArrayacceptedPaymentList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.validateJsonObject(jsonArrayacceptedPaymentList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfo - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java deleted file mode 100644 index 3e0a98c..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "eccard", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EC-card", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "debitcard", value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner = (V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.name) && - Objects.equals(this.type, v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.type); - } - - @Override - public int hashCode() { - return Objects.hash(code, name, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - openapiFields.add("type"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java deleted file mode 100644 index 89336b1..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java +++ /dev/null @@ -1,270 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner { - public static final String SERIALIZED_NAME_EXISTS = "exists"; - @SerializedName(SERIALIZED_NAME_EXISTS) - private Boolean exists; - - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner exists(Boolean exists) { - - this.exists = exists; - return this; - } - - /** - * Get exists - * @return exists - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getExists() { - return exists; - } - - - public void setExists(Boolean exists) { - this.exists = exists; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "34", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Vacation home", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner = (V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner) o; - return Objects.equals(this.exists, v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.exists) && - Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(exists, code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner {\n"); - sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("exists"); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java deleted file mode 100644 index d5e5621..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoLocation { - public static final String SERIALIZED_NAME_LATITUDE = "latitude"; - @SerializedName(SERIALIZED_NAME_LATITUDE) - private BigDecimal latitude; - - public static final String SERIALIZED_NAME_LONGITUDE = "longitude"; - @SerializedName(SERIALIZED_NAME_LONGITUDE) - private BigDecimal longitude; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation latitude(BigDecimal latitude) { - - this.latitude = latitude; - return this; - } - - /** - * Get latitude - * @return latitude - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54.91574091463751", value = "") - - public BigDecimal getLatitude() { - return latitude; - } - - - public void setLatitude(BigDecimal latitude) { - this.latitude = latitude; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation longitude(BigDecimal longitude) { - - this.longitude = longitude; - return this; - } - - /** - * Get longitude - * @return longitude - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "8.30486146909412", value = "") - - public BigDecimal getLongitude() { - return longitude; - } - - - public void setLongitude(BigDecimal longitude) { - this.longitude = longitude; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoLocation v1PropertyGetPost200ResponsePropertyPropertyInfoLocation = (V1PropertyGetPost200ResponsePropertyPropertyInfoLocation) o; - return Objects.equals(this.latitude, v1PropertyGetPost200ResponsePropertyPropertyInfoLocation.latitude) && - Objects.equals(this.longitude, v1PropertyGetPost200ResponsePropertyPropertyInfoLocation.longitude); - } - - @Override - public int hashCode() { - return Objects.hash(latitude, longitude); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoLocation {\n"); - sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); - sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("latitude"); - openapiFields.add("longitude"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoLocation is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoLocation` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoLocation' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoLocation value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoLocation given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoLocation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoLocation to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java deleted file mode 100644 index 7c10074..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "More sea does not work!", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner v1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner = (V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner) o; - return Objects.equals(this.languageCode, v1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.languageCode) && - Objects.equals(this.text, v1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.text); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, text); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("text"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java deleted file mode 100644 index 949eed4..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java +++ /dev/null @@ -1,533 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyServiceListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyServiceListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_PRICE = "price"; - @SerializedName(SERIALIZED_NAME_PRICE) - private BigDecimal price; - - public static final String SERIALIZED_NAME_EXISTS = "exists"; - @SerializedName(SERIALIZED_NAME_EXISTS) - private Boolean exists; - - public static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private Boolean included; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_FEATURE_LIST = "featureList"; - @SerializedName(SERIALIZED_NAME_FEATURE_LIST) - private List featureList = null; - - public static final String SERIALIZED_NAME_TYPE_LIST = "typeList"; - @SerializedName(SERIALIZED_NAME_TYPE_LIST) - private List typeList = null; - - public static final String SERIALIZED_NAME_ITEM_LIST = "itemList"; - @SerializedName(SERIALIZED_NAME_ITEM_LIST) - private List itemList = null; - - public static final String SERIALIZED_NAME_OPERATION_TIME_LIST = "operationTimeList"; - @SerializedName(SERIALIZED_NAME_OPERATION_TIME_LIST) - private List operationTimeList = null; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyServiceListInner() { - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "5015", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner price(BigDecimal price) { - - this.price = price; - return this; - } - - /** - * Get price - * @return price - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getPrice() { - return price; - } - - - public void setPrice(BigDecimal price) { - this.price = price; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner exists(Boolean exists) { - - this.exists = exists; - return this; - } - - /** - * Get exists - * @return exists - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getExists() { - return exists; - } - - - public void setExists(Boolean exists) { - this.exists = exists; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner included(Boolean included) { - - this.included = included; - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIncluded() { - return included; - } - - - public void setIncluded(Boolean included) { - this.included = included; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner featureList(List featureList) { - - this.featureList = featureList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addFeatureListItem(String featureListItem) { - if (this.featureList == null) { - this.featureList = new ArrayList<>(); - } - this.featureList.add(featureListItem); - return this; - } - - /** - * Get featureList - * @return featureList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getFeatureList() { - return featureList; - } - - - public void setFeatureList(List featureList) { - this.featureList = featureList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner typeList(List typeList) { - - this.typeList = typeList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addTypeListItem(String typeListItem) { - if (this.typeList == null) { - this.typeList = new ArrayList<>(); - } - this.typeList.add(typeListItem); - return this; - } - - /** - * Get typeList - * @return typeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTypeList() { - return typeList; - } - - - public void setTypeList(List typeList) { - this.typeList = typeList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner itemList(List itemList) { - - this.itemList = itemList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addItemListItem(String itemListItem) { - if (this.itemList == null) { - this.itemList = new ArrayList<>(); - } - this.itemList.add(itemListItem); - return this; - } - - /** - * Get itemList - * @return itemList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getItemList() { - return itemList; - } - - - public void setItemList(List itemList) { - this.itemList = itemList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner operationTimeList(List operationTimeList) { - - this.operationTimeList = operationTimeList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addOperationTimeListItem(String operationTimeListItem) { - if (this.operationTimeList == null) { - this.operationTimeList = new ArrayList<>(); - } - this.operationTimeList.add(operationTimeListItem); - return this; - } - - /** - * Get operationTimeList - * @return operationTimeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getOperationTimeList() { - return operationTimeList; - } - - - public void setOperationTimeList(List operationTimeList) { - this.operationTimeList = operationTimeList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Beach", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyServiceListInner v1PropertyGetPost200ResponsePropertyServiceListInner = (V1PropertyGetPost200ResponsePropertyServiceListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyServiceListInner.code) && - Objects.equals(this.price, v1PropertyGetPost200ResponsePropertyServiceListInner.price) && - Objects.equals(this.exists, v1PropertyGetPost200ResponsePropertyServiceListInner.exists) && - Objects.equals(this.included, v1PropertyGetPost200ResponsePropertyServiceListInner.included) && - Objects.equals(this.currencyCode, v1PropertyGetPost200ResponsePropertyServiceListInner.currencyCode) && - Objects.equals(this.featureList, v1PropertyGetPost200ResponsePropertyServiceListInner.featureList) && - Objects.equals(this.typeList, v1PropertyGetPost200ResponsePropertyServiceListInner.typeList) && - Objects.equals(this.itemList, v1PropertyGetPost200ResponsePropertyServiceListInner.itemList) && - Objects.equals(this.operationTimeList, v1PropertyGetPost200ResponsePropertyServiceListInner.operationTimeList) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyServiceListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, price, exists, included, currencyCode, featureList, typeList, itemList, operationTimeList, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyServiceListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" price: ").append(toIndentedString(price)).append("\n"); - sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" featureList: ").append(toIndentedString(featureList)).append("\n"); - sb.append(" typeList: ").append(toIndentedString(typeList)).append("\n"); - sb.append(" itemList: ").append(toIndentedString(itemList)).append("\n"); - sb.append(" operationTimeList: ").append(toIndentedString(operationTimeList)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("price"); - openapiFields.add("exists"); - openapiFields.add("included"); - openapiFields.add("currencyCode"); - openapiFields.add("featureList"); - openapiFields.add("typeList"); - openapiFields.add("itemList"); - openapiFields.add("operationTimeList"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyServiceListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyServiceListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyServiceListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyServiceListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyServiceListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyServiceListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - // ensure the json data is an array - if (jsonObj.get("featureList") != null && !jsonObj.get("featureList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `featureList` to be an array in the JSON string but got `%s`", jsonObj.get("featureList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("typeList") != null && !jsonObj.get("typeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `typeList` to be an array in the JSON string but got `%s`", jsonObj.get("typeList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("itemList") != null && !jsonObj.get("itemList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `itemList` to be an array in the JSON string but got `%s`", jsonObj.get("itemList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("operationTimeList") != null && !jsonObj.get("operationTimeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `operationTimeList` to be an array in the JSON string but got `%s`", jsonObj.get("operationTimeList").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyServiceListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyServiceListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyServiceListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyServiceListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyServiceListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyServiceListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyServiceListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyServiceListInner - */ - public static V1PropertyGetPost200ResponsePropertyServiceListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyServiceListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyServiceListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransaction.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransaction.java deleted file mode 100644 index 75a35dc..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransaction.java +++ /dev/null @@ -1,304 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyTransactionExternalListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyTransaction - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyTransaction { - public static final String SERIALIZED_NAME_METHOD = "method"; - @SerializedName(SERIALIZED_NAME_METHOD) - private String method; - - public static final String SERIALIZED_NAME_CONTACT_TYPE_LIST = "contactTypeList"; - @SerializedName(SERIALIZED_NAME_CONTACT_TYPE_LIST) - private List contactTypeList = null; - - public static final String SERIALIZED_NAME_EXTERNAL_LIST = "externalList"; - @SerializedName(SERIALIZED_NAME_EXTERNAL_LIST) - private List externalList = null; - - public V1PropertyGetPost200ResponsePropertyTransaction() { - } - - public V1PropertyGetPost200ResponsePropertyTransaction method(String method) { - - this.method = method; - return this; - } - - /** - * Get method - * @return method - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "MANDATORY_BOOKING", value = "") - - public String getMethod() { - return method; - } - - - public void setMethod(String method) { - this.method = method; - } - - - public V1PropertyGetPost200ResponsePropertyTransaction contactTypeList(List contactTypeList) { - - this.contactTypeList = contactTypeList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyTransaction addContactTypeListItem(String contactTypeListItem) { - if (this.contactTypeList == null) { - this.contactTypeList = new ArrayList<>(); - } - this.contactTypeList.add(contactTypeListItem); - return this; - } - - /** - * Get contactTypeList - * @return contactTypeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getContactTypeList() { - return contactTypeList; - } - - - public void setContactTypeList(List contactTypeList) { - this.contactTypeList = contactTypeList; - } - - - public V1PropertyGetPost200ResponsePropertyTransaction externalList(List externalList) { - - this.externalList = externalList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyTransaction addExternalListItem(V1PropertyGetPost200ResponsePropertyTransactionExternalListInner externalListItem) { - if (this.externalList == null) { - this.externalList = new ArrayList<>(); - } - this.externalList.add(externalListItem); - return this; - } - - /** - * Get externalList - * @return externalList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getExternalList() { - return externalList; - } - - - public void setExternalList(List externalList) { - this.externalList = externalList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyTransaction v1PropertyGetPost200ResponsePropertyTransaction = (V1PropertyGetPost200ResponsePropertyTransaction) o; - return Objects.equals(this.method, v1PropertyGetPost200ResponsePropertyTransaction.method) && - Objects.equals(this.contactTypeList, v1PropertyGetPost200ResponsePropertyTransaction.contactTypeList) && - Objects.equals(this.externalList, v1PropertyGetPost200ResponsePropertyTransaction.externalList); - } - - @Override - public int hashCode() { - return Objects.hash(method, contactTypeList, externalList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyTransaction {\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); - sb.append(" contactTypeList: ").append(toIndentedString(contactTypeList)).append("\n"); - sb.append(" externalList: ").append(toIndentedString(externalList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("method"); - openapiFields.add("contactTypeList"); - openapiFields.add("externalList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyTransaction - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyTransaction.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyTransaction is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyTransaction.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyTransaction.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyTransaction` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("method") != null && !jsonObj.get("method").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `method` to be a primitive type in the JSON string but got `%s`", jsonObj.get("method").toString())); - } - // ensure the json data is an array - if (jsonObj.get("contactTypeList") != null && !jsonObj.get("contactTypeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `contactTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("contactTypeList").toString())); - } - JsonArray jsonArrayexternalList = jsonObj.getAsJsonArray("externalList"); - if (jsonArrayexternalList != null) { - // ensure the json data is an array - if (!jsonObj.get("externalList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `externalList` to be an array in the JSON string but got `%s`", jsonObj.get("externalList").toString())); - } - - // validate the optional field `externalList` (array) - for (int i = 0; i < jsonArrayexternalList.size(); i++) { - V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.validateJsonObject(jsonArrayexternalList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyTransaction.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyTransaction' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyTransaction.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyTransaction value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyTransaction read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyTransaction given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyTransaction - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyTransaction - */ - public static V1PropertyGetPost200ResponsePropertyTransaction fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyTransaction.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyTransaction to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java b/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java deleted file mode 100644 index 6361243..0000000 --- a/src/main/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.lodgea.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-08T10:01:38.583514510Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyTransactionExternalListInner { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner() { - } - - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "https://www.booking.com/", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyTransactionExternalListInner v1PropertyGetPost200ResponsePropertyTransactionExternalListInner = (V1PropertyGetPost200ResponsePropertyTransactionExternalListInner) o; - return Objects.equals(this.languageCode, v1PropertyGetPost200ResponsePropertyTransactionExternalListInner.languageCode) && - Objects.equals(this.text, v1PropertyGetPost200ResponsePropertyTransactionExternalListInner.text); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, text); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyTransactionExternalListInner {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("text"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyTransactionExternalListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyTransactionExternalListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyTransactionExternalListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyTransactionExternalListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyTransactionExternalListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ - public static V1PropertyGetPost200ResponsePropertyTransactionExternalListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyTransactionExternalListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/ApiCallback.java b/src/main/java/org/openapitools/client/ApiCallback.java deleted file mode 100644 index 8abb633..0000000 --- a/src/main/java/org/openapitools/client/ApiCallback.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import java.io.IOException; - -import java.util.Map; -import java.util.List; - -/** - * Callback for asynchronous API call. - * - * @param The return type - */ -public interface ApiCallback { - /** - * This is called when the API call fails. - * - * @param e The exception causing the failure - * @param statusCode Status code of the response if available, otherwise it would be 0 - * @param responseHeaders Headers of the response if available, otherwise it would be null - */ - void onFailure(ApiException e, int statusCode, Map> responseHeaders); - - /** - * This is called when the API call succeeded. - * - * @param result The result deserialized from response - * @param statusCode Status code of the response - * @param responseHeaders Headers of the response - */ - void onSuccess(T result, int statusCode, Map> responseHeaders); - - /** - * This is called when the API upload processing. - * - * @param bytesWritten bytes Written - * @param contentLength content length of request body - * @param done write end - */ - void onUploadProgress(long bytesWritten, long contentLength, boolean done); - - /** - * This is called when the API download processing. - * - * @param bytesRead bytes Read - * @param contentLength content length of the response - * @param done Read end - */ - void onDownloadProgress(long bytesRead, long contentLength, boolean done); -} diff --git a/src/main/java/org/openapitools/client/ApiClient.java b/src/main/java/org/openapitools/client/ApiClient.java deleted file mode 100644 index 586b458..0000000 --- a/src/main/java/org/openapitools/client/ApiClient.java +++ /dev/null @@ -1,1461 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import okhttp3.*; -import okhttp3.internal.http.HttpMethod; -import okhttp3.internal.tls.OkHostnameVerifier; -import okhttp3.logging.HttpLoggingInterceptor; -import okhttp3.logging.HttpLoggingInterceptor.Level; -import okio.Buffer; -import okio.BufferedSink; -import okio.Okio; - -import javax.net.ssl.*; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.io.UnsupportedEncodingException; -import java.lang.reflect.Type; -import java.net.URI; -import java.net.URLConnection; -import java.net.URLEncoder; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.security.GeneralSecurityException; -import java.security.KeyStore; -import java.security.SecureRandom; -import java.security.cert.Certificate; -import java.security.cert.CertificateException; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.text.DateFormat; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; -import java.util.*; -import java.util.Map.Entry; -import java.util.concurrent.TimeUnit; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import org.openapitools.client.auth.Authentication; -import org.openapitools.client.auth.HttpBasicAuth; -import org.openapitools.client.auth.HttpBearerAuth; -import org.openapitools.client.auth.ApiKeyAuth; - -/** - *

ApiClient class.

- */ -public class ApiClient { - - private String basePath = "https://api.eu.lodgea.io"; - private boolean debugging = false; - private Map defaultHeaderMap = new HashMap(); - private Map defaultCookieMap = new HashMap(); - private String tempFolderPath = null; - - private Map authentications; - - private DateFormat dateFormat; - private DateFormat datetimeFormat; - private boolean lenientDatetimeFormat; - private int dateLength; - - private InputStream sslCaCert; - private boolean verifyingSsl; - private KeyManager[] keyManagers; - - private OkHttpClient httpClient; - private JSON json; - - private HttpLoggingInterceptor loggingInterceptor; - - /** - * Basic constructor for ApiClient - */ - public ApiClient() { - init(); - initHttpClient(); - - // Setup authentications (key: authentication name, value: authentication). - authentications.put("ApiKeyAuth", new ApiKeyAuth("header", "apiKey")); - // Prevent the authentications from being modified. - authentications = Collections.unmodifiableMap(authentications); - } - - /** - * Basic constructor with custom OkHttpClient - * - * @param client a {@link okhttp3.OkHttpClient} object - */ - public ApiClient(OkHttpClient client) { - init(); - - httpClient = client; - - // Setup authentications (key: authentication name, value: authentication). - authentications.put("ApiKeyAuth", new ApiKeyAuth("header", "apiKey")); - // Prevent the authentications from being modified. - authentications = Collections.unmodifiableMap(authentications); - } - - private void initHttpClient() { - initHttpClient(Collections.emptyList()); - } - - private void initHttpClient(List interceptors) { - OkHttpClient.Builder builder = new OkHttpClient.Builder(); - builder.addNetworkInterceptor(getProgressInterceptor()); - for (Interceptor interceptor: interceptors) { - builder.addInterceptor(interceptor); - } - - httpClient = builder.build(); - } - - private void init() { - verifyingSsl = true; - - json = new JSON(); - - // Set default User-Agent. - setUserAgent("OpenAPI-Generator/1.0.0/java"); - - authentications = new HashMap(); - } - - /** - * Get base path - * - * @return Base path - */ - public String getBasePath() { - return basePath; - } - - /** - * Set base path - * - * @param basePath Base path of the URL (e.g https://api.eu.lodgea.io - * @return An instance of OkHttpClient - */ - public ApiClient setBasePath(String basePath) { - this.basePath = basePath; - return this; - } - - /** - * Get HTTP client - * - * @return An instance of OkHttpClient - */ - public OkHttpClient getHttpClient() { - return httpClient; - } - - /** - * Set HTTP client, which must never be null. - * - * @param newHttpClient An instance of OkHttpClient - * @return Api Client - * @throws java.lang.NullPointerException when newHttpClient is null - */ - public ApiClient setHttpClient(OkHttpClient newHttpClient) { - this.httpClient = Objects.requireNonNull(newHttpClient, "HttpClient must not be null!"); - return this; - } - - /** - * Get JSON - * - * @return JSON object - */ - public JSON getJSON() { - return json; - } - - /** - * Set JSON - * - * @param json JSON object - * @return Api client - */ - public ApiClient setJSON(JSON json) { - this.json = json; - return this; - } - - /** - * True if isVerifyingSsl flag is on - * - * @return True if isVerifySsl flag is on - */ - public boolean isVerifyingSsl() { - return verifyingSsl; - } - - /** - * Configure whether to verify certificate and hostname when making https requests. - * Default to true. - * NOTE: Do NOT set to false in production code, otherwise you would face multiple types of cryptographic attacks. - * - * @param verifyingSsl True to verify TLS/SSL connection - * @return ApiClient - */ - public ApiClient setVerifyingSsl(boolean verifyingSsl) { - this.verifyingSsl = verifyingSsl; - applySslSettings(); - return this; - } - - /** - * Get SSL CA cert. - * - * @return Input stream to the SSL CA cert - */ - public InputStream getSslCaCert() { - return sslCaCert; - } - - /** - * Configure the CA certificate to be trusted when making https requests. - * Use null to reset to default. - * - * @param sslCaCert input stream for SSL CA cert - * @return ApiClient - */ - public ApiClient setSslCaCert(InputStream sslCaCert) { - this.sslCaCert = sslCaCert; - applySslSettings(); - return this; - } - - /** - *

Getter for the field keyManagers.

- * - * @return an array of {@link javax.net.ssl.KeyManager} objects - */ - public KeyManager[] getKeyManagers() { - return keyManagers; - } - - /** - * Configure client keys to use for authorization in an SSL session. - * Use null to reset to default. - * - * @param managers The KeyManagers to use - * @return ApiClient - */ - public ApiClient setKeyManagers(KeyManager[] managers) { - this.keyManagers = managers; - applySslSettings(); - return this; - } - - /** - *

Getter for the field dateFormat.

- * - * @return a {@link java.text.DateFormat} object - */ - public DateFormat getDateFormat() { - return dateFormat; - } - - /** - *

Setter for the field dateFormat.

- * - * @param dateFormat a {@link java.text.DateFormat} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setDateFormat(DateFormat dateFormat) { - this.json.setDateFormat(dateFormat); - return this; - } - - /** - *

Set SqlDateFormat.

- * - * @param dateFormat a {@link java.text.DateFormat} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setSqlDateFormat(DateFormat dateFormat) { - this.json.setSqlDateFormat(dateFormat); - return this; - } - - /** - *

Set OffsetDateTimeFormat.

- * - * @param dateFormat a {@link java.time.format.DateTimeFormatter} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { - this.json.setOffsetDateTimeFormat(dateFormat); - return this; - } - - /** - *

Set LocalDateFormat.

- * - * @param dateFormat a {@link java.time.format.DateTimeFormatter} object - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) { - this.json.setLocalDateFormat(dateFormat); - return this; - } - - /** - *

Set LenientOnJson.

- * - * @param lenientOnJson a boolean - * @return a {@link org.openapitools.client.ApiClient} object - */ - public ApiClient setLenientOnJson(boolean lenientOnJson) { - this.json.setLenientOnJson(lenientOnJson); - return this; - } - - /** - * Get authentications (key: authentication name, value: authentication). - * - * @return Map of authentication objects - */ - public Map getAuthentications() { - return authentications; - } - - /** - * Get authentication for the given name. - * - * @param authName The authentication name - * @return The authentication, null if not found - */ - public Authentication getAuthentication(String authName) { - return authentications.get(authName); - } - - - /** - * Helper method to set username for the first HTTP basic authentication. - * - * @param username Username - */ - public void setUsername(String username) { - for (Authentication auth : authentications.values()) { - if (auth instanceof HttpBasicAuth) { - ((HttpBasicAuth) auth).setUsername(username); - return; - } - } - throw new RuntimeException("No HTTP basic authentication configured!"); - } - - /** - * Helper method to set password for the first HTTP basic authentication. - * - * @param password Password - */ - public void setPassword(String password) { - for (Authentication auth : authentications.values()) { - if (auth instanceof HttpBasicAuth) { - ((HttpBasicAuth) auth).setPassword(password); - return; - } - } - throw new RuntimeException("No HTTP basic authentication configured!"); - } - - /** - * Helper method to set API key value for the first API key authentication. - * - * @param apiKey API key - */ - public void setApiKey(String apiKey) { - for (Authentication auth : authentications.values()) { - if (auth instanceof ApiKeyAuth) { - ((ApiKeyAuth) auth).setApiKey(apiKey); - return; - } - } - throw new RuntimeException("No API key authentication configured!"); - } - - /** - * Helper method to set API key prefix for the first API key authentication. - * - * @param apiKeyPrefix API key prefix - */ - public void setApiKeyPrefix(String apiKeyPrefix) { - for (Authentication auth : authentications.values()) { - if (auth instanceof ApiKeyAuth) { - ((ApiKeyAuth) auth).setApiKeyPrefix(apiKeyPrefix); - return; - } - } - throw new RuntimeException("No API key authentication configured!"); - } - - /** - * Helper method to set access token for the first OAuth2 authentication. - * - * @param accessToken Access token - */ - public void setAccessToken(String accessToken) { - throw new RuntimeException("No OAuth2 authentication configured!"); - } - - /** - * Set the User-Agent header's value (by adding to the default header map). - * - * @param userAgent HTTP request's user agent - * @return ApiClient - */ - public ApiClient setUserAgent(String userAgent) { - addDefaultHeader("User-Agent", userAgent); - return this; - } - - /** - * Add a default header. - * - * @param key The header's key - * @param value The header's value - * @return ApiClient - */ - public ApiClient addDefaultHeader(String key, String value) { - defaultHeaderMap.put(key, value); - return this; - } - - /** - * Add a default cookie. - * - * @param key The cookie's key - * @param value The cookie's value - * @return ApiClient - */ - public ApiClient addDefaultCookie(String key, String value) { - defaultCookieMap.put(key, value); - return this; - } - - /** - * Check that whether debugging is enabled for this API client. - * - * @return True if debugging is enabled, false otherwise. - */ - public boolean isDebugging() { - return debugging; - } - - /** - * Enable/disable debugging for this API client. - * - * @param debugging To enable (true) or disable (false) debugging - * @return ApiClient - */ - public ApiClient setDebugging(boolean debugging) { - if (debugging != this.debugging) { - if (debugging) { - loggingInterceptor = new HttpLoggingInterceptor(); - loggingInterceptor.setLevel(Level.BODY); - httpClient = httpClient.newBuilder().addInterceptor(loggingInterceptor).build(); - } else { - final OkHttpClient.Builder builder = httpClient.newBuilder(); - builder.interceptors().remove(loggingInterceptor); - httpClient = builder.build(); - loggingInterceptor = null; - } - } - this.debugging = debugging; - return this; - } - - /** - * The path of temporary folder used to store downloaded files from endpoints - * with file response. The default value is null, i.e. using - * the system's default temporary folder. - * - * @see createTempFile - * @return Temporary folder path - */ - public String getTempFolderPath() { - return tempFolderPath; - } - - /** - * Set the temporary folder path (for downloading files) - * - * @param tempFolderPath Temporary folder path - * @return ApiClient - */ - public ApiClient setTempFolderPath(String tempFolderPath) { - this.tempFolderPath = tempFolderPath; - return this; - } - - /** - * Get connection timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getConnectTimeout() { - return httpClient.connectTimeoutMillis(); - } - - /** - * Sets the connect timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link java.lang.Integer#MAX_VALUE}. - * - * @param connectionTimeout connection timeout in milliseconds - * @return Api client - */ - public ApiClient setConnectTimeout(int connectionTimeout) { - httpClient = httpClient.newBuilder().connectTimeout(connectionTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - /** - * Get read timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getReadTimeout() { - return httpClient.readTimeoutMillis(); - } - - /** - * Sets the read timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link java.lang.Integer#MAX_VALUE}. - * - * @param readTimeout read timeout in milliseconds - * @return Api client - */ - public ApiClient setReadTimeout(int readTimeout) { - httpClient = httpClient.newBuilder().readTimeout(readTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - /** - * Get write timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getWriteTimeout() { - return httpClient.writeTimeoutMillis(); - } - - /** - * Sets the write timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link java.lang.Integer#MAX_VALUE}. - * - * @param writeTimeout connection timeout in milliseconds - * @return Api client - */ - public ApiClient setWriteTimeout(int writeTimeout) { - httpClient = httpClient.newBuilder().writeTimeout(writeTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - - /** - * Format the given parameter object into string. - * - * @param param Parameter - * @return String representation of the parameter - */ - public String parameterToString(Object param) { - if (param == null) { - return ""; - } else if (param instanceof Date || param instanceof OffsetDateTime || param instanceof LocalDate) { - //Serialize to json string and remove the " enclosing characters - String jsonStr = json.serialize(param); - return jsonStr.substring(1, jsonStr.length() - 1); - } else if (param instanceof Collection) { - StringBuilder b = new StringBuilder(); - for (Object o : (Collection) param) { - if (b.length() > 0) { - b.append(","); - } - b.append(String.valueOf(o)); - } - return b.toString(); - } else { - return String.valueOf(param); - } - } - - /** - * Formats the specified query parameter to a list containing a single {@code Pair} object. - * - * Note that {@code value} must not be a collection. - * - * @param name The name of the parameter. - * @param value The value of the parameter. - * @return A list containing a single {@code Pair} object. - */ - public List parameterToPair(String name, Object value) { - List params = new ArrayList(); - - // preconditions - if (name == null || name.isEmpty() || value == null || value instanceof Collection) { - return params; - } - - params.add(new Pair(name, parameterToString(value))); - return params; - } - - /** - * Formats the specified collection query parameters to a list of {@code Pair} objects. - * - * Note that the values of each of the returned Pair objects are percent-encoded. - * - * @param collectionFormat The collection format of the parameter. - * @param name The name of the parameter. - * @param value The value of the parameter. - * @return A list of {@code Pair} objects. - */ - public List parameterToPairs(String collectionFormat, String name, Collection value) { - List params = new ArrayList(); - - // preconditions - if (name == null || name.isEmpty() || value == null || value.isEmpty()) { - return params; - } - - // create the params based on the collection format - if ("multi".equals(collectionFormat)) { - for (Object item : value) { - params.add(new Pair(name, escapeString(parameterToString(item)))); - } - return params; - } - - // collectionFormat is assumed to be "csv" by default - String delimiter = ","; - - // escape all delimiters except commas, which are URI reserved - // characters - if ("ssv".equals(collectionFormat)) { - delimiter = escapeString(" "); - } else if ("tsv".equals(collectionFormat)) { - delimiter = escapeString("\t"); - } else if ("pipes".equals(collectionFormat)) { - delimiter = escapeString("|"); - } - - StringBuilder sb = new StringBuilder(); - for (Object item : value) { - sb.append(delimiter); - sb.append(escapeString(parameterToString(item))); - } - - params.add(new Pair(name, sb.substring(delimiter.length()))); - - return params; - } - - /** - * Formats the specified collection path parameter to a string value. - * - * @param collectionFormat The collection format of the parameter. - * @param value The value of the parameter. - * @return String representation of the parameter - */ - public String collectionPathParameterToString(String collectionFormat, Collection value) { - // create the value based on the collection format - if ("multi".equals(collectionFormat)) { - // not valid for path params - return parameterToString(value); - } - - // collectionFormat is assumed to be "csv" by default - String delimiter = ","; - - if ("ssv".equals(collectionFormat)) { - delimiter = " "; - } else if ("tsv".equals(collectionFormat)) { - delimiter = "\t"; - } else if ("pipes".equals(collectionFormat)) { - delimiter = "|"; - } - - StringBuilder sb = new StringBuilder() ; - for (Object item : value) { - sb.append(delimiter); - sb.append(parameterToString(item)); - } - - return sb.substring(delimiter.length()); - } - - /** - * Sanitize filename by removing path. - * e.g. ../../sun.gif becomes sun.gif - * - * @param filename The filename to be sanitized - * @return The sanitized filename - */ - public String sanitizeFilename(String filename) { - return filename.replaceAll(".*[/\\\\]", ""); - } - - /** - * Check if the given MIME is a JSON MIME. - * JSON MIME examples: - * application/json - * application/json; charset=UTF8 - * APPLICATION/JSON - * application/vnd.company+json - * "* / *" is also default to JSON - * @param mime MIME (Multipurpose Internet Mail Extensions) - * @return True if the given MIME is JSON, false otherwise. - */ - public boolean isJsonMime(String mime) { - String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; - return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); - } - - /** - * Select the Accept header's value from the given accepts array: - * if JSON exists in the given array, use it; - * otherwise use all of them (joining into a string) - * - * @param accepts The accepts array to select from - * @return The Accept header to use. If the given array is empty, - * null will be returned (not to set the Accept header explicitly). - */ - public String selectHeaderAccept(String[] accepts) { - if (accepts.length == 0) { - return null; - } - for (String accept : accepts) { - if (isJsonMime(accept)) { - return accept; - } - } - return StringUtil.join(accepts, ","); - } - - /** - * Select the Content-Type header's value from the given array: - * if JSON exists in the given array, use it; - * otherwise use the first one of the array. - * - * @param contentTypes The Content-Type array to select from - * @return The Content-Type header to use. If the given array is empty, - * returns null. If it matches "any", JSON will be used. - */ - public String selectHeaderContentType(String[] contentTypes) { - if (contentTypes.length == 0) { - return null; - } - - if (contentTypes[0].equals("*/*")) { - return "application/json"; - } - - for (String contentType : contentTypes) { - if (isJsonMime(contentType)) { - return contentType; - } - } - - return contentTypes[0]; - } - - /** - * Escape the given string to be used as URL query value. - * - * @param str String to be escaped - * @return Escaped string - */ - public String escapeString(String str) { - try { - return URLEncoder.encode(str, "utf8").replaceAll("\\+", "%20"); - } catch (UnsupportedEncodingException e) { - return str; - } - } - - /** - * Deserialize response body to Java object, according to the return type and - * the Content-Type response header. - * - * @param Type - * @param response HTTP response - * @param returnType The type of the Java object - * @return The deserialized Java object - * @throws org.openapitools.client.ApiException If fail to deserialize response body, i.e. cannot read response body - * or the Content-Type of the response is not supported. - */ - @SuppressWarnings("unchecked") - public T deserialize(Response response, Type returnType) throws ApiException { - if (response == null || returnType == null) { - return null; - } - - if ("byte[]".equals(returnType.toString())) { - // Handle binary response (byte array). - try { - return (T) response.body().bytes(); - } catch (IOException e) { - throw new ApiException(e); - } - } else if (returnType.equals(File.class)) { - // Handle file downloading. - return (T) downloadFileFromResponse(response); - } - - String respBody; - try { - if (response.body() != null) - respBody = response.body().string(); - else - respBody = null; - } catch (IOException e) { - throw new ApiException(e); - } - - if (respBody == null || "".equals(respBody)) { - return null; - } - - String contentType = response.headers().get("Content-Type"); - if (contentType == null) { - // ensuring a default content type - contentType = "application/json"; - } - if (isJsonMime(contentType)) { - return json.deserialize(respBody, returnType); - } else if (returnType.equals(String.class)) { - // Expecting string, return the raw response body. - return (T) respBody; - } else { - throw new ApiException( - "Content type \"" + contentType + "\" is not supported for type: " + returnType, - response.code(), - response.headers().toMultimap(), - respBody); - } - } - - /** - * Serialize the given Java object into request body according to the object's - * class and the request Content-Type. - * - * @param obj The Java object - * @param contentType The request Content-Type - * @return The serialized request body - * @throws org.openapitools.client.ApiException If fail to serialize the given object - */ - public RequestBody serialize(Object obj, String contentType) throws ApiException { - if (obj instanceof byte[]) { - // Binary (byte array) body parameter support. - return RequestBody.create((byte[]) obj, MediaType.parse(contentType)); - } else if (obj instanceof File) { - // File body parameter support. - return RequestBody.create((File) obj, MediaType.parse(contentType)); - } else if ("text/plain".equals(contentType) && obj instanceof String) { - return RequestBody.create((String) obj, MediaType.parse(contentType)); - } else if (isJsonMime(contentType)) { - String content; - if (obj != null) { - content = json.serialize(obj); - } else { - content = null; - } - return RequestBody.create(content, MediaType.parse(contentType)); - } else { - throw new ApiException("Content type \"" + contentType + "\" is not supported"); - } - } - - /** - * Download file from the given response. - * - * @param response An instance of the Response object - * @throws org.openapitools.client.ApiException If fail to read file content from response and write to disk - * @return Downloaded file - */ - public File downloadFileFromResponse(Response response) throws ApiException { - try { - File file = prepareDownloadFile(response); - BufferedSink sink = Okio.buffer(Okio.sink(file)); - sink.writeAll(response.body().source()); - sink.close(); - return file; - } catch (IOException e) { - throw new ApiException(e); - } - } - - /** - * Prepare file for download - * - * @param response An instance of the Response object - * @return Prepared file for the download - * @throws java.io.IOException If fail to prepare file for download - */ - public File prepareDownloadFile(Response response) throws IOException { - String filename = null; - String contentDisposition = response.header("Content-Disposition"); - if (contentDisposition != null && !"".equals(contentDisposition)) { - // Get filename from the Content-Disposition header. - Pattern pattern = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?"); - Matcher matcher = pattern.matcher(contentDisposition); - if (matcher.find()) { - filename = sanitizeFilename(matcher.group(1)); - } - } - - String prefix = null; - String suffix = null; - if (filename == null) { - prefix = "download-"; - suffix = ""; - } else { - int pos = filename.lastIndexOf("."); - if (pos == -1) { - prefix = filename + "-"; - } else { - prefix = filename.substring(0, pos) + "-"; - suffix = filename.substring(pos); - } - // Files.createTempFile requires the prefix to be at least three characters long - if (prefix.length() < 3) - prefix = "download-"; - } - - if (tempFolderPath == null) - return Files.createTempFile(prefix, suffix).toFile(); - else - return Files.createTempFile(Paths.get(tempFolderPath), prefix, suffix).toFile(); - } - - /** - * {@link #execute(Call, Type)} - * - * @param Type - * @param call An instance of the Call object - * @return ApiResponse<T> - * @throws org.openapitools.client.ApiException If fail to execute the call - */ - public ApiResponse execute(Call call) throws ApiException { - return execute(call, null); - } - - /** - * Execute HTTP call and deserialize the HTTP response body into the given return type. - * - * @param returnType The return type used to deserialize HTTP response body - * @param The return type corresponding to (same with) returnType - * @param call Call - * @return ApiResponse object containing response status, headers and - * data, which is a Java object deserialized from response body and would be null - * when returnType is null. - * @throws org.openapitools.client.ApiException If fail to execute the call - */ - public ApiResponse execute(Call call, Type returnType) throws ApiException { - try { - Response response = call.execute(); - T data = handleResponse(response, returnType); - return new ApiResponse(response.code(), response.headers().toMultimap(), data); - } catch (IOException e) { - throw new ApiException(e); - } - } - - /** - * {@link #executeAsync(Call, Type, ApiCallback)} - * - * @param Type - * @param call An instance of the Call object - * @param callback ApiCallback<T> - */ - public void executeAsync(Call call, ApiCallback callback) { - executeAsync(call, null, callback); - } - - /** - * Execute HTTP call asynchronously. - * - * @param Type - * @param call The callback to be executed when the API call finishes - * @param returnType Return type - * @param callback ApiCallback - * @see #execute(Call, Type) - */ - @SuppressWarnings("unchecked") - public void executeAsync(Call call, final Type returnType, final ApiCallback callback) { - call.enqueue(new Callback() { - @Override - public void onFailure(Call call, IOException e) { - callback.onFailure(new ApiException(e), 0, null); - } - - @Override - public void onResponse(Call call, Response response) throws IOException { - T result; - try { - result = (T) handleResponse(response, returnType); - } catch (ApiException e) { - callback.onFailure(e, response.code(), response.headers().toMultimap()); - return; - } catch (Exception e) { - callback.onFailure(new ApiException(e), response.code(), response.headers().toMultimap()); - return; - } - callback.onSuccess(result, response.code(), response.headers().toMultimap()); - } - }); - } - - /** - * Handle the given response, return the deserialized object when the response is successful. - * - * @param Type - * @param response Response - * @param returnType Return type - * @return Type - * @throws org.openapitools.client.ApiException If the response has an unsuccessful status code or - * fail to deserialize the response body - */ - public T handleResponse(Response response, Type returnType) throws ApiException { - if (response.isSuccessful()) { - if (returnType == null || response.code() == 204) { - // returning null if the returnType is not defined, - // or the status code is 204 (No Content) - if (response.body() != null) { - try { - response.body().close(); - } catch (Exception e) { - throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); - } - } - return null; - } else { - return deserialize(response, returnType); - } - } else { - String respBody = null; - if (response.body() != null) { - try { - respBody = response.body().string(); - } catch (IOException e) { - throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); - } - } - throw new ApiException(response.message(), response.code(), response.headers().toMultimap(), respBody); - } - } - - /** - * Build HTTP call with the given options. - * - * @param baseUrl The base URL - * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @param body The request body object - * @param headerParams The header parameters - * @param cookieParams The cookie parameters - * @param formParams The form parameters - * @param authNames The authentications to apply - * @param callback Callback for upload/download progress - * @return The HTTP call - * @throws org.openapitools.client.ApiException If fail to serialize the request body object - */ - public Call buildCall(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - Request request = buildRequest(baseUrl, path, method, queryParams, collectionQueryParams, body, headerParams, cookieParams, formParams, authNames, callback); - - return httpClient.newCall(request); - } - - /** - * Build an HTTP request with the given options. - * - * @param baseUrl The base URL - * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @param body The request body object - * @param headerParams The header parameters - * @param cookieParams The cookie parameters - * @param formParams The form parameters - * @param authNames The authentications to apply - * @param callback Callback for upload/download progress - * @return The HTTP request - * @throws org.openapitools.client.ApiException If fail to serialize the request body object - */ - public Request buildRequest(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - // aggregate queryParams (non-collection) and collectionQueryParams into allQueryParams - List allQueryParams = new ArrayList(queryParams); - allQueryParams.addAll(collectionQueryParams); - - final String url = buildUrl(baseUrl, path, queryParams, collectionQueryParams); - - // prepare HTTP request body - RequestBody reqBody; - String contentType = headerParams.get("Content-Type"); - - if (!HttpMethod.permitsRequestBody(method)) { - reqBody = null; - } else if ("application/x-www-form-urlencoded".equals(contentType)) { - reqBody = buildRequestBodyFormEncoding(formParams); - } else if ("multipart/form-data".equals(contentType)) { - reqBody = buildRequestBodyMultipart(formParams); - } else if (body == null) { - if ("DELETE".equals(method)) { - // allow calling DELETE without sending a request body - reqBody = null; - } else { - // use an empty request body (for POST, PUT and PATCH) - reqBody = RequestBody.create("", contentType == null ? null : MediaType.parse(contentType)); - } - } else { - reqBody = serialize(body, contentType); - } - - // update parameters with authentication settings - updateParamsForAuth(authNames, allQueryParams, headerParams, cookieParams, requestBodyToString(reqBody), method, URI.create(url)); - - final Request.Builder reqBuilder = new Request.Builder().url(url); - processHeaderParams(headerParams, reqBuilder); - processCookieParams(cookieParams, reqBuilder); - - // Associate callback with request (if not null) so interceptor can - // access it when creating ProgressResponseBody - reqBuilder.tag(callback); - - Request request = null; - - if (callback != null && reqBody != null) { - ProgressRequestBody progressRequestBody = new ProgressRequestBody(reqBody, callback); - request = reqBuilder.method(method, progressRequestBody).build(); - } else { - request = reqBuilder.method(method, reqBody).build(); - } - - return request; - } - - /** - * Build full URL by concatenating base path, the given sub path and query parameters. - * - * @param baseUrl The base URL - * @param path The sub path - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @return The full URL - */ - public String buildUrl(String baseUrl, String path, List queryParams, List collectionQueryParams) { - final StringBuilder url = new StringBuilder(); - if (baseUrl != null) { - url.append(baseUrl).append(path); - } else { - url.append(basePath).append(path); - } - - if (queryParams != null && !queryParams.isEmpty()) { - // support (constant) query string in `path`, e.g. "/posts?draft=1" - String prefix = path.contains("?") ? "&" : "?"; - for (Pair param : queryParams) { - if (param.getValue() != null) { - if (prefix != null) { - url.append(prefix); - prefix = null; - } else { - url.append("&"); - } - String value = parameterToString(param.getValue()); - url.append(escapeString(param.getName())).append("=").append(escapeString(value)); - } - } - } - - if (collectionQueryParams != null && !collectionQueryParams.isEmpty()) { - String prefix = url.toString().contains("?") ? "&" : "?"; - for (Pair param : collectionQueryParams) { - if (param.getValue() != null) { - if (prefix != null) { - url.append(prefix); - prefix = null; - } else { - url.append("&"); - } - String value = parameterToString(param.getValue()); - // collection query parameter value already escaped as part of parameterToPairs - url.append(escapeString(param.getName())).append("=").append(value); - } - } - } - - return url.toString(); - } - - /** - * Set header parameters to the request builder, including default headers. - * - * @param headerParams Header parameters in the form of Map - * @param reqBuilder Request.Builder - */ - public void processHeaderParams(Map headerParams, Request.Builder reqBuilder) { - for (Entry param : headerParams.entrySet()) { - reqBuilder.header(param.getKey(), parameterToString(param.getValue())); - } - for (Entry header : defaultHeaderMap.entrySet()) { - if (!headerParams.containsKey(header.getKey())) { - reqBuilder.header(header.getKey(), parameterToString(header.getValue())); - } - } - } - - /** - * Set cookie parameters to the request builder, including default cookies. - * - * @param cookieParams Cookie parameters in the form of Map - * @param reqBuilder Request.Builder - */ - public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) { - for (Entry param : cookieParams.entrySet()) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); - } - for (Entry param : defaultCookieMap.entrySet()) { - if (!cookieParams.containsKey(param.getKey())) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); - } - } - } - - /** - * Update query and header parameters based on authentication settings. - * - * @param authNames The authentications to apply - * @param queryParams List of query parameters - * @param headerParams Map of header parameters - * @param cookieParams Map of cookie parameters - * @param payload HTTP request body - * @param method HTTP method - * @param uri URI - * @throws org.openapitools.client.ApiException If fails to update the parameters - */ - public void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams, - Map cookieParams, String payload, String method, URI uri) throws ApiException { - for (String authName : authNames) { - Authentication auth = authentications.get(authName); - if (auth == null) { - throw new RuntimeException("Authentication undefined: " + authName); - } - auth.applyToParams(queryParams, headerParams, cookieParams, payload, method, uri); - } - } - - /** - * Build a form-encoding request body with the given form parameters. - * - * @param formParams Form parameters in the form of Map - * @return RequestBody - */ - public RequestBody buildRequestBodyFormEncoding(Map formParams) { - okhttp3.FormBody.Builder formBuilder = new okhttp3.FormBody.Builder(); - for (Entry param : formParams.entrySet()) { - formBuilder.add(param.getKey(), parameterToString(param.getValue())); - } - return formBuilder.build(); - } - - /** - * Build a multipart (file uploading) request body with the given form parameters, - * which could contain text fields and file fields. - * - * @param formParams Form parameters in the form of Map - * @return RequestBody - */ - public RequestBody buildRequestBodyMultipart(Map formParams) { - MultipartBody.Builder mpBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM); - for (Entry param : formParams.entrySet()) { - if (param.getValue() instanceof File) { - File file = (File) param.getValue(); - addPartToMultiPartBuilder(mpBuilder, param.getKey(), file); - } else if (param.getValue() instanceof List) { - List list = (List) param.getValue(); - for (Object item: list) { - if (item instanceof File) { - addPartToMultiPartBuilder(mpBuilder, param.getKey(), (File) item); - } - } - } else { - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + param.getKey() + "\""); - mpBuilder.addPart(partHeaders, RequestBody.create(parameterToString(param.getValue()), null)); - } - } - return mpBuilder.build(); - } - - /** - * Guess Content-Type header from the given file (defaults to "application/octet-stream"). - * - * @param file The given file - * @return The guessed Content-Type - */ - public String guessContentTypeFromFile(File file) { - String contentType = URLConnection.guessContentTypeFromName(file.getName()); - if (contentType == null) { - return "application/octet-stream"; - } else { - return contentType; - } - } - - /** - * Add a Content-Disposition Header for the given key and file to the MultipartBody Builder. - * - * @param mpBuilder MultipartBody.Builder - * @param key The key of the Header element - * @param file The file to add to the Header - */ - private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) { - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\"; filename=\"" + file.getName() + "\""); - MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); - mpBuilder.addPart(partHeaders, RequestBody.create(file, mediaType)); - } - - /** - * Get network interceptor to add it to the httpClient to track download progress for - * async requests. - */ - private Interceptor getProgressInterceptor() { - return new Interceptor() { - @Override - public Response intercept(Interceptor.Chain chain) throws IOException { - final Request request = chain.request(); - final Response originalResponse = chain.proceed(request); - if (request.tag() instanceof ApiCallback) { - final ApiCallback callback = (ApiCallback) request.tag(); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), callback)) - .build(); - } - return originalResponse; - } - }; - } - - /** - * Apply SSL related settings to httpClient according to the current values of - * verifyingSsl and sslCaCert. - */ - private void applySslSettings() { - try { - TrustManager[] trustManagers; - HostnameVerifier hostnameVerifier; - if (!verifyingSsl) { - trustManagers = new TrustManager[]{ - new X509TrustManager() { - @Override - public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { - } - - @Override - public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { - } - - @Override - public java.security.cert.X509Certificate[] getAcceptedIssuers() { - return new java.security.cert.X509Certificate[]{}; - } - } - }; - hostnameVerifier = new HostnameVerifier() { - @Override - public boolean verify(String hostname, SSLSession session) { - return true; - } - }; - } else { - TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); - - if (sslCaCert == null) { - trustManagerFactory.init((KeyStore) null); - } else { - char[] password = null; // Any password will work. - CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509"); - Collection certificates = certificateFactory.generateCertificates(sslCaCert); - if (certificates.isEmpty()) { - throw new IllegalArgumentException("expected non-empty set of trusted certificates"); - } - KeyStore caKeyStore = newEmptyKeyStore(password); - int index = 0; - for (Certificate certificate : certificates) { - String certificateAlias = "ca" + Integer.toString(index++); - caKeyStore.setCertificateEntry(certificateAlias, certificate); - } - trustManagerFactory.init(caKeyStore); - } - trustManagers = trustManagerFactory.getTrustManagers(); - hostnameVerifier = OkHostnameVerifier.INSTANCE; - } - - SSLContext sslContext = SSLContext.getInstance("TLS"); - sslContext.init(keyManagers, trustManagers, new SecureRandom()); - httpClient = httpClient.newBuilder() - .sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) trustManagers[0]) - .hostnameVerifier(hostnameVerifier) - .build(); - } catch (GeneralSecurityException e) { - throw new RuntimeException(e); - } - } - - private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { - try { - KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); - keyStore.load(null, password); - return keyStore; - } catch (IOException e) { - throw new AssertionError(e); - } - } - - /** - * Convert the HTTP request body to a string. - * - * @param request The HTTP request object - * @return The string representation of the HTTP request body - * @throws org.openapitools.client.ApiException If fail to serialize the request body object into a string - */ - private String requestBodyToString(RequestBody requestBody) throws ApiException { - if (requestBody != null) { - try { - final Buffer buffer = new Buffer(); - requestBody.writeTo(buffer); - return buffer.readUtf8(); - } catch (final IOException e) { - throw new ApiException(e); - } - } - - // empty http request body - return ""; - } -} diff --git a/src/main/java/org/openapitools/client/ApiException.java b/src/main/java/org/openapitools/client/ApiException.java deleted file mode 100644 index 16caefc..0000000 --- a/src/main/java/org/openapitools/client/ApiException.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import java.util.Map; -import java.util.List; - -import javax.ws.rs.core.GenericType; - -/** - *

ApiException class.

- */ -@SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class ApiException extends Exception { - private int code = 0; - private Map> responseHeaders = null; - private String responseBody = null; - - /** - *

Constructor for ApiException.

- */ - public ApiException() {} - - /** - *

Constructor for ApiException.

- * - * @param throwable a {@link java.lang.Throwable} object - */ - public ApiException(Throwable throwable) { - super(throwable); - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - */ - public ApiException(String message) { - super(message); - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - * @param throwable a {@link java.lang.Throwable} object - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { - super(message, throwable); - this.code = code; - this.responseHeaders = responseHeaders; - this.responseBody = responseBody; - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(String message, int code, Map> responseHeaders, String responseBody) { - this(message, (Throwable) null, code, responseHeaders, responseBody); - } - - /** - *

Constructor for ApiException.

- * - * @param message the error message - * @param throwable a {@link java.lang.Throwable} object - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - */ - public ApiException(String message, Throwable throwable, int code, Map> responseHeaders) { - this(message, throwable, code, responseHeaders, null); - } - - /** - *

Constructor for ApiException.

- * - * @param code HTTP status code - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(int code, Map> responseHeaders, String responseBody) { - this((String) null, (Throwable) null, code, responseHeaders, responseBody); - } - - /** - *

Constructor for ApiException.

- * - * @param code HTTP status code - * @param message a {@link java.lang.String} object - */ - public ApiException(int code, String message) { - super(message); - this.code = code; - } - - /** - *

Constructor for ApiException.

- * - * @param code HTTP status code - * @param message the error message - * @param responseHeaders a {@link java.util.Map} of HTTP response headers - * @param responseBody the response body - */ - public ApiException(int code, String message, Map> responseHeaders, String responseBody) { - this(code, message); - this.responseHeaders = responseHeaders; - this.responseBody = responseBody; - } - - /** - * Get the HTTP status code. - * - * @return HTTP status code - */ - public int getCode() { - return code; - } - - /** - * Get the HTTP response headers. - * - * @return A map of list of string - */ - public Map> getResponseHeaders() { - return responseHeaders; - } - - /** - * Get the HTTP response body. - * - * @return Response body in the form of string - */ - public String getResponseBody() { - return responseBody; - } - - /** - * Get the exception message including HTTP response data. - * - * @return The exception message - */ - public String getMessage() { - return String.format("Message: %s%nHTTP response code: %s%nHTTP response body: %s%nHTTP response headers: %s", - super.getMessage(), this.getCode(), this.getResponseBody(), this.getResponseHeaders()); - } -} diff --git a/src/main/java/org/openapitools/client/ApiResponse.java b/src/main/java/org/openapitools/client/ApiResponse.java deleted file mode 100644 index ff48505..0000000 --- a/src/main/java/org/openapitools/client/ApiResponse.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import java.util.List; -import java.util.Map; - -/** - * API response returned by API call. - */ -public class ApiResponse { - final private int statusCode; - final private Map> headers; - final private T data; - - /** - *

Constructor for ApiResponse.

- * - * @param statusCode The status code of HTTP response - * @param headers The headers of HTTP response - */ - public ApiResponse(int statusCode, Map> headers) { - this(statusCode, headers, null); - } - - /** - *

Constructor for ApiResponse.

- * - * @param statusCode The status code of HTTP response - * @param headers The headers of HTTP response - * @param data The object deserialized from response bod - */ - public ApiResponse(int statusCode, Map> headers, T data) { - this.statusCode = statusCode; - this.headers = headers; - this.data = data; - } - - /** - *

Get the status code.

- * - * @return the status code - */ - public int getStatusCode() { - return statusCode; - } - - /** - *

Get the headers.

- * - * @return a {@link java.util.Map} of headers - */ - public Map> getHeaders() { - return headers; - } - - /** - *

Get the data.

- * - * @return the data - */ - public T getData() { - return data; - } -} diff --git a/src/main/java/org/openapitools/client/Configuration.java b/src/main/java/org/openapitools/client/Configuration.java deleted file mode 100644 index 191e46e..0000000 --- a/src/main/java/org/openapitools/client/Configuration.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class Configuration { - private static ApiClient defaultApiClient = new ApiClient(); - - /** - * Get the default API client, which would be used when creating API - * instances without providing an API client. - * - * @return Default API client - */ - public static ApiClient getDefaultApiClient() { - return defaultApiClient; - } - - /** - * Set the default API client, which would be used when creating API - * instances without providing an API client. - * - * @param apiClient API client - */ - public static void setDefaultApiClient(ApiClient apiClient) { - defaultApiClient = apiClient; - } -} diff --git a/src/main/java/org/openapitools/client/GzipRequestInterceptor.java b/src/main/java/org/openapitools/client/GzipRequestInterceptor.java deleted file mode 100644 index 2958ffb..0000000 --- a/src/main/java/org/openapitools/client/GzipRequestInterceptor.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import okhttp3.*; -import okio.Buffer; -import okio.BufferedSink; -import okio.GzipSink; -import okio.Okio; - -import java.io.IOException; - -/** - * Encodes request bodies using gzip. - * - * Taken from https://github.com/square/okhttp/issues/350 - */ -class GzipRequestInterceptor implements Interceptor { - @Override - public Response intercept(Chain chain) throws IOException { - Request originalRequest = chain.request(); - if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) { - return chain.proceed(originalRequest); - } - - Request compressedRequest = originalRequest.newBuilder() - .header("Content-Encoding", "gzip") - .method(originalRequest.method(), forceContentLength(gzip(originalRequest.body()))) - .build(); - return chain.proceed(compressedRequest); - } - - private RequestBody forceContentLength(final RequestBody requestBody) throws IOException { - final Buffer buffer = new Buffer(); - requestBody.writeTo(buffer); - return new RequestBody() { - @Override - public MediaType contentType() { - return requestBody.contentType(); - } - - @Override - public long contentLength() { - return buffer.size(); - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - sink.write(buffer.snapshot()); - } - }; - } - - private RequestBody gzip(final RequestBody body) { - return new RequestBody() { - @Override - public MediaType contentType() { - return body.contentType(); - } - - @Override - public long contentLength() { - return -1; // We don't know the compressed length in advance! - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - BufferedSink gzipSink = Okio.buffer(new GzipSink(sink)); - body.writeTo(gzipSink); - gzipSink.close(); - } - }; - } -} diff --git a/src/main/java/org/openapitools/client/JSON.java b/src/main/java/org/openapitools/client/JSON.java deleted file mode 100644 index 314462d..0000000 --- a/src/main/java/org/openapitools/client/JSON.java +++ /dev/null @@ -1,456 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapter; -import com.google.gson.internal.bind.util.ISO8601Utils; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.google.gson.JsonElement; -import io.gsonfire.GsonFireBuilder; -import io.gsonfire.TypeSelector; - -import okio.ByteString; - -import java.io.IOException; -import java.io.StringReader; -import java.lang.reflect.Type; -import java.text.DateFormat; -import java.text.ParseException; -import java.text.ParsePosition; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; -import java.util.Date; -import java.util.Locale; -import java.util.Map; -import java.util.HashMap; - -/* - * A JSON utility class - * - * NOTE: in the future, this class may be converted to static, which may break - * backward-compatibility - */ -public class JSON { - private static Gson gson; - private static boolean isLenientOnJson = false; - private static DateTypeAdapter dateTypeAdapter = new DateTypeAdapter(); - private static SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter(); - private static OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter(); - private static LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); - private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); - - @SuppressWarnings("unchecked") - public static GsonBuilder createGson() { - GsonFireBuilder fireBuilder = new GsonFireBuilder() - ; - GsonBuilder builder = fireBuilder.createGsonBuilder(); - return builder; - } - - private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) { - JsonElement element = readElement.getAsJsonObject().get(discriminatorField); - if (null == element) { - throw new IllegalArgumentException("missing discriminator field: <" + discriminatorField + ">"); - } - return element.getAsString(); - } - - /** - * Returns the Java class that implements the OpenAPI schema for the specified discriminator value. - * - * @param classByDiscriminatorValue The map of discriminator values to Java classes. - * @param discriminatorValue The value of the OpenAPI discriminator in the input data. - * @return The Java class that implements the OpenAPI schema - */ - private static Class getClassByDiscriminator(Map classByDiscriminatorValue, String discriminatorValue) { - Class clazz = (Class) classByDiscriminatorValue.get(discriminatorValue); - if (null == clazz) { - throw new IllegalArgumentException("cannot determine model class of name: <" + discriminatorValue + ">"); - } - return clazz; - } - - { - GsonBuilder gsonBuilder = createGson(); - gsonBuilder.registerTypeAdapter(Date.class, dateTypeAdapter); - gsonBuilder.registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter); - gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter); - gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); - gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.AvailabilitySearch.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.LocationSearch.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PropertyGet.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerGeo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerGeoLocation.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerLowestPrice.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerMediaListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1LocationSearchPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1LocationSearchPost200ResponseListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200Response.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponseProperty.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyAwardListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyContactListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDa.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDe.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoEn.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoNl.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGuestInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyMediaListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyRecordCreated.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyRecordModified.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyServiceListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyTransaction.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.CustomTypeAdapterFactory()); - gson = gsonBuilder.create(); - } - - /** - * Get Gson. - * - * @return Gson - */ - public static Gson getGson() { - return gson; - } - - /** - * Set Gson. - * - * @param gson Gson - */ - public static void setGson(Gson gson) { - JSON.gson = gson; - } - - public static void setLenientOnJson(boolean lenientOnJson) { - isLenientOnJson = lenientOnJson; - } - - /** - * Serialize the given Java object into JSON string. - * - * @param obj Object - * @return String representation of the JSON - */ - public static String serialize(Object obj) { - return gson.toJson(obj); - } - - /** - * Deserialize the given JSON string to Java object. - * - * @param Type - * @param body The JSON string - * @param returnType The type to deserialize into - * @return The deserialized Java object - */ - @SuppressWarnings("unchecked") - public static T deserialize(String body, Type returnType) { - try { - if (isLenientOnJson) { - JsonReader jsonReader = new JsonReader(new StringReader(body)); - // see https://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient(boolean) - jsonReader.setLenient(true); - return gson.fromJson(jsonReader, returnType); - } else { - return gson.fromJson(body, returnType); - } - } catch (JsonParseException e) { - // Fallback processing when failed to parse JSON form response body: - // return the response body string directly for the String return type; - if (returnType.equals(String.class)) { - return (T) body; - } else { - throw (e); - } - } - } - - /** - * Gson TypeAdapter for Byte Array type - */ - public static class ByteArrayAdapter extends TypeAdapter { - - @Override - public void write(JsonWriter out, byte[] value) throws IOException { - if (value == null) { - out.nullValue(); - } else { - out.value(ByteString.of(value).base64()); - } - } - - @Override - public byte[] read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String bytesAsBase64 = in.nextString(); - ByteString byteString = ByteString.decodeBase64(bytesAsBase64); - return byteString.toByteArray(); - } - } - } - - /** - * Gson TypeAdapter for JSR310 OffsetDateTime type - */ - public static class OffsetDateTimeTypeAdapter extends TypeAdapter { - - private DateTimeFormatter formatter; - - public OffsetDateTimeTypeAdapter() { - this(DateTimeFormatter.ISO_OFFSET_DATE_TIME); - } - - public OffsetDateTimeTypeAdapter(DateTimeFormatter formatter) { - this.formatter = formatter; - } - - public void setFormat(DateTimeFormatter dateFormat) { - this.formatter = dateFormat; - } - - @Override - public void write(JsonWriter out, OffsetDateTime date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - out.value(formatter.format(date)); - } - } - - @Override - public OffsetDateTime read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - if (date.endsWith("+0000")) { - date = date.substring(0, date.length()-5) + "Z"; - } - return OffsetDateTime.parse(date, formatter); - } - } - } - - /** - * Gson TypeAdapter for JSR310 LocalDate type - */ - public static class LocalDateTypeAdapter extends TypeAdapter { - - private DateTimeFormatter formatter; - - public LocalDateTypeAdapter() { - this(DateTimeFormatter.ISO_LOCAL_DATE); - } - - public LocalDateTypeAdapter(DateTimeFormatter formatter) { - this.formatter = formatter; - } - - public void setFormat(DateTimeFormatter dateFormat) { - this.formatter = dateFormat; - } - - @Override - public void write(JsonWriter out, LocalDate date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - out.value(formatter.format(date)); - } - } - - @Override - public LocalDate read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - return LocalDate.parse(date, formatter); - } - } - } - - public static void setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { - offsetDateTimeTypeAdapter.setFormat(dateFormat); - } - - public static void setLocalDateFormat(DateTimeFormatter dateFormat) { - localDateTypeAdapter.setFormat(dateFormat); - } - - /** - * Gson TypeAdapter for java.sql.Date type - * If the dateFormat is null, a simple "yyyy-MM-dd" format will be used - * (more efficient than SimpleDateFormat). - */ - public static class SqlDateTypeAdapter extends TypeAdapter { - - private DateFormat dateFormat; - - public SqlDateTypeAdapter() {} - - public SqlDateTypeAdapter(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - public void setFormat(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - @Override - public void write(JsonWriter out, java.sql.Date date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - String value; - if (dateFormat != null) { - value = dateFormat.format(date); - } else { - value = date.toString(); - } - out.value(value); - } - } - - @Override - public java.sql.Date read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - try { - if (dateFormat != null) { - return new java.sql.Date(dateFormat.parse(date).getTime()); - } - return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); - } catch (ParseException e) { - throw new JsonParseException(e); - } - } - } - } - - /** - * Gson TypeAdapter for java.util.Date type - * If the dateFormat is null, ISO8601Utils will be used. - */ - public static class DateTypeAdapter extends TypeAdapter { - - private DateFormat dateFormat; - - public DateTypeAdapter() {} - - public DateTypeAdapter(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - public void setFormat(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - @Override - public void write(JsonWriter out, Date date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - String value; - if (dateFormat != null) { - value = dateFormat.format(date); - } else { - value = ISO8601Utils.format(date, true); - } - out.value(value); - } - } - - @Override - public Date read(JsonReader in) throws IOException { - try { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - try { - if (dateFormat != null) { - return dateFormat.parse(date); - } - return ISO8601Utils.parse(date, new ParsePosition(0)); - } catch (ParseException e) { - throw new JsonParseException(e); - } - } - } catch (IllegalArgumentException e) { - throw new JsonParseException(e); - } - } - } - - public static void setDateFormat(DateFormat dateFormat) { - dateTypeAdapter.setFormat(dateFormat); - } - - public static void setSqlDateFormat(DateFormat dateFormat) { - sqlDateTypeAdapter.setFormat(dateFormat); - } -} diff --git a/src/main/java/org/openapitools/client/Pair.java b/src/main/java/org/openapitools/client/Pair.java deleted file mode 100644 index 244faf3..0000000 --- a/src/main/java/org/openapitools/client/Pair.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class Pair { - private String name = ""; - private String value = ""; - - public Pair (String name, String value) { - setName(name); - setValue(value); - } - - private void setName(String name) { - if (!isValidString(name)) { - return; - } - - this.name = name; - } - - private void setValue(String value) { - if (!isValidString(value)) { - return; - } - - this.value = value; - } - - public String getName() { - return this.name; - } - - public String getValue() { - return this.value; - } - - private boolean isValidString(String arg) { - if (arg == null) { - return false; - } - - return true; - } -} diff --git a/src/main/java/org/openapitools/client/ProgressRequestBody.java b/src/main/java/org/openapitools/client/ProgressRequestBody.java deleted file mode 100644 index a0b150e..0000000 --- a/src/main/java/org/openapitools/client/ProgressRequestBody.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import okhttp3.MediaType; -import okhttp3.RequestBody; - -import java.io.IOException; - -import okio.Buffer; -import okio.BufferedSink; -import okio.ForwardingSink; -import okio.Okio; -import okio.Sink; - -public class ProgressRequestBody extends RequestBody { - - private final RequestBody requestBody; - - private final ApiCallback callback; - - public ProgressRequestBody(RequestBody requestBody, ApiCallback callback) { - this.requestBody = requestBody; - this.callback = callback; - } - - @Override - public MediaType contentType() { - return requestBody.contentType(); - } - - @Override - public long contentLength() throws IOException { - return requestBody.contentLength(); - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - BufferedSink bufferedSink = Okio.buffer(sink(sink)); - requestBody.writeTo(bufferedSink); - bufferedSink.flush(); - } - - private Sink sink(Sink sink) { - return new ForwardingSink(sink) { - - long bytesWritten = 0L; - long contentLength = 0L; - - @Override - public void write(Buffer source, long byteCount) throws IOException { - super.write(source, byteCount); - if (contentLength == 0) { - contentLength = contentLength(); - } - - bytesWritten += byteCount; - callback.onUploadProgress(bytesWritten, contentLength, bytesWritten == contentLength); - } - }; - } -} diff --git a/src/main/java/org/openapitools/client/ProgressResponseBody.java b/src/main/java/org/openapitools/client/ProgressResponseBody.java deleted file mode 100644 index 333e639..0000000 --- a/src/main/java/org/openapitools/client/ProgressResponseBody.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import okhttp3.MediaType; -import okhttp3.ResponseBody; - -import java.io.IOException; - -import okio.Buffer; -import okio.BufferedSource; -import okio.ForwardingSource; -import okio.Okio; -import okio.Source; - -public class ProgressResponseBody extends ResponseBody { - - private final ResponseBody responseBody; - private final ApiCallback callback; - private BufferedSource bufferedSource; - - public ProgressResponseBody(ResponseBody responseBody, ApiCallback callback) { - this.responseBody = responseBody; - this.callback = callback; - } - - @Override - public MediaType contentType() { - return responseBody.contentType(); - } - - @Override - public long contentLength() { - return responseBody.contentLength(); - } - - @Override - public BufferedSource source() { - if (bufferedSource == null) { - bufferedSource = Okio.buffer(source(responseBody.source())); - } - return bufferedSource; - } - - private Source source(Source source) { - return new ForwardingSource(source) { - long totalBytesRead = 0L; - - @Override - public long read(Buffer sink, long byteCount) throws IOException { - long bytesRead = super.read(sink, byteCount); - // read() returns the number of bytes read, or -1 if this source is exhausted. - totalBytesRead += bytesRead != -1 ? bytesRead : 0; - callback.onDownloadProgress(totalBytesRead, responseBody.contentLength(), bytesRead == -1); - return bytesRead; - } - }; - } -} diff --git a/src/main/java/org/openapitools/client/ServerConfiguration.java b/src/main/java/org/openapitools/client/ServerConfiguration.java deleted file mode 100644 index ca5c118..0000000 --- a/src/main/java/org/openapitools/client/ServerConfiguration.java +++ /dev/null @@ -1,58 +0,0 @@ -package org.openapitools.client; - -import java.util.Map; - -/** - * Representing a Server configuration. - */ -public class ServerConfiguration { - public String URL; - public String description; - public Map variables; - - /** - * @param URL A URL to the target host. - * @param description A description of the host designated by the URL. - * @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template. - */ - public ServerConfiguration(String URL, String description, Map variables) { - this.URL = URL; - this.description = description; - this.variables = variables; - } - - /** - * Format URL template using given variables. - * - * @param variables A map between a variable name and its value. - * @return Formatted URL. - */ - public String URL(Map variables) { - String url = this.URL; - - // go through variables and replace placeholders - for (Map.Entry variable: this.variables.entrySet()) { - String name = variable.getKey(); - ServerVariable serverVariable = variable.getValue(); - String value = serverVariable.defaultValue; - - if (variables != null && variables.containsKey(name)) { - value = variables.get(name); - if (serverVariable.enumValues.size() > 0 && !serverVariable.enumValues.contains(value)) { - throw new IllegalArgumentException("The variable " + name + " in the server URL has invalid value " + value + "."); - } - } - url = url.replaceAll("\\{" + name + "\\}", value); - } - return url; - } - - /** - * Format URL template using default server variables. - * - * @return Formatted URL. - */ - public String URL() { - return URL(null); - } -} diff --git a/src/main/java/org/openapitools/client/ServerVariable.java b/src/main/java/org/openapitools/client/ServerVariable.java deleted file mode 100644 index c2f13e2..0000000 --- a/src/main/java/org/openapitools/client/ServerVariable.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.client; - -import java.util.HashSet; - -/** - * Representing a Server Variable for server URL template substitution. - */ -public class ServerVariable { - public String description; - public String defaultValue; - public HashSet enumValues = null; - - /** - * @param description A description for the server variable. - * @param defaultValue The default value to use for substitution. - * @param enumValues An enumeration of string values to be used if the substitution options are from a limited set. - */ - public ServerVariable(String description, String defaultValue, HashSet enumValues) { - this.description = description; - this.defaultValue = defaultValue; - this.enumValues = enumValues; - } -} diff --git a/src/main/java/org/openapitools/client/StringUtil.java b/src/main/java/org/openapitools/client/StringUtil.java deleted file mode 100644 index 1113f17..0000000 --- a/src/main/java/org/openapitools/client/StringUtil.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client; - -import java.util.Collection; -import java.util.Iterator; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class StringUtil { - /** - * Check if the given array contains the given value (with case-insensitive comparison). - * - * @param array The array - * @param value The value to search - * @return true if the array contains the value - */ - public static boolean containsIgnoreCase(String[] array, String value) { - for (String str : array) { - if (value == null && str == null) { - return true; - } - if (value != null && value.equalsIgnoreCase(str)) { - return true; - } - } - return false; - } - - /** - * Join an array of strings with the given separator. - *

- * Note: This might be replaced by utility method from commons-lang or guava someday - * if one of those libraries is added as dependency. - *

- * - * @param array The array of strings - * @param separator The separator - * @return the resulting string - */ - public static String join(String[] array, String separator) { - int len = array.length; - if (len == 0) { - return ""; - } - - StringBuilder out = new StringBuilder(); - out.append(array[0]); - for (int i = 1; i < len; i++) { - out.append(separator).append(array[i]); - } - return out.toString(); - } - - /** - * Join a list of strings with the given separator. - * - * @param list The list of strings - * @param separator The separator - * @return the resulting string - */ - public static String join(Collection list, String separator) { - Iterator iterator = list.iterator(); - StringBuilder out = new StringBuilder(); - if (iterator.hasNext()) { - out.append(iterator.next()); - } - while (iterator.hasNext()) { - out.append(separator).append(iterator.next()); - } - return out.toString(); - } -} diff --git a/src/main/java/org/openapitools/client/api/AvailabilityApi.java b/src/main/java/org/openapitools/client/api/AvailabilityApi.java deleted file mode 100644 index 05fb593..0000000 --- a/src/main/java/org/openapitools/client/api/AvailabilityApi.java +++ /dev/null @@ -1,230 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.AvailabilitySearch; -import org.openapitools.client.model.V1AvailabilitySearchPost200Response; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.ws.rs.core.GenericType; - -public class AvailabilityApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public AvailabilityApi() { - this(Configuration.getDefaultApiClient()); - } - - public AvailabilityApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for v1AvailabilitySearchPost - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1AvailabilitySearchPostCall(AvailabilitySearch availabilitySearch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = availabilitySearch; - - // create path and map variables - String localVarPath = "/v1/availability/search"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1AvailabilitySearchPostValidateBeforeCall(AvailabilitySearch availabilitySearch, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = v1AvailabilitySearchPostCall(availabilitySearch, _callback); - return localVarCall; - - } - - /** - * Search for Availability - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @return V1AvailabilitySearchPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1AvailabilitySearchPost200Response v1AvailabilitySearchPost(AvailabilitySearch availabilitySearch) throws ApiException { - ApiResponse localVarResp = v1AvailabilitySearchPostWithHttpInfo(availabilitySearch); - return localVarResp.getData(); - } - - /** - * Search for Availability - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @return ApiResponse<V1AvailabilitySearchPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1AvailabilitySearchPostWithHttpInfo(AvailabilitySearch availabilitySearch) throws ApiException { - okhttp3.Call localVarCall = v1AvailabilitySearchPostValidateBeforeCall(availabilitySearch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Search for Availability (asynchronously) - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * @param availabilitySearch Search Criteria, all parameters are optional (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1AvailabilitySearchPostAsync(AvailabilitySearch availabilitySearch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1AvailabilitySearchPostValidateBeforeCall(availabilitySearch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/org/openapitools/client/api/LocationApi.java b/src/main/java/org/openapitools/client/api/LocationApi.java deleted file mode 100644 index 683d5b3..0000000 --- a/src/main/java/org/openapitools/client/api/LocationApi.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.LocationSearch; -import org.openapitools.client.model.V1LocationSearchPost200Response; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.ws.rs.core.GenericType; - -public class LocationApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public LocationApi() { - this(Configuration.getDefaultApiClient()); - } - - public LocationApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for v1LocationSearchPost - * @param locationSearch Free-text search criteria (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1LocationSearchPostCall(LocationSearch locationSearch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = locationSearch; - - // create path and map variables - String localVarPath = "/v1/location/search"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1LocationSearchPostValidateBeforeCall(LocationSearch locationSearch, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'locationSearch' is set - if (locationSearch == null) { - throw new ApiException("Missing the required parameter 'locationSearch' when calling v1LocationSearchPost(Async)"); - } - - - okhttp3.Call localVarCall = v1LocationSearchPostCall(locationSearch, _callback); - return localVarCall; - - } - - /** - * Search for Location - * Get a location by search text in free from. This parameter is required. - * @param locationSearch Free-text search criteria (required) - * @return V1LocationSearchPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1LocationSearchPost200Response v1LocationSearchPost(LocationSearch locationSearch) throws ApiException { - ApiResponse localVarResp = v1LocationSearchPostWithHttpInfo(locationSearch); - return localVarResp.getData(); - } - - /** - * Search for Location - * Get a location by search text in free from. This parameter is required. - * @param locationSearch Free-text search criteria (required) - * @return ApiResponse<V1LocationSearchPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1LocationSearchPostWithHttpInfo(LocationSearch locationSearch) throws ApiException { - okhttp3.Call localVarCall = v1LocationSearchPostValidateBeforeCall(locationSearch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Search for Location (asynchronously) - * Get a location by search text in free from. This parameter is required. - * @param locationSearch Free-text search criteria (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1LocationSearchPostAsync(LocationSearch locationSearch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1LocationSearchPostValidateBeforeCall(locationSearch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/org/openapitools/client/api/PropertyApi.java b/src/main/java/org/openapitools/client/api/PropertyApi.java deleted file mode 100644 index 9f0526a..0000000 --- a/src/main/java/org/openapitools/client/api/PropertyApi.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.PropertyGet; -import org.openapitools.client.model.V1PropertyGetPost200Response; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.ws.rs.core.GenericType; - -public class PropertyApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PropertyApi() { - this(Configuration.getDefaultApiClient()); - } - - public PropertyApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for v1PropertyGetPost - * @param propertyGet Provide the property ID to get more information about it (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1PropertyGetPostCall(PropertyGet propertyGet, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = propertyGet; - - // create path and map variables - String localVarPath = "/v1/property/get"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "ApiKeyAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call v1PropertyGetPostValidateBeforeCall(PropertyGet propertyGet, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'propertyGet' is set - if (propertyGet == null) { - throw new ApiException("Missing the required parameter 'propertyGet' when calling v1PropertyGetPost(Async)"); - } - - - okhttp3.Call localVarCall = v1PropertyGetPostCall(propertyGet, _callback); - return localVarCall; - - } - - /** - * Get Property by ID - * Get all information about a specific property by its ID. This parameter is required. - * @param propertyGet Provide the property ID to get more information about it (required) - * @return V1PropertyGetPost200Response - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public V1PropertyGetPost200Response v1PropertyGetPost(PropertyGet propertyGet) throws ApiException { - ApiResponse localVarResp = v1PropertyGetPostWithHttpInfo(propertyGet); - return localVarResp.getData(); - } - - /** - * Get Property by ID - * Get all information about a specific property by its ID. This parameter is required. - * @param propertyGet Provide the property ID to get more information about it (required) - * @return ApiResponse<V1PropertyGetPost200Response> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public ApiResponse v1PropertyGetPostWithHttpInfo(PropertyGet propertyGet) throws ApiException { - okhttp3.Call localVarCall = v1PropertyGetPostValidateBeforeCall(propertyGet, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Property by ID (asynchronously) - * Get all information about a specific property by its ID. This parameter is required. - * @param propertyGet Provide the property ID to get more information about it (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 Successful operation -
400 Bad request - missing parameter * apiKey -
401 API Key is missing or invalid * apiKey -
403 Forbidden * apiKey -
404 Not Found * apiKey -
405 Invalid input * apiKey -
429 Rate Limiting * apiKey -
500 Internal server error * apiKey -
503 Server error * apiKey -
- */ - public okhttp3.Call v1PropertyGetPostAsync(PropertyGet propertyGet, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = v1PropertyGetPostValidateBeforeCall(propertyGet, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java deleted file mode 100644 index 30e9363..0000000 --- a/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.auth; - -import org.openapitools.client.ApiException; -import org.openapitools.client.Pair; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class ApiKeyAuth implements Authentication { - private final String location; - private final String paramName; - - private String apiKey; - private String apiKeyPrefix; - - public ApiKeyAuth(String location, String paramName) { - this.location = location; - this.paramName = paramName; - } - - public String getLocation() { - return location; - } - - public String getParamName() { - return paramName; - } - - public String getApiKey() { - return apiKey; - } - - public void setApiKey(String apiKey) { - this.apiKey = apiKey; - } - - public String getApiKeyPrefix() { - return apiKeyPrefix; - } - - public void setApiKeyPrefix(String apiKeyPrefix) { - this.apiKeyPrefix = apiKeyPrefix; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams, - String payload, String method, URI uri) throws ApiException { - if (apiKey == null) { - return; - } - String value; - if (apiKeyPrefix != null) { - value = apiKeyPrefix + " " + apiKey; - } else { - value = apiKey; - } - if ("query".equals(location)) { - queryParams.add(new Pair(paramName, value)); - } else if ("header".equals(location)) { - headerParams.put(paramName, value); - } else if ("cookie".equals(location)) { - cookieParams.put(paramName, value); - } - } -} diff --git a/src/main/java/org/openapitools/client/auth/Authentication.java b/src/main/java/org/openapitools/client/auth/Authentication.java deleted file mode 100644 index 4416777..0000000 --- a/src/main/java/org/openapitools/client/auth/Authentication.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.auth; - -import org.openapitools.client.Pair; -import org.openapitools.client.ApiException; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -public interface Authentication { - /** - * Apply authentication settings to header and query params. - * - * @param queryParams List of query parameters - * @param headerParams Map of header parameters - * @param cookieParams Map of cookie parameters - * @param payload HTTP request body - * @param method HTTP method - * @param uri URI - * @throws ApiException if failed to update the parameters - */ - void applyToParams(List queryParams, Map headerParams, Map cookieParams, String payload, String method, URI uri) throws ApiException; -} diff --git a/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java deleted file mode 100644 index ac3a2cb..0000000 --- a/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.auth; - -import org.openapitools.client.Pair; -import org.openapitools.client.ApiException; - -import okhttp3.Credentials; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -import java.io.UnsupportedEncodingException; - -public class HttpBasicAuth implements Authentication { - private String username; - private String password; - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams, - String payload, String method, URI uri) throws ApiException { - if (username == null && password == null) { - return; - } - headerParams.put("Authorization", Credentials.basic( - username == null ? "" : username, - password == null ? "" : password)); - } -} diff --git a/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java deleted file mode 100644 index 2148414..0000000 --- a/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.auth; - -import org.openapitools.client.ApiException; -import org.openapitools.client.Pair; - -import java.net.URI; -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class HttpBearerAuth implements Authentication { - private final String scheme; - private String bearerToken; - - public HttpBearerAuth(String scheme) { - this.scheme = scheme; - } - - /** - * Gets the token, which together with the scheme, will be sent as the value of the Authorization header. - * - * @return The bearer token - */ - public String getBearerToken() { - return bearerToken; - } - - /** - * Sets the token, which together with the scheme, will be sent as the value of the Authorization header. - * - * @param bearerToken The bearer token to send in the Authorization header - */ - public void setBearerToken(String bearerToken) { - this.bearerToken = bearerToken; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams, - String payload, String method, URI uri) throws ApiException { - if (bearerToken == null) { - return; - } - - headerParams.put("Authorization", (scheme != null ? upperCaseBearer(scheme) + " " : "") + bearerToken); - } - - private static String upperCaseBearer(String scheme) { - return ("bearer".equalsIgnoreCase(scheme)) ? "Bearer" : scheme; - } -} diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java deleted file mode 100644 index 5fed8a4..0000000 --- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import org.openapitools.client.ApiException; -import java.util.Objects; -import java.lang.reflect.Type; -import java.util.Map; -import javax.ws.rs.core.GenericType; - -//import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public abstract class AbstractOpenApiSchema { - - // store the actual instance of the schema/object - private Object instance; - - // is nullable - private Boolean isNullable; - - // schema type (e.g. oneOf, anyOf) - private final String schemaType; - - public AbstractOpenApiSchema(String schemaType, Boolean isNullable) { - this.schemaType = schemaType; - this.isNullable = isNullable; - } - - /** - * Get the list of oneOf/anyOf composed schemas allowed to be stored in this object - * - * @return an instance of the actual schema/object - */ - public abstract Map getSchemas(); - - /** - * Get the actual instance - * - * @return an instance of the actual schema/object - */ - //@JsonValue - public Object getActualInstance() {return instance;} - - /** - * Set the actual instance - * - * @param instance the actual instance of the schema/object - */ - public void setActualInstance(Object instance) {this.instance = instance;} - - /** - * Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well - * - * @return an instance of the actual schema/object - */ - public Object getActualInstanceRecursively() { - return getActualInstanceRecursively(this); - } - - private Object getActualInstanceRecursively(AbstractOpenApiSchema object) { - if (object.getActualInstance() == null) { - return null; - } else if (object.getActualInstance() instanceof AbstractOpenApiSchema) { - return getActualInstanceRecursively((AbstractOpenApiSchema)object.getActualInstance()); - } else { - return object.getActualInstance(); - } - } - - /** - * Get the schema type (e.g. anyOf, oneOf) - * - * @return the schema type - */ - public String getSchemaType() { - return schemaType; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ").append(getClass()).append(" {\n"); - sb.append(" instance: ").append(toIndentedString(instance)).append("\n"); - sb.append(" isNullable: ").append(toIndentedString(isNullable)).append("\n"); - sb.append(" schemaType: ").append(toIndentedString(schemaType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AbstractOpenApiSchema a = (AbstractOpenApiSchema) o; - return Objects.equals(this.instance, a.instance) && - Objects.equals(this.isNullable, a.isNullable) && - Objects.equals(this.schemaType, a.schemaType); - } - - @Override - public int hashCode() { - return Objects.hash(instance, isNullable, schemaType); - } - - /** - * Is nullable - * - * @return true if it's nullable - */ - public Boolean isNullable() { - if (Boolean.TRUE.equals(isNullable)) { - return Boolean.TRUE; - } else { - return Boolean.FALSE; - } - } - - - -} diff --git a/src/main/java/org/openapitools/client/model/AvailabilitySearch.java b/src/main/java/org/openapitools/client/model/AvailabilitySearch.java deleted file mode 100644 index 5a6ec82..0000000 --- a/src/main/java/org/openapitools/client/model/AvailabilitySearch.java +++ /dev/null @@ -1,744 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.time.LocalDate; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * AvailabilitySearch - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class AvailabilitySearch { - public static final String SERIALIZED_NAME_ADULT_COUNT = "adultCount"; - @SerializedName(SERIALIZED_NAME_ADULT_COUNT) - private BigDecimal adultCount; - - public static final String SERIALIZED_NAME_CHILD_COUNT = "childCount"; - @SerializedName(SERIALIZED_NAME_CHILD_COUNT) - private BigDecimal childCount; - - public static final String SERIALIZED_NAME_CHILD_AGE_LIST = "childAgeList"; - @SerializedName(SERIALIZED_NAME_CHILD_AGE_LIST) - private List childAgeList = null; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_MIN_LENGTH_OF_STAY = "minLengthOfStay"; - @SerializedName(SERIALIZED_NAME_MIN_LENGTH_OF_STAY) - private BigDecimal minLengthOfStay; - - public static final String SERIALIZED_NAME_MAX_LENGTH_OF_STAY = "maxLengthOfStay"; - @SerializedName(SERIALIZED_NAME_MAX_LENGTH_OF_STAY) - private BigDecimal maxLengthOfStay; - - public static final String SERIALIZED_NAME_LOCATION_NAME = "locationName"; - @SerializedName(SERIALIZED_NAME_LOCATION_NAME) - private String locationName; - - public static final String SERIALIZED_NAME_LOCATION_TYPE = "locationType"; - @SerializedName(SERIALIZED_NAME_LOCATION_TYPE) - private String locationType; - - public static final String SERIALIZED_NAME_EARLIEST_ARRIVAL = "earliestArrival"; - @SerializedName(SERIALIZED_NAME_EARLIEST_ARRIVAL) - private LocalDate earliestArrival; - - public static final String SERIALIZED_NAME_LATEST_RETURN = "latestReturn"; - @SerializedName(SERIALIZED_NAME_LATEST_RETURN) - private LocalDate latestReturn; - - public static final String SERIALIZED_NAME_SORT = "sort"; - @SerializedName(SERIALIZED_NAME_SORT) - private String sort; - - public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; - @SerializedName(SERIALIZED_NAME_SERVICE_LIST) - private List serviceList = null; - - public static final String SERIALIZED_NAME_TYPE_LIST = "typeList"; - @SerializedName(SERIALIZED_NAME_TYPE_LIST) - private List typeList = null; - - public static final String SERIALIZED_NAME_UNIT_TYPE_LIST = "unitTypeList"; - @SerializedName(SERIALIZED_NAME_UNIT_TYPE_LIST) - private List unitTypeList = null; - - public static final String SERIALIZED_NAME_UNIT_AMENITY_LIST = "unitAmenityList"; - @SerializedName(SERIALIZED_NAME_UNIT_AMENITY_LIST) - private List unitAmenityList = null; - - public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; - @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) - private List mealPlanList = null; - - public AvailabilitySearch() { - } - - public AvailabilitySearch adultCount(BigDecimal adultCount) { - - this.adultCount = adultCount; - return this; - } - - /** - * Get adultCount - * @return adultCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2", value = "") - - public BigDecimal getAdultCount() { - return adultCount; - } - - - public void setAdultCount(BigDecimal adultCount) { - this.adultCount = adultCount; - } - - - public AvailabilitySearch childCount(BigDecimal childCount) { - - this.childCount = childCount; - return this; - } - - /** - * Get childCount - * @return childCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2", value = "") - - public BigDecimal getChildCount() { - return childCount; - } - - - public void setChildCount(BigDecimal childCount) { - this.childCount = childCount; - } - - - public AvailabilitySearch childAgeList(List childAgeList) { - - this.childAgeList = childAgeList; - return this; - } - - public AvailabilitySearch addChildAgeListItem(BigDecimal childAgeListItem) { - if (this.childAgeList == null) { - this.childAgeList = new ArrayList<>(); - } - this.childAgeList.add(childAgeListItem); - return this; - } - - /** - * Get childAgeList - * @return childAgeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getChildAgeList() { - return childAgeList; - } - - - public void setChildAgeList(List childAgeList) { - this.childAgeList = childAgeList; - } - - - public AvailabilitySearch currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public AvailabilitySearch minLengthOfStay(BigDecimal minLengthOfStay) { - - this.minLengthOfStay = minLengthOfStay; - return this; - } - - /** - * Get minLengthOfStay - * @return minLengthOfStay - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getMinLengthOfStay() { - return minLengthOfStay; - } - - - public void setMinLengthOfStay(BigDecimal minLengthOfStay) { - this.minLengthOfStay = minLengthOfStay; - } - - - public AvailabilitySearch maxLengthOfStay(BigDecimal maxLengthOfStay) { - - this.maxLengthOfStay = maxLengthOfStay; - return this; - } - - /** - * Get maxLengthOfStay - * @return maxLengthOfStay - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "27", value = "") - - public BigDecimal getMaxLengthOfStay() { - return maxLengthOfStay; - } - - - public void setMaxLengthOfStay(BigDecimal maxLengthOfStay) { - this.maxLengthOfStay = maxLengthOfStay; - } - - - public AvailabilitySearch locationName(String locationName) { - - this.locationName = locationName; - return this; - } - - /** - * Get locationName - * @return locationName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Oberbayern", value = "") - - public String getLocationName() { - return locationName; - } - - - public void setLocationName(String locationName) { - this.locationName = locationName; - } - - - public AvailabilitySearch locationType(String locationType) { - - this.locationType = locationType; - return this; - } - - /** - * Get locationType - * @return locationType - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "locality", value = "") - - public String getLocationType() { - return locationType; - } - - - public void setLocationType(String locationType) { - this.locationType = locationType; - } - - - public AvailabilitySearch earliestArrival(LocalDate earliestArrival) { - - this.earliestArrival = earliestArrival; - return this; - } - - /** - * Get earliestArrival - * @return earliestArrival - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Thu Sep 01 00:00:00 UTC 2022", value = "") - - public LocalDate getEarliestArrival() { - return earliestArrival; - } - - - public void setEarliestArrival(LocalDate earliestArrival) { - this.earliestArrival = earliestArrival; - } - - - public AvailabilitySearch latestReturn(LocalDate latestReturn) { - - this.latestReturn = latestReturn; - return this; - } - - /** - * Get latestReturn - * @return latestReturn - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Thu Sep 08 00:00:00 UTC 2022", value = "") - - public LocalDate getLatestReturn() { - return latestReturn; - } - - - public void setLatestReturn(LocalDate latestReturn) { - this.latestReturn = latestReturn; - } - - - public AvailabilitySearch sort(String sort) { - - this.sort = sort; - return this; - } - - /** - * Get sort - * @return sort - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "quality", value = "") - - public String getSort() { - return sort; - } - - - public void setSort(String sort) { - this.sort = sort; - } - - - public AvailabilitySearch serviceList(List serviceList) { - - this.serviceList = serviceList; - return this; - } - - public AvailabilitySearch addServiceListItem(BigDecimal serviceListItem) { - if (this.serviceList == null) { - this.serviceList = new ArrayList<>(); - } - this.serviceList.add(serviceListItem); - return this; - } - - /** - * Get serviceList - * @return serviceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getServiceList() { - return serviceList; - } - - - public void setServiceList(List serviceList) { - this.serviceList = serviceList; - } - - - public AvailabilitySearch typeList(List typeList) { - - this.typeList = typeList; - return this; - } - - public AvailabilitySearch addTypeListItem(BigDecimal typeListItem) { - if (this.typeList == null) { - this.typeList = new ArrayList<>(); - } - this.typeList.add(typeListItem); - return this; - } - - /** - * Get typeList - * @return typeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTypeList() { - return typeList; - } - - - public void setTypeList(List typeList) { - this.typeList = typeList; - } - - - public AvailabilitySearch unitTypeList(List unitTypeList) { - - this.unitTypeList = unitTypeList; - return this; - } - - public AvailabilitySearch addUnitTypeListItem(BigDecimal unitTypeListItem) { - if (this.unitTypeList == null) { - this.unitTypeList = new ArrayList<>(); - } - this.unitTypeList.add(unitTypeListItem); - return this; - } - - /** - * Get unitTypeList - * @return unitTypeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getUnitTypeList() { - return unitTypeList; - } - - - public void setUnitTypeList(List unitTypeList) { - this.unitTypeList = unitTypeList; - } - - - public AvailabilitySearch unitAmenityList(List unitAmenityList) { - - this.unitAmenityList = unitAmenityList; - return this; - } - - public AvailabilitySearch addUnitAmenityListItem(BigDecimal unitAmenityListItem) { - if (this.unitAmenityList == null) { - this.unitAmenityList = new ArrayList<>(); - } - this.unitAmenityList.add(unitAmenityListItem); - return this; - } - - /** - * Get unitAmenityList - * @return unitAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getUnitAmenityList() { - return unitAmenityList; - } - - - public void setUnitAmenityList(List unitAmenityList) { - this.unitAmenityList = unitAmenityList; - } - - - public AvailabilitySearch mealPlanList(List mealPlanList) { - - this.mealPlanList = mealPlanList; - return this; - } - - public AvailabilitySearch addMealPlanListItem(BigDecimal mealPlanListItem) { - if (this.mealPlanList == null) { - this.mealPlanList = new ArrayList<>(); - } - this.mealPlanList.add(mealPlanListItem); - return this; - } - - /** - * Get mealPlanList - * @return mealPlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMealPlanList() { - return mealPlanList; - } - - - public void setMealPlanList(List mealPlanList) { - this.mealPlanList = mealPlanList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AvailabilitySearch availabilitySearch = (AvailabilitySearch) o; - return Objects.equals(this.adultCount, availabilitySearch.adultCount) && - Objects.equals(this.childCount, availabilitySearch.childCount) && - Objects.equals(this.childAgeList, availabilitySearch.childAgeList) && - Objects.equals(this.currencyCode, availabilitySearch.currencyCode) && - Objects.equals(this.minLengthOfStay, availabilitySearch.minLengthOfStay) && - Objects.equals(this.maxLengthOfStay, availabilitySearch.maxLengthOfStay) && - Objects.equals(this.locationName, availabilitySearch.locationName) && - Objects.equals(this.locationType, availabilitySearch.locationType) && - Objects.equals(this.earliestArrival, availabilitySearch.earliestArrival) && - Objects.equals(this.latestReturn, availabilitySearch.latestReturn) && - Objects.equals(this.sort, availabilitySearch.sort) && - Objects.equals(this.serviceList, availabilitySearch.serviceList) && - Objects.equals(this.typeList, availabilitySearch.typeList) && - Objects.equals(this.unitTypeList, availabilitySearch.unitTypeList) && - Objects.equals(this.unitAmenityList, availabilitySearch.unitAmenityList) && - Objects.equals(this.mealPlanList, availabilitySearch.mealPlanList); - } - - @Override - public int hashCode() { - return Objects.hash(adultCount, childCount, childAgeList, currencyCode, minLengthOfStay, maxLengthOfStay, locationName, locationType, earliestArrival, latestReturn, sort, serviceList, typeList, unitTypeList, unitAmenityList, mealPlanList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AvailabilitySearch {\n"); - sb.append(" adultCount: ").append(toIndentedString(adultCount)).append("\n"); - sb.append(" childCount: ").append(toIndentedString(childCount)).append("\n"); - sb.append(" childAgeList: ").append(toIndentedString(childAgeList)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" minLengthOfStay: ").append(toIndentedString(minLengthOfStay)).append("\n"); - sb.append(" maxLengthOfStay: ").append(toIndentedString(maxLengthOfStay)).append("\n"); - sb.append(" locationName: ").append(toIndentedString(locationName)).append("\n"); - sb.append(" locationType: ").append(toIndentedString(locationType)).append("\n"); - sb.append(" earliestArrival: ").append(toIndentedString(earliestArrival)).append("\n"); - sb.append(" latestReturn: ").append(toIndentedString(latestReturn)).append("\n"); - sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); - sb.append(" typeList: ").append(toIndentedString(typeList)).append("\n"); - sb.append(" unitTypeList: ").append(toIndentedString(unitTypeList)).append("\n"); - sb.append(" unitAmenityList: ").append(toIndentedString(unitAmenityList)).append("\n"); - sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("adultCount"); - openapiFields.add("childCount"); - openapiFields.add("childAgeList"); - openapiFields.add("currencyCode"); - openapiFields.add("minLengthOfStay"); - openapiFields.add("maxLengthOfStay"); - openapiFields.add("locationName"); - openapiFields.add("locationType"); - openapiFields.add("earliestArrival"); - openapiFields.add("latestReturn"); - openapiFields.add("sort"); - openapiFields.add("serviceList"); - openapiFields.add("typeList"); - openapiFields.add("unitTypeList"); - openapiFields.add("unitAmenityList"); - openapiFields.add("mealPlanList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to AvailabilitySearch - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (AvailabilitySearch.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in AvailabilitySearch is not found in the empty JSON string", AvailabilitySearch.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!AvailabilitySearch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AvailabilitySearch` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // ensure the json data is an array - if (jsonObj.get("childAgeList") != null && !jsonObj.get("childAgeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `childAgeList` to be an array in the JSON string but got `%s`", jsonObj.get("childAgeList").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - if (jsonObj.get("locationName") != null && !jsonObj.get("locationName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locationName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locationName").toString())); - } - if (jsonObj.get("locationType") != null && !jsonObj.get("locationType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locationType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locationType").toString())); - } - if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sort` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sort").toString())); - } - // ensure the json data is an array - if (jsonObj.get("serviceList") != null && !jsonObj.get("serviceList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("typeList") != null && !jsonObj.get("typeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `typeList` to be an array in the JSON string but got `%s`", jsonObj.get("typeList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("unitTypeList") != null && !jsonObj.get("unitTypeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `unitTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("unitTypeList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("unitAmenityList") != null && !jsonObj.get("unitAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `unitAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("unitAmenityList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("mealPlanList") != null && !jsonObj.get("mealPlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!AvailabilitySearch.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AvailabilitySearch' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(AvailabilitySearch.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AvailabilitySearch value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public AvailabilitySearch read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of AvailabilitySearch given an JSON string - * - * @param jsonString JSON string - * @return An instance of AvailabilitySearch - * @throws IOException if the JSON string is invalid with respect to AvailabilitySearch - */ - public static AvailabilitySearch fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AvailabilitySearch.class); - } - - /** - * Convert an instance of AvailabilitySearch to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/PropertyGet.java b/src/main/java/org/openapitools/client/model/PropertyGet.java deleted file mode 100644 index b138689..0000000 --- a/src/main/java/org/openapitools/client/model/PropertyGet.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * PropertyGet - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class PropertyGet { - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public PropertyGet() { - } - - public PropertyGet propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PropertyGet propertyGet = (PropertyGet) o; - return Objects.equals(this.propertyId, propertyGet.propertyId); - } - - @Override - public int hashCode() { - return Objects.hash(propertyId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PropertyGet {\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("propertyId"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to PropertyGet - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (PropertyGet.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in PropertyGet is not found in the empty JSON string", PropertyGet.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!PropertyGet.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PropertyGet` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PropertyGet.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PropertyGet' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PropertyGet.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PropertyGet value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PropertyGet read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PropertyGet given an JSON string - * - * @param jsonString JSON string - * @return An instance of PropertyGet - * @throws IOException if the JSON string is invalid with respect to PropertyGet - */ - public static PropertyGet fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PropertyGet.class); - } - - /** - * Convert an instance of PropertyGet to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200Response.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200Response.java deleted file mode 100644 index 7f89295..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200Response.java +++ /dev/null @@ -1,262 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200Response - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200Response { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_LIST = "list"; - @SerializedName(SERIALIZED_NAME_LIST) - private List _list = null; - - public V1AvailabilitySearchPost200Response() { - } - - public V1AvailabilitySearchPost200Response languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1AvailabilitySearchPost200Response _list(List _list) { - - this._list = _list; - return this; - } - - public V1AvailabilitySearchPost200Response addListItem(V1AvailabilitySearchPost200ResponseListInner _listItem) { - if (this._list == null) { - this._list = new ArrayList<>(); - } - this._list.add(_listItem); - return this; - } - - /** - * Get _list - * @return _list - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getList() { - return _list; - } - - - public void setList(List _list) { - this._list = _list; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200Response v1AvailabilitySearchPost200Response = (V1AvailabilitySearchPost200Response) o; - return Objects.equals(this.languageCode, v1AvailabilitySearchPost200Response.languageCode) && - Objects.equals(this._list, v1AvailabilitySearchPost200Response._list); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, _list); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200Response {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("list"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200Response - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200Response is not found in the empty JSON string", V1AvailabilitySearchPost200Response.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); - if (jsonArray_list != null) { - // ensure the json data is an array - if (!jsonObj.get("list").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); - } - - // validate the optional field `list` (array) - for (int i = 0; i < jsonArray_list.size(); i++) { - V1AvailabilitySearchPost200ResponseListInner.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200Response' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200Response.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200Response value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200Response read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200Response given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200Response - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200Response - */ - public static V1AvailabilitySearchPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200Response.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200Response to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInner.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInner.java deleted file mode 100644 index 8aa6744..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInner.java +++ /dev/null @@ -1,699 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInner; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerGeo; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerLowestPrice; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerMediaListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_UNIT_SYSTEM = "unitSystem"; - @SerializedName(SERIALIZED_NAME_UNIT_SYSTEM) - private String unitSystem; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_URI = "uri"; - @SerializedName(SERIALIZED_NAME_URI) - private String uri; - - public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; - @SerializedName(SERIALIZED_NAME_SERVICE_LIST) - private List serviceList = null; - - public static final String SERIALIZED_NAME_CATEGORY_LIST = "categoryList"; - @SerializedName(SERIALIZED_NAME_CATEGORY_LIST) - private List categoryList = null; - - public static final String SERIALIZED_NAME_URI_PATH = "uriPath"; - @SerializedName(SERIALIZED_NAME_URI_PATH) - private String uriPath; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public static final String SERIALIZED_NAME_GEO = "geo"; - @SerializedName(SERIALIZED_NAME_GEO) - private V1AvailabilitySearchPost200ResponseListInnerGeo geo; - - public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; - @SerializedName(SERIALIZED_NAME_MEDIA_LIST) - private List mediaList = null; - - public static final String SERIALIZED_NAME_ATTRACTION_LIST = "attractionList"; - @SerializedName(SERIALIZED_NAME_ATTRACTION_LIST) - private List attractionList = null; - - public static final String SERIALIZED_NAME_LOWEST_PRICE = "lowestPrice"; - @SerializedName(SERIALIZED_NAME_LOWEST_PRICE) - private V1AvailabilitySearchPost200ResponseListInnerLowestPrice lowestPrice; - - public V1AvailabilitySearchPost200ResponseListInner() { - } - - public V1AvailabilitySearchPost200ResponseListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "landhaus-treskersand", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1AvailabilitySearchPost200ResponseListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1AvailabilitySearchPost200ResponseListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1AvailabilitySearchPost200ResponseListInner unitSystem(String unitSystem) { - - this.unitSystem = unitSystem; - return this; - } - - /** - * Get unitSystem - * @return unitSystem - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "metric", value = "") - - public String getUnitSystem() { - return unitSystem; - } - - - public void setUnitSystem(String unitSystem) { - this.unitSystem = unitSystem; - } - - - public V1AvailabilitySearchPost200ResponseListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Landhaus Treskersand", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1AvailabilitySearchPost200ResponseListInner uri(String uri) { - - this.uri = uri; - return this; - } - - /** - * Get uri - * @return uri - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "landhaus-treskersand", value = "") - - public String getUri() { - return uri; - } - - - public void setUri(String uri) { - this.uri = uri; - } - - - public V1AvailabilitySearchPost200ResponseListInner serviceList(List serviceList) { - - this.serviceList = serviceList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addServiceListItem(BigDecimal serviceListItem) { - if (this.serviceList == null) { - this.serviceList = new ArrayList<>(); - } - this.serviceList.add(serviceListItem); - return this; - } - - /** - * Get serviceList - * @return serviceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getServiceList() { - return serviceList; - } - - - public void setServiceList(List serviceList) { - this.serviceList = serviceList; - } - - - public V1AvailabilitySearchPost200ResponseListInner categoryList(List categoryList) { - - this.categoryList = categoryList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addCategoryListItem(BigDecimal categoryListItem) { - if (this.categoryList == null) { - this.categoryList = new ArrayList<>(); - } - this.categoryList.add(categoryListItem); - return this; - } - - /** - * Get categoryList - * @return categoryList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCategoryList() { - return categoryList; - } - - - public void setCategoryList(List categoryList) { - this.categoryList = categoryList; - } - - - public V1AvailabilitySearchPost200ResponseListInner uriPath(String uriPath) { - - this.uriPath = uriPath; - return this; - } - - /** - * Get uriPath - * @return uriPath - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "deutschland/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand", value = "") - - public String getUriPath() { - return uriPath; - } - - - public void setUriPath(String uriPath) { - this.uriPath = uriPath; - } - - - public V1AvailabilitySearchPost200ResponseListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Im Herzen der Insel-im Süden von Tinnum in einer ruhigen Seitenstrasse unmittelbar an den Tinnumer Wiesen liegt das wunderschöne Landhaus Treskersand mit seiner Wohnung unter Reet.", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - public V1AvailabilitySearchPost200ResponseListInner geo(V1AvailabilitySearchPost200ResponseListInnerGeo geo) { - - this.geo = geo; - return this; - } - - /** - * Get geo - * @return geo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerGeo getGeo() { - return geo; - } - - - public void setGeo(V1AvailabilitySearchPost200ResponseListInnerGeo geo) { - this.geo = geo; - } - - - public V1AvailabilitySearchPost200ResponseListInner mediaList(List mediaList) { - - this.mediaList = mediaList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addMediaListItem(V1AvailabilitySearchPost200ResponseListInnerMediaListInner mediaListItem) { - if (this.mediaList == null) { - this.mediaList = new ArrayList<>(); - } - this.mediaList.add(mediaListItem); - return this; - } - - /** - * Get mediaList - * @return mediaList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMediaList() { - return mediaList; - } - - - public void setMediaList(List mediaList) { - this.mediaList = mediaList; - } - - - public V1AvailabilitySearchPost200ResponseListInner attractionList(List attractionList) { - - this.attractionList = attractionList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInner addAttractionListItem(V1AvailabilitySearchPost200ResponseListInnerAttractionListInner attractionListItem) { - if (this.attractionList == null) { - this.attractionList = new ArrayList<>(); - } - this.attractionList.add(attractionListItem); - return this; - } - - /** - * Get attractionList - * @return attractionList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAttractionList() { - return attractionList; - } - - - public void setAttractionList(List attractionList) { - this.attractionList = attractionList; - } - - - public V1AvailabilitySearchPost200ResponseListInner lowestPrice(V1AvailabilitySearchPost200ResponseListInnerLowestPrice lowestPrice) { - - this.lowestPrice = lowestPrice; - return this; - } - - /** - * Get lowestPrice - * @return lowestPrice - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice getLowestPrice() { - return lowestPrice; - } - - - public void setLowestPrice(V1AvailabilitySearchPost200ResponseListInnerLowestPrice lowestPrice) { - this.lowestPrice = lowestPrice; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInner v1AvailabilitySearchPost200ResponseListInner = (V1AvailabilitySearchPost200ResponseListInner) o; - return Objects.equals(this.code, v1AvailabilitySearchPost200ResponseListInner.code) && - Objects.equals(this.languageCode, v1AvailabilitySearchPost200ResponseListInner.languageCode) && - Objects.equals(this.currencyCode, v1AvailabilitySearchPost200ResponseListInner.currencyCode) && - Objects.equals(this.unitSystem, v1AvailabilitySearchPost200ResponseListInner.unitSystem) && - Objects.equals(this.name, v1AvailabilitySearchPost200ResponseListInner.name) && - Objects.equals(this.uri, v1AvailabilitySearchPost200ResponseListInner.uri) && - Objects.equals(this.serviceList, v1AvailabilitySearchPost200ResponseListInner.serviceList) && - Objects.equals(this.categoryList, v1AvailabilitySearchPost200ResponseListInner.categoryList) && - Objects.equals(this.uriPath, v1AvailabilitySearchPost200ResponseListInner.uriPath) && - Objects.equals(this.text, v1AvailabilitySearchPost200ResponseListInner.text) && - Objects.equals(this.geo, v1AvailabilitySearchPost200ResponseListInner.geo) && - Objects.equals(this.mediaList, v1AvailabilitySearchPost200ResponseListInner.mediaList) && - Objects.equals(this.attractionList, v1AvailabilitySearchPost200ResponseListInner.attractionList) && - Objects.equals(this.lowestPrice, v1AvailabilitySearchPost200ResponseListInner.lowestPrice); - } - - @Override - public int hashCode() { - return Objects.hash(code, languageCode, currencyCode, unitSystem, name, uri, serviceList, categoryList, uriPath, text, geo, mediaList, attractionList, lowestPrice); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" unitSystem: ").append(toIndentedString(unitSystem)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); - sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); - sb.append(" categoryList: ").append(toIndentedString(categoryList)).append("\n"); - sb.append(" uriPath: ").append(toIndentedString(uriPath)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append(" geo: ").append(toIndentedString(geo)).append("\n"); - sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); - sb.append(" attractionList: ").append(toIndentedString(attractionList)).append("\n"); - sb.append(" lowestPrice: ").append(toIndentedString(lowestPrice)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("languageCode"); - openapiFields.add("currencyCode"); - openapiFields.add("unitSystem"); - openapiFields.add("name"); - openapiFields.add("uri"); - openapiFields.add("serviceList"); - openapiFields.add("categoryList"); - openapiFields.add("uriPath"); - openapiFields.add("text"); - openapiFields.add("geo"); - openapiFields.add("mediaList"); - openapiFields.add("attractionList"); - openapiFields.add("lowestPrice"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInner is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - if (jsonObj.get("unitSystem") != null && !jsonObj.get("unitSystem").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `unitSystem` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitSystem").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("uri") != null && !jsonObj.get("uri").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uri").toString())); - } - // ensure the json data is an array - if (jsonObj.get("serviceList") != null && !jsonObj.get("serviceList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("categoryList") != null && !jsonObj.get("categoryList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `categoryList` to be an array in the JSON string but got `%s`", jsonObj.get("categoryList").toString())); - } - if (jsonObj.get("uriPath") != null && !jsonObj.get("uriPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uriPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uriPath").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - // validate the optional field `geo` - if (jsonObj.getAsJsonObject("geo") != null) { - V1AvailabilitySearchPost200ResponseListInnerGeo.validateJsonObject(jsonObj.getAsJsonObject("geo")); - } - JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); - if (jsonArraymediaList != null) { - // ensure the json data is an array - if (!jsonObj.get("mediaList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); - } - - // validate the optional field `mediaList` (array) - for (int i = 0; i < jsonArraymediaList.size(); i++) { - V1AvailabilitySearchPost200ResponseListInnerMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArrayattractionList = jsonObj.getAsJsonArray("attractionList"); - if (jsonArrayattractionList != null) { - // ensure the json data is an array - if (!jsonObj.get("attractionList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `attractionList` to be an array in the JSON string but got `%s`", jsonObj.get("attractionList").toString())); - } - - // validate the optional field `attractionList` (array) - for (int i = 0; i < jsonArrayattractionList.size(); i++) { - V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.validateJsonObject(jsonArrayattractionList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `lowestPrice` - if (jsonObj.getAsJsonObject("lowestPrice") != null) { - V1AvailabilitySearchPost200ResponseListInnerLowestPrice.validateJsonObject(jsonObj.getAsJsonObject("lowestPrice")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInner - */ - public static V1AvailabilitySearchPost200ResponseListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInner.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java deleted file mode 100644 index f47df81..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInner { - public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; - @SerializedName(SERIALIZED_NAME_TYPE_CODE) - private BigDecimal typeCode; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_DISTANCE = "distance"; - @SerializedName(SERIALIZED_NAME_DISTANCE) - private V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance distance; - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner() { - } - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner typeCode(BigDecimal typeCode) { - - this.typeCode = typeCode; - return this; - } - - /** - * Get typeCode - * @return typeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getTypeCode() { - return typeCode; - } - - - public void setTypeCode(BigDecimal typeCode) { - this.typeCode = typeCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Flughafen Sylt", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner distance(V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance distance) { - - this.distance = distance; - return this; - } - - /** - * Get distance - * @return distance - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance getDistance() { - return distance; - } - - - public void setDistance(V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance distance) { - this.distance = distance; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerAttractionListInner v1AvailabilitySearchPost200ResponseListInnerAttractionListInner = (V1AvailabilitySearchPost200ResponseListInnerAttractionListInner) o; - return Objects.equals(this.typeCode, v1AvailabilitySearchPost200ResponseListInnerAttractionListInner.typeCode) && - Objects.equals(this.name, v1AvailabilitySearchPost200ResponseListInnerAttractionListInner.name) && - Objects.equals(this.distance, v1AvailabilitySearchPost200ResponseListInnerAttractionListInner.distance); - } - - @Override - public int hashCode() { - return Objects.hash(typeCode, name, distance); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerAttractionListInner {\n"); - sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" distance: ").append(toIndentedString(distance)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("typeCode"); - openapiFields.add("name"); - openapiFields.add("distance"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerAttractionListInner is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerAttractionListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - // validate the optional field `distance` - if (jsonObj.getAsJsonObject("distance") != null) { - V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.validateJsonObject(jsonObj.getAsJsonObject("distance")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerAttractionListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerAttractionListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ - public static V1AvailabilitySearchPost200ResponseListInnerAttractionListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerAttractionListInner.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java deleted file mode 100644 index a9be6ae..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance { - public static final String SERIALIZED_NAME_VALUE = "value"; - @SerializedName(SERIALIZED_NAME_VALUE) - private BigDecimal value; - - public static final String SERIALIZED_NAME_UNIT = "unit"; - @SerializedName(SERIALIZED_NAME_UNIT) - private String unit; - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance() { - } - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance value(BigDecimal value) { - - this.value = value; - return this; - } - - /** - * Get value - * @return value - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2800", value = "") - - public BigDecimal getValue() { - return value; - } - - - public void setValue(BigDecimal value) { - this.value = value; - } - - - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance unit(String unit) { - - this.unit = unit; - return this; - } - - /** - * Get unit - * @return unit - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "m", value = "") - - public String getUnit() { - return unit; - } - - - public void setUnit(String unit) { - this.unit = unit; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance v1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance = (V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance) o; - return Objects.equals(this.value, v1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.value) && - Objects.equals(this.unit, v1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.unit); - } - - @Override - public int hashCode() { - return Objects.hash(value, unit); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance {\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" unit: ").append(toIndentedString(unit)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("value"); - openapiFields.add("unit"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("unit") != null && !jsonObj.get("unit").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `unit` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unit").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ - public static V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java deleted file mode 100644 index 4d9d26c..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeo.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerGeoLocation; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerGeo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerGeo { - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1AvailabilitySearchPost200ResponseListInnerGeoLocation location; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public V1AvailabilitySearchPost200ResponseListInnerGeo() { - } - - public V1AvailabilitySearchPost200ResponseListInnerGeo country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Deutschland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westertresker 2 25980 Sylt Deutschland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tinnum", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tinnum", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westertresker", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo location(V1AvailabilitySearchPost200ResponseListInnerGeoLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation getLocation() { - return location; - } - - - public void setLocation(V1AvailabilitySearchPost200ResponseListInnerGeoLocation location) { - this.location = location; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeo placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJ5fZnV2TdtEcRHUC697Z0nhw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerGeo v1AvailabilitySearchPost200ResponseListInnerGeo = (V1AvailabilitySearchPost200ResponseListInnerGeo) o; - return Objects.equals(this.country, v1AvailabilitySearchPost200ResponseListInnerGeo.country) && - Objects.equals(this.formattedAddress, v1AvailabilitySearchPost200ResponseListInnerGeo.formattedAddress) && - Objects.equals(this.locality, v1AvailabilitySearchPost200ResponseListInnerGeo.locality) && - Objects.equals(this.sublocality, v1AvailabilitySearchPost200ResponseListInnerGeo.sublocality) && - Objects.equals(this.language, v1AvailabilitySearchPost200ResponseListInnerGeo.language) && - Objects.equals(this.establishment, v1AvailabilitySearchPost200ResponseListInnerGeo.establishment) && - Objects.equals(this.countryCode, v1AvailabilitySearchPost200ResponseListInnerGeo.countryCode) && - Objects.equals(this.sublocalityLevel1, v1AvailabilitySearchPost200ResponseListInnerGeo.sublocalityLevel1) && - Objects.equals(this.route, v1AvailabilitySearchPost200ResponseListInnerGeo.route) && - Objects.equals(this.administrativeAreaLevel3, v1AvailabilitySearchPost200ResponseListInnerGeo.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1AvailabilitySearchPost200ResponseListInnerGeo.administrativeAreaLevel1) && - Objects.equals(this.streetNumber, v1AvailabilitySearchPost200ResponseListInnerGeo.streetNumber) && - Objects.equals(this.location, v1AvailabilitySearchPost200ResponseListInnerGeo.location) && - Objects.equals(this.stateCode, v1AvailabilitySearchPost200ResponseListInnerGeo.stateCode) && - Objects.equals(this.postalCode, v1AvailabilitySearchPost200ResponseListInnerGeo.postalCode) && - Objects.equals(this.naturalFeature, v1AvailabilitySearchPost200ResponseListInnerGeo.naturalFeature) && - Objects.equals(this.placeId, v1AvailabilitySearchPost200ResponseListInnerGeo.placeId); - } - - @Override - public int hashCode() { - return Objects.hash(country, formattedAddress, locality, sublocality, language, establishment, countryCode, sublocalityLevel1, route, administrativeAreaLevel3, administrativeAreaLevel1, streetNumber, location, stateCode, postalCode, naturalFeature, placeId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerGeo {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("country"); - openapiFields.add("formatted_address"); - openapiFields.add("locality"); - openapiFields.add("sublocality"); - openapiFields.add("language"); - openapiFields.add("establishment"); - openapiFields.add("country_code"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("route"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("street_number"); - openapiFields.add("location"); - openapiFields.add("state_code"); - openapiFields.add("postal_code"); - openapiFields.add("natural_feature"); - openapiFields.add("place_id"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerGeo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerGeo is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerGeo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerGeo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1AvailabilitySearchPost200ResponseListInnerGeoLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerGeo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerGeo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerGeo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerGeo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerGeo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerGeo - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeo - */ - public static V1AvailabilitySearchPost200ResponseListInnerGeo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerGeo.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerGeo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java deleted file mode 100644 index 5c28db8..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocation.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerGeoLocation { - public static final String SERIALIZED_NAME_LNG = "lng"; - @SerializedName(SERIALIZED_NAME_LNG) - private BigDecimal lng; - - public static final String SERIALIZED_NAME_LAT = "lat"; - @SerializedName(SERIALIZED_NAME_LAT) - private BigDecimal lat; - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation() { - } - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation lng(BigDecimal lng) { - - this.lng = lng; - return this; - } - - /** - * Get lng - * @return lng - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "8.3339872", value = "") - - public BigDecimal getLng() { - return lng; - } - - - public void setLng(BigDecimal lng) { - this.lng = lng; - } - - - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation lat(BigDecimal lat) { - - this.lat = lat; - return this; - } - - /** - * Get lat - * @return lat - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54.8962436", value = "") - - public BigDecimal getLat() { - return lat; - } - - - public void setLat(BigDecimal lat) { - this.lat = lat; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerGeoLocation v1AvailabilitySearchPost200ResponseListInnerGeoLocation = (V1AvailabilitySearchPost200ResponseListInnerGeoLocation) o; - return Objects.equals(this.lng, v1AvailabilitySearchPost200ResponseListInnerGeoLocation.lng) && - Objects.equals(this.lat, v1AvailabilitySearchPost200ResponseListInnerGeoLocation.lat); - } - - @Override - public int hashCode() { - return Objects.hash(lng, lat); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerGeoLocation {\n"); - sb.append(" lng: ").append(toIndentedString(lng)).append("\n"); - sb.append(" lat: ").append(toIndentedString(lat)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("lng"); - openapiFields.add("lat"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerGeoLocation.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerGeoLocation is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerGeoLocation.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeoLocation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerGeoLocation` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerGeoLocation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerGeoLocation' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerGeoLocation.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerGeoLocation value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerGeoLocation read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerGeoLocation given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerGeoLocation - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ - public static V1AvailabilitySearchPost200ResponseListInnerGeoLocation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerGeoLocation.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerGeoLocation to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java deleted file mode 100644 index 38d3d10..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPrice.java +++ /dev/null @@ -1,330 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerLowestPrice { - public static final String SERIALIZED_NAME_AMOUNT = "amount"; - @SerializedName(SERIALIZED_NAME_AMOUNT) - private BigDecimal amount; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_ARRIVAL_DATE = "arrivalDate"; - @SerializedName(SERIALIZED_NAME_ARRIVAL_DATE) - private BigDecimal arrivalDate; - - public static final String SERIALIZED_NAME_RETURN_DATE = "returnDate"; - @SerializedName(SERIALIZED_NAME_RETURN_DATE) - private BigDecimal returnDate; - - public static final String SERIALIZED_NAME_LENGTH_OF_STAY = "lengthOfStay"; - @SerializedName(SERIALIZED_NAME_LENGTH_OF_STAY) - private BigDecimal lengthOfStay; - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice() { - } - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice amount(BigDecimal amount) { - - this.amount = amount; - return this; - } - - /** - * Get amount - * @return amount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "49", value = "") - - public BigDecimal getAmount() { - return amount; - } - - - public void setAmount(BigDecimal amount) { - this.amount = amount; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice arrivalDate(BigDecimal arrivalDate) { - - this.arrivalDate = arrivalDate; - return this; - } - - /** - * Get arrivalDate - * @return arrivalDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1660780800", value = "") - - public BigDecimal getArrivalDate() { - return arrivalDate; - } - - - public void setArrivalDate(BigDecimal arrivalDate) { - this.arrivalDate = arrivalDate; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice returnDate(BigDecimal returnDate) { - - this.returnDate = returnDate; - return this; - } - - /** - * Get returnDate - * @return returnDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1660867200", value = "") - - public BigDecimal getReturnDate() { - return returnDate; - } - - - public void setReturnDate(BigDecimal returnDate) { - this.returnDate = returnDate; - } - - - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice lengthOfStay(BigDecimal lengthOfStay) { - - this.lengthOfStay = lengthOfStay; - return this; - } - - /** - * Get lengthOfStay - * @return lengthOfStay - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getLengthOfStay() { - return lengthOfStay; - } - - - public void setLengthOfStay(BigDecimal lengthOfStay) { - this.lengthOfStay = lengthOfStay; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerLowestPrice v1AvailabilitySearchPost200ResponseListInnerLowestPrice = (V1AvailabilitySearchPost200ResponseListInnerLowestPrice) o; - return Objects.equals(this.amount, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.amount) && - Objects.equals(this.currencyCode, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.currencyCode) && - Objects.equals(this.arrivalDate, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.arrivalDate) && - Objects.equals(this.returnDate, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.returnDate) && - Objects.equals(this.lengthOfStay, v1AvailabilitySearchPost200ResponseListInnerLowestPrice.lengthOfStay); - } - - @Override - public int hashCode() { - return Objects.hash(amount, currencyCode, arrivalDate, returnDate, lengthOfStay); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerLowestPrice {\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" arrivalDate: ").append(toIndentedString(arrivalDate)).append("\n"); - sb.append(" returnDate: ").append(toIndentedString(returnDate)).append("\n"); - sb.append(" lengthOfStay: ").append(toIndentedString(lengthOfStay)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("amount"); - openapiFields.add("currencyCode"); - openapiFields.add("arrivalDate"); - openapiFields.add("returnDate"); - openapiFields.add("lengthOfStay"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerLowestPrice.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerLowestPrice is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerLowestPrice.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerLowestPrice.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerLowestPrice` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerLowestPrice.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerLowestPrice' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerLowestPrice.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerLowestPrice value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerLowestPrice read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerLowestPrice given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerLowestPrice - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ - public static V1AvailabilitySearchPost200ResponseListInnerLowestPrice fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerLowestPrice.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerLowestPrice to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java b/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java deleted file mode 100644 index 1ed430d..0000000 --- a/src/main/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInner.java +++ /dev/null @@ -1,314 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1AvailabilitySearchPost200ResponseListInnerMediaListInner { - public static final String SERIALIZED_NAME_TAG_CODE_LIST = "tagCodeList"; - @SerializedName(SERIALIZED_NAME_TAG_CODE_LIST) - private List tagCodeList = null; - - public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; - @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) - private Boolean isMainImage; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; - @SerializedName(SERIALIZED_NAME_SORT_ORDER) - private BigDecimal sortOrder; - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner() { - } - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner tagCodeList(List tagCodeList) { - - this.tagCodeList = tagCodeList; - return this; - } - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner addTagCodeListItem(BigDecimal tagCodeListItem) { - if (this.tagCodeList == null) { - this.tagCodeList = new ArrayList<>(); - } - this.tagCodeList.add(tagCodeListItem); - return this; - } - - /** - * Get tagCodeList - * @return tagCodeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTagCodeList() { - return tagCodeList; - } - - - public void setTagCodeList(List tagCodeList) { - this.tagCodeList = tagCodeList; - } - - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner isMainImage(Boolean isMainImage) { - - this.isMainImage = isMainImage; - return this; - } - - /** - * Get isMainImage - * @return isMainImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsMainImage() { - return isMainImage; - } - - - public void setIsMainImage(Boolean isMainImage) { - this.isMainImage = isMainImage; - } - - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "obj_1280x960_55480_005.jpg", value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner sortOrder(BigDecimal sortOrder) { - - this.sortOrder = sortOrder; - return this; - } - - /** - * Get sortOrder - * @return sortOrder - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1004", value = "") - - public BigDecimal getSortOrder() { - return sortOrder; - } - - - public void setSortOrder(BigDecimal sortOrder) { - this.sortOrder = sortOrder; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1AvailabilitySearchPost200ResponseListInnerMediaListInner v1AvailabilitySearchPost200ResponseListInnerMediaListInner = (V1AvailabilitySearchPost200ResponseListInnerMediaListInner) o; - return Objects.equals(this.tagCodeList, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.tagCodeList) && - Objects.equals(this.isMainImage, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.isMainImage) && - Objects.equals(this.url, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.url) && - Objects.equals(this.sortOrder, v1AvailabilitySearchPost200ResponseListInnerMediaListInner.sortOrder); - } - - @Override - public int hashCode() { - return Objects.hash(tagCodeList, isMainImage, url, sortOrder); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1AvailabilitySearchPost200ResponseListInnerMediaListInner {\n"); - sb.append(" tagCodeList: ").append(toIndentedString(tagCodeList)).append("\n"); - sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("tagCodeList"); - openapiFields.add("isMainImage"); - openapiFields.add("url"); - openapiFields.add("sortOrder"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1AvailabilitySearchPost200ResponseListInnerMediaListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1AvailabilitySearchPost200ResponseListInnerMediaListInner is not found in the empty JSON string", V1AvailabilitySearchPost200ResponseListInnerMediaListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1AvailabilitySearchPost200ResponseListInnerMediaListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AvailabilitySearchPost200ResponseListInnerMediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // ensure the json data is an array - if (jsonObj.get("tagCodeList") != null && !jsonObj.get("tagCodeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `tagCodeList` to be an array in the JSON string but got `%s`", jsonObj.get("tagCodeList").toString())); - } - if (jsonObj.get("url") != null && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1AvailabilitySearchPost200ResponseListInnerMediaListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1AvailabilitySearchPost200ResponseListInnerMediaListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1AvailabilitySearchPost200ResponseListInnerMediaListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1AvailabilitySearchPost200ResponseListInnerMediaListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1AvailabilitySearchPost200ResponseListInnerMediaListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1AvailabilitySearchPost200ResponseListInnerMediaListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1AvailabilitySearchPost200ResponseListInnerMediaListInner - * @throws IOException if the JSON string is invalid with respect to V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ - public static V1AvailabilitySearchPost200ResponseListInnerMediaListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1AvailabilitySearchPost200ResponseListInnerMediaListInner.class); - } - - /** - * Convert an instance of V1AvailabilitySearchPost200ResponseListInnerMediaListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1LocationSearchPost200Response.java b/src/main/java/org/openapitools/client/model/V1LocationSearchPost200Response.java deleted file mode 100644 index b812e3c..0000000 --- a/src/main/java/org/openapitools/client/model/V1LocationSearchPost200Response.java +++ /dev/null @@ -1,262 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1LocationSearchPost200ResponseListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1LocationSearchPost200Response - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1LocationSearchPost200Response { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_LIST = "list"; - @SerializedName(SERIALIZED_NAME_LIST) - private List _list = null; - - public V1LocationSearchPost200Response() { - } - - public V1LocationSearchPost200Response languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1LocationSearchPost200Response _list(List _list) { - - this._list = _list; - return this; - } - - public V1LocationSearchPost200Response addListItem(V1LocationSearchPost200ResponseListInner _listItem) { - if (this._list == null) { - this._list = new ArrayList<>(); - } - this._list.add(_listItem); - return this; - } - - /** - * Get _list - * @return _list - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getList() { - return _list; - } - - - public void setList(List _list) { - this._list = _list; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1LocationSearchPost200Response v1LocationSearchPost200Response = (V1LocationSearchPost200Response) o; - return Objects.equals(this.languageCode, v1LocationSearchPost200Response.languageCode) && - Objects.equals(this._list, v1LocationSearchPost200Response._list); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, _list); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1LocationSearchPost200Response {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("list"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1LocationSearchPost200Response - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1LocationSearchPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1LocationSearchPost200Response is not found in the empty JSON string", V1LocationSearchPost200Response.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1LocationSearchPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1LocationSearchPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - JsonArray jsonArray_list = jsonObj.getAsJsonArray("list"); - if (jsonArray_list != null) { - // ensure the json data is an array - if (!jsonObj.get("list").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `list` to be an array in the JSON string but got `%s`", jsonObj.get("list").toString())); - } - - // validate the optional field `list` (array) - for (int i = 0; i < jsonArray_list.size(); i++) { - V1LocationSearchPost200ResponseListInner.validateJsonObject(jsonArray_list.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1LocationSearchPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1LocationSearchPost200Response' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1LocationSearchPost200Response.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1LocationSearchPost200Response value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1LocationSearchPost200Response read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1LocationSearchPost200Response given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1LocationSearchPost200Response - * @throws IOException if the JSON string is invalid with respect to V1LocationSearchPost200Response - */ - public static V1LocationSearchPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1LocationSearchPost200Response.class); - } - - /** - * Convert an instance of V1LocationSearchPost200Response to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInner.java b/src/main/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInner.java deleted file mode 100644 index 0597a87..0000000 --- a/src/main/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInner.java +++ /dev/null @@ -1,405 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1LocationSearchPost200ResponseListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1LocationSearchPost200ResponseListInner { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_LOWEST_PRICE = "lowestPrice"; - @SerializedName(SERIALIZED_NAME_LOWEST_PRICE) - private BigDecimal lowestPrice; - - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public static final String SERIALIZED_NAME_PROPERTY_URI_NAME = "propertyUriName"; - @SerializedName(SERIALIZED_NAME_PROPERTY_URI_NAME) - private String propertyUriName; - - public static final String SERIALIZED_NAME_PROPERTY_URI_PATH = "propertyUriPath"; - @SerializedName(SERIALIZED_NAME_PROPERTY_URI_PATH) - private String propertyUriPath; - - public V1LocationSearchPost200ResponseListInner() { - } - - public V1LocationSearchPost200ResponseListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Landhaus Treskersand", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1LocationSearchPost200ResponseListInner type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "property", value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - public V1LocationSearchPost200ResponseListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1LocationSearchPost200ResponseListInner lowestPrice(BigDecimal lowestPrice) { - - this.lowestPrice = lowestPrice; - return this; - } - - /** - * Get lowestPrice - * @return lowestPrice - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "49", value = "") - - public BigDecimal getLowestPrice() { - return lowestPrice; - } - - - public void setLowestPrice(BigDecimal lowestPrice) { - this.lowestPrice = lowestPrice; - } - - - public V1LocationSearchPost200ResponseListInner propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "dmo-demo:landhaus-treskersand", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - public V1LocationSearchPost200ResponseListInner propertyUriName(String propertyUriName) { - - this.propertyUriName = propertyUriName; - return this; - } - - /** - * Get propertyUriName - * @return propertyUriName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "landhaus-treskersand", value = "") - - public String getPropertyUriName() { - return propertyUriName; - } - - - public void setPropertyUriName(String propertyUriName) { - this.propertyUriName = propertyUriName; - } - - - public V1LocationSearchPost200ResponseListInner propertyUriPath(String propertyUriPath) { - - this.propertyUriPath = propertyUriPath; - return this; - } - - /** - * Get propertyUriPath - * @return propertyUriPath - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en:germany/schleswig-holstein/nordfriesland/sylt/tinnum/landhaus-treskersand", value = "") - - public String getPropertyUriPath() { - return propertyUriPath; - } - - - public void setPropertyUriPath(String propertyUriPath) { - this.propertyUriPath = propertyUriPath; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1LocationSearchPost200ResponseListInner v1LocationSearchPost200ResponseListInner = (V1LocationSearchPost200ResponseListInner) o; - return Objects.equals(this.name, v1LocationSearchPost200ResponseListInner.name) && - Objects.equals(this.type, v1LocationSearchPost200ResponseListInner.type) && - Objects.equals(this.currencyCode, v1LocationSearchPost200ResponseListInner.currencyCode) && - Objects.equals(this.lowestPrice, v1LocationSearchPost200ResponseListInner.lowestPrice) && - Objects.equals(this.propertyId, v1LocationSearchPost200ResponseListInner.propertyId) && - Objects.equals(this.propertyUriName, v1LocationSearchPost200ResponseListInner.propertyUriName) && - Objects.equals(this.propertyUriPath, v1LocationSearchPost200ResponseListInner.propertyUriPath); - } - - @Override - public int hashCode() { - return Objects.hash(name, type, currencyCode, lowestPrice, propertyId, propertyUriName, propertyUriPath); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1LocationSearchPost200ResponseListInner {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" lowestPrice: ").append(toIndentedString(lowestPrice)).append("\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append(" propertyUriName: ").append(toIndentedString(propertyUriName)).append("\n"); - sb.append(" propertyUriPath: ").append(toIndentedString(propertyUriPath)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("type"); - openapiFields.add("currencyCode"); - openapiFields.add("lowestPrice"); - openapiFields.add("propertyId"); - openapiFields.add("propertyUriName"); - openapiFields.add("propertyUriPath"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1LocationSearchPost200ResponseListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1LocationSearchPost200ResponseListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1LocationSearchPost200ResponseListInner is not found in the empty JSON string", V1LocationSearchPost200ResponseListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1LocationSearchPost200ResponseListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1LocationSearchPost200ResponseListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - if (jsonObj.get("propertyUriName") != null && !jsonObj.get("propertyUriName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyUriName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyUriName").toString())); - } - if (jsonObj.get("propertyUriPath") != null && !jsonObj.get("propertyUriPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyUriPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyUriPath").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1LocationSearchPost200ResponseListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1LocationSearchPost200ResponseListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1LocationSearchPost200ResponseListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1LocationSearchPost200ResponseListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1LocationSearchPost200ResponseListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1LocationSearchPost200ResponseListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1LocationSearchPost200ResponseListInner - * @throws IOException if the JSON string is invalid with respect to V1LocationSearchPost200ResponseListInner - */ - public static V1LocationSearchPost200ResponseListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1LocationSearchPost200ResponseListInner.class); - } - - /** - * Convert an instance of V1LocationSearchPost200ResponseListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200Response.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200Response.java deleted file mode 100644 index 2f74f7d..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200Response.java +++ /dev/null @@ -1,297 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProperty; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200Response - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200Response { - public static final String SERIALIZED_NAME_VERSION_ID = "versionId"; - @SerializedName(SERIALIZED_NAME_VERSION_ID) - private String versionId; - - public static final String SERIALIZED_NAME_PROPERTY = "property"; - @SerializedName(SERIALIZED_NAME_PROPERTY) - private V1PropertyGetPost200ResponseProperty property; - - public static final String SERIALIZED_NAME_PRODUCT_LIST = "productList"; - @SerializedName(SERIALIZED_NAME_PRODUCT_LIST) - private List productList = null; - - public V1PropertyGetPost200Response() { - } - - public V1PropertyGetPost200Response versionId(String versionId) { - - this.versionId = versionId; - return this; - } - - /** - * Get versionId - * @return versionId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getVersionId() { - return versionId; - } - - - public void setVersionId(String versionId) { - this.versionId = versionId; - } - - - public V1PropertyGetPost200Response property(V1PropertyGetPost200ResponseProperty property) { - - this.property = property; - return this; - } - - /** - * Get property - * @return property - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponseProperty getProperty() { - return property; - } - - - public void setProperty(V1PropertyGetPost200ResponseProperty property) { - this.property = property; - } - - - public V1PropertyGetPost200Response productList(List productList) { - - this.productList = productList; - return this; - } - - public V1PropertyGetPost200Response addProductListItem(V1PropertyGetPost200ResponseProductListInner productListItem) { - if (this.productList == null) { - this.productList = new ArrayList<>(); - } - this.productList.add(productListItem); - return this; - } - - /** - * Get productList - * @return productList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getProductList() { - return productList; - } - - - public void setProductList(List productList) { - this.productList = productList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200Response v1PropertyGetPost200Response = (V1PropertyGetPost200Response) o; - return Objects.equals(this.versionId, v1PropertyGetPost200Response.versionId) && - Objects.equals(this.property, v1PropertyGetPost200Response.property) && - Objects.equals(this.productList, v1PropertyGetPost200Response.productList); - } - - @Override - public int hashCode() { - return Objects.hash(versionId, property, productList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200Response {\n"); - sb.append(" versionId: ").append(toIndentedString(versionId)).append("\n"); - sb.append(" property: ").append(toIndentedString(property)).append("\n"); - sb.append(" productList: ").append(toIndentedString(productList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("versionId"); - openapiFields.add("property"); - openapiFields.add("productList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200Response - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200Response.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200Response is not found in the empty JSON string", V1PropertyGetPost200Response.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200Response.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200Response` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("versionId") != null && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); - } - // validate the optional field `property` - if (jsonObj.getAsJsonObject("property") != null) { - V1PropertyGetPost200ResponseProperty.validateJsonObject(jsonObj.getAsJsonObject("property")); - } - JsonArray jsonArrayproductList = jsonObj.getAsJsonArray("productList"); - if (jsonArrayproductList != null) { - // ensure the json data is an array - if (!jsonObj.get("productList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `productList` to be an array in the JSON string but got `%s`", jsonObj.get("productList").toString())); - } - - // validate the optional field `productList` (array) - for (int i = 0; i < jsonArrayproductList.size(); i++) { - V1PropertyGetPost200ResponseProductListInner.validateJsonObject(jsonArrayproductList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200Response.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200Response' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200Response.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200Response value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200Response read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200Response given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200Response - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200Response - */ - public static V1PropertyGetPost200Response fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200Response.class); - } - - /** - * Convert an instance of V1PropertyGetPost200Response to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInner.java deleted file mode 100644 index da31f5c..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInner.java +++ /dev/null @@ -1,492 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInner { - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_MEAL_PLAN_LIST = "mealPlanList"; - @SerializedName(SERIALIZED_NAME_MEAL_PLAN_LIST) - private List mealPlanList = null; - - public static final String SERIALIZED_NAME_ROOM_TYPE_LIST = "roomTypeList"; - @SerializedName(SERIALIZED_NAME_ROOM_TYPE_LIST) - private List roomTypeList = null; - - public static final String SERIALIZED_NAME_IS_L_O_S_PRICING = "isLOSPricing"; - @SerializedName(SERIALIZED_NAME_IS_L_O_S_PRICING) - private Boolean isLOSPricing; - - public static final String SERIALIZED_NAME_IS_O_B_P_PRICING = "isOBPPricing"; - @SerializedName(SERIALIZED_NAME_IS_O_B_P_PRICING) - private Boolean isOBPPricing; - - public static final String SERIALIZED_NAME_RATE_PLAN_LIST = "ratePlanList"; - @SerializedName(SERIALIZED_NAME_RATE_PLAN_LIST) - private List ratePlanList = null; - - public static final String SERIALIZED_NAME_POLICY_INFO = "policyInfo"; - @SerializedName(SERIALIZED_NAME_POLICY_INFO) - private V1PropertyGetPost200ResponseProductListInnerPolicyInfo policyInfo; - - public V1PropertyGetPost200ResponseProductListInner() { - } - - public V1PropertyGetPost200ResponseProductListInner propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - public V1PropertyGetPost200ResponseProductListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard Amrum", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponseProductListInner mealPlanList(List mealPlanList) { - - this.mealPlanList = mealPlanList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInner addMealPlanListItem(V1PropertyGetPost200ResponseProductListInnerMealPlanListInner mealPlanListItem) { - if (this.mealPlanList == null) { - this.mealPlanList = new ArrayList<>(); - } - this.mealPlanList.add(mealPlanListItem); - return this; - } - - /** - * Get mealPlanList - * @return mealPlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMealPlanList() { - return mealPlanList; - } - - - public void setMealPlanList(List mealPlanList) { - this.mealPlanList = mealPlanList; - } - - - public V1PropertyGetPost200ResponseProductListInner roomTypeList(List roomTypeList) { - - this.roomTypeList = roomTypeList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInner addRoomTypeListItem(V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner roomTypeListItem) { - if (this.roomTypeList == null) { - this.roomTypeList = new ArrayList<>(); - } - this.roomTypeList.add(roomTypeListItem); - return this; - } - - /** - * Get roomTypeList - * @return roomTypeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRoomTypeList() { - return roomTypeList; - } - - - public void setRoomTypeList(List roomTypeList) { - this.roomTypeList = roomTypeList; - } - - - public V1PropertyGetPost200ResponseProductListInner isLOSPricing(Boolean isLOSPricing) { - - this.isLOSPricing = isLOSPricing; - return this; - } - - /** - * Get isLOSPricing - * @return isLOSPricing - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsLOSPricing() { - return isLOSPricing; - } - - - public void setIsLOSPricing(Boolean isLOSPricing) { - this.isLOSPricing = isLOSPricing; - } - - - public V1PropertyGetPost200ResponseProductListInner isOBPPricing(Boolean isOBPPricing) { - - this.isOBPPricing = isOBPPricing; - return this; - } - - /** - * Get isOBPPricing - * @return isOBPPricing - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsOBPPricing() { - return isOBPPricing; - } - - - public void setIsOBPPricing(Boolean isOBPPricing) { - this.isOBPPricing = isOBPPricing; - } - - - public V1PropertyGetPost200ResponseProductListInner ratePlanList(List ratePlanList) { - - this.ratePlanList = ratePlanList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInner addRatePlanListItem(V1PropertyGetPost200ResponseProductListInnerRatePlanListInner ratePlanListItem) { - if (this.ratePlanList == null) { - this.ratePlanList = new ArrayList<>(); - } - this.ratePlanList.add(ratePlanListItem); - return this; - } - - /** - * Get ratePlanList - * @return ratePlanList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRatePlanList() { - return ratePlanList; - } - - - public void setRatePlanList(List ratePlanList) { - this.ratePlanList = ratePlanList; - } - - - public V1PropertyGetPost200ResponseProductListInner policyInfo(V1PropertyGetPost200ResponseProductListInnerPolicyInfo policyInfo) { - - this.policyInfo = policyInfo; - return this; - } - - /** - * Get policyInfo - * @return policyInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo getPolicyInfo() { - return policyInfo; - } - - - public void setPolicyInfo(V1PropertyGetPost200ResponseProductListInnerPolicyInfo policyInfo) { - this.policyInfo = policyInfo; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInner v1PropertyGetPost200ResponseProductListInner = (V1PropertyGetPost200ResponseProductListInner) o; - return Objects.equals(this.propertyId, v1PropertyGetPost200ResponseProductListInner.propertyId) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInner.name) && - Objects.equals(this.mealPlanList, v1PropertyGetPost200ResponseProductListInner.mealPlanList) && - Objects.equals(this.roomTypeList, v1PropertyGetPost200ResponseProductListInner.roomTypeList) && - Objects.equals(this.isLOSPricing, v1PropertyGetPost200ResponseProductListInner.isLOSPricing) && - Objects.equals(this.isOBPPricing, v1PropertyGetPost200ResponseProductListInner.isOBPPricing) && - Objects.equals(this.ratePlanList, v1PropertyGetPost200ResponseProductListInner.ratePlanList) && - Objects.equals(this.policyInfo, v1PropertyGetPost200ResponseProductListInner.policyInfo); - } - - @Override - public int hashCode() { - return Objects.hash(propertyId, name, mealPlanList, roomTypeList, isLOSPricing, isOBPPricing, ratePlanList, policyInfo); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInner {\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" mealPlanList: ").append(toIndentedString(mealPlanList)).append("\n"); - sb.append(" roomTypeList: ").append(toIndentedString(roomTypeList)).append("\n"); - sb.append(" isLOSPricing: ").append(toIndentedString(isLOSPricing)).append("\n"); - sb.append(" isOBPPricing: ").append(toIndentedString(isOBPPricing)).append("\n"); - sb.append(" ratePlanList: ").append(toIndentedString(ratePlanList)).append("\n"); - sb.append(" policyInfo: ").append(toIndentedString(policyInfo)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("propertyId"); - openapiFields.add("name"); - openapiFields.add("mealPlanList"); - openapiFields.add("roomTypeList"); - openapiFields.add("isLOSPricing"); - openapiFields.add("isOBPPricing"); - openapiFields.add("ratePlanList"); - openapiFields.add("policyInfo"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - JsonArray jsonArraymealPlanList = jsonObj.getAsJsonArray("mealPlanList"); - if (jsonArraymealPlanList != null) { - // ensure the json data is an array - if (!jsonObj.get("mealPlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mealPlanList` to be an array in the JSON string but got `%s`", jsonObj.get("mealPlanList").toString())); - } - - // validate the optional field `mealPlanList` (array) - for (int i = 0; i < jsonArraymealPlanList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.validateJsonObject(jsonArraymealPlanList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArrayroomTypeList = jsonObj.getAsJsonArray("roomTypeList"); - if (jsonArrayroomTypeList != null) { - // ensure the json data is an array - if (!jsonObj.get("roomTypeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `roomTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("roomTypeList").toString())); - } - - // validate the optional field `roomTypeList` (array) - for (int i = 0; i < jsonArrayroomTypeList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.validateJsonObject(jsonArrayroomTypeList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArrayratePlanList = jsonObj.getAsJsonArray("ratePlanList"); - if (jsonArrayratePlanList != null) { - // ensure the json data is an array - if (!jsonObj.get("ratePlanList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ratePlanList` to be an array in the JSON string but got `%s`", jsonObj.get("ratePlanList").toString())); - } - - // validate the optional field `ratePlanList` (array) - for (int i = 0; i < jsonArrayratePlanList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.validateJsonObject(jsonArrayratePlanList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `policyInfo` - if (jsonObj.getAsJsonObject("policyInfo") != null) { - V1PropertyGetPost200ResponseProductListInnerPolicyInfo.validateJsonObject(jsonObj.getAsJsonObject("policyInfo")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInner - */ - public static V1PropertyGetPost200ResponseProductListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java deleted file mode 100644 index e359635..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerMealPlanListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner() { - } - - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "14", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Room only", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerMealPlanListInner v1PropertyGetPost200ResponseProductListInnerMealPlanListInner = (V1PropertyGetPost200ResponseProductListInnerMealPlanListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponseProductListInnerMealPlanListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInnerMealPlanListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerMealPlanListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerMealPlanListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerMealPlanListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerMealPlanListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerMealPlanListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerMealPlanListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerMealPlanListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ - public static V1PropertyGetPost200ResponseProductListInnerMealPlanListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerMealPlanListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerMealPlanListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java deleted file mode 100644 index 392c738..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfo.java +++ /dev/null @@ -1,607 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfo { - public static final String SERIALIZED_NAME_CHECK_IN_TIME = "checkInTime"; - @SerializedName(SERIALIZED_NAME_CHECK_IN_TIME) - private BigDecimal checkInTime; - - public static final String SERIALIZED_NAME_CHECK_OUT_TIME = "checkOutTime"; - @SerializedName(SERIALIZED_NAME_CHECK_OUT_TIME) - private BigDecimal checkOutTime; - - public static final String SERIALIZED_NAME_TOTAL_GUEST_COUNT = "totalGuestCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_GUEST_COUNT) - private BigDecimal totalGuestCount; - - public static final String SERIALIZED_NAME_CANCELLATION_POLICY_LIST = "cancellationPolicyList"; - @SerializedName(SERIALIZED_NAME_CANCELLATION_POLICY_LIST) - private List cancellationPolicyList = null; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MIN = "advanceBookingMin"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MIN) - private BigDecimal advanceBookingMin; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MAX = "advanceBookingMax"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MAX) - private BigDecimal advanceBookingMax; - - public static final String SERIALIZED_NAME_PETS_POLICY = "petsPolicy"; - @SerializedName(SERIALIZED_NAME_PETS_POLICY) - private V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy; - - public static final String SERIALIZED_NAME_PREPAYMENT_POLICY = "prepaymentPolicy"; - @SerializedName(SERIALIZED_NAME_PREPAYMENT_POLICY) - private String prepaymentPolicy; - - public static final String SERIALIZED_NAME_GUARANTEE_POLICY = "guaranteePolicy"; - @SerializedName(SERIALIZED_NAME_GUARANTEE_POLICY) - private String guaranteePolicy; - - public static final String SERIALIZED_NAME_TAX_POLICY_LIST = "taxPolicyList"; - @SerializedName(SERIALIZED_NAME_TAX_POLICY_LIST) - private List taxPolicyList = null; - - public static final String SERIALIZED_NAME_FEE_POLICY_LIST = "feePolicyList"; - @SerializedName(SERIALIZED_NAME_FEE_POLICY_LIST) - private List feePolicyList = null; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo() { - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo checkInTime(BigDecimal checkInTime) { - - this.checkInTime = checkInTime; - return this; - } - - /** - * Get checkInTime - * @return checkInTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "50400000", value = "") - - public BigDecimal getCheckInTime() { - return checkInTime; - } - - - public void setCheckInTime(BigDecimal checkInTime) { - this.checkInTime = checkInTime; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo checkOutTime(BigDecimal checkOutTime) { - - this.checkOutTime = checkOutTime; - return this; - } - - /** - * Get checkOutTime - * @return checkOutTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "39600000", value = "") - - public BigDecimal getCheckOutTime() { - return checkOutTime; - } - - - public void setCheckOutTime(BigDecimal checkOutTime) { - this.checkOutTime = checkOutTime; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo totalGuestCount(BigDecimal totalGuestCount) { - - this.totalGuestCount = totalGuestCount; - return this; - } - - /** - * Get totalGuestCount - * @return totalGuestCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getTotalGuestCount() { - return totalGuestCount; - } - - - public void setTotalGuestCount(BigDecimal totalGuestCount) { - this.totalGuestCount = totalGuestCount; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo cancellationPolicyList(List cancellationPolicyList) { - - this.cancellationPolicyList = cancellationPolicyList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo addCancellationPolicyListItem(V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner cancellationPolicyListItem) { - if (this.cancellationPolicyList == null) { - this.cancellationPolicyList = new ArrayList<>(); - } - this.cancellationPolicyList.add(cancellationPolicyListItem); - return this; - } - - /** - * Get cancellationPolicyList - * @return cancellationPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCancellationPolicyList() { - return cancellationPolicyList; - } - - - public void setCancellationPolicyList(List cancellationPolicyList) { - this.cancellationPolicyList = cancellationPolicyList; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo advanceBookingMin(BigDecimal advanceBookingMin) { - - this.advanceBookingMin = advanceBookingMin; - return this; - } - - /** - * Get advanceBookingMin - * @return advanceBookingMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "34560000", value = "") - - public BigDecimal getAdvanceBookingMin() { - return advanceBookingMin; - } - - - public void setAdvanceBookingMin(BigDecimal advanceBookingMin) { - this.advanceBookingMin = advanceBookingMin; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo advanceBookingMax(BigDecimal advanceBookingMax) { - - this.advanceBookingMax = advanceBookingMax; - return this; - } - - /** - * Get advanceBookingMax - * @return advanceBookingMax - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getAdvanceBookingMax() { - return advanceBookingMax; - } - - - public void setAdvanceBookingMax(BigDecimal advanceBookingMax) { - this.advanceBookingMax = advanceBookingMax; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo petsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - - this.petsPolicy = petsPolicy; - return this; - } - - /** - * Get petsPolicy - * @return petsPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy getPetsPolicy() { - return petsPolicy; - } - - - public void setPetsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - this.petsPolicy = petsPolicy; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo prepaymentPolicy(String prepaymentPolicy) { - - this.prepaymentPolicy = prepaymentPolicy; - return this; - } - - /** - * Get prepaymentPolicy - * @return prepaymentPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getPrepaymentPolicy() { - return prepaymentPolicy; - } - - - public void setPrepaymentPolicy(String prepaymentPolicy) { - this.prepaymentPolicy = prepaymentPolicy; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo guaranteePolicy(String guaranteePolicy) { - - this.guaranteePolicy = guaranteePolicy; - return this; - } - - /** - * Get guaranteePolicy - * @return guaranteePolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getGuaranteePolicy() { - return guaranteePolicy; - } - - - public void setGuaranteePolicy(String guaranteePolicy) { - this.guaranteePolicy = guaranteePolicy; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo taxPolicyList(List taxPolicyList) { - - this.taxPolicyList = taxPolicyList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo addTaxPolicyListItem(V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner taxPolicyListItem) { - if (this.taxPolicyList == null) { - this.taxPolicyList = new ArrayList<>(); - } - this.taxPolicyList.add(taxPolicyListItem); - return this; - } - - /** - * Get taxPolicyList - * @return taxPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTaxPolicyList() { - return taxPolicyList; - } - - - public void setTaxPolicyList(List taxPolicyList) { - this.taxPolicyList = taxPolicyList; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo feePolicyList(List feePolicyList) { - - this.feePolicyList = feePolicyList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo addFeePolicyListItem(String feePolicyListItem) { - if (this.feePolicyList == null) { - this.feePolicyList = new ArrayList<>(); - } - this.feePolicyList.add(feePolicyListItem); - return this; - } - - /** - * Get feePolicyList - * @return feePolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getFeePolicyList() { - return feePolicyList; - } - - - public void setFeePolicyList(List feePolicyList) { - this.feePolicyList = feePolicyList; - } - - - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard Amrum Policy", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerPolicyInfo v1PropertyGetPost200ResponseProductListInnerPolicyInfo = (V1PropertyGetPost200ResponseProductListInnerPolicyInfo) o; - return Objects.equals(this.checkInTime, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.checkInTime) && - Objects.equals(this.checkOutTime, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.checkOutTime) && - Objects.equals(this.totalGuestCount, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.totalGuestCount) && - Objects.equals(this.cancellationPolicyList, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.cancellationPolicyList) && - Objects.equals(this.advanceBookingMin, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.advanceBookingMin) && - Objects.equals(this.advanceBookingMax, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.advanceBookingMax) && - Objects.equals(this.petsPolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.petsPolicy) && - Objects.equals(this.prepaymentPolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.prepaymentPolicy) && - Objects.equals(this.guaranteePolicy, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.guaranteePolicy) && - Objects.equals(this.taxPolicyList, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.taxPolicyList) && - Objects.equals(this.feePolicyList, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.feePolicyList) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInnerPolicyInfo.name); - } - - @Override - public int hashCode() { - return Objects.hash(checkInTime, checkOutTime, totalGuestCount, cancellationPolicyList, advanceBookingMin, advanceBookingMax, petsPolicy, prepaymentPolicy, guaranteePolicy, taxPolicyList, feePolicyList, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerPolicyInfo {\n"); - sb.append(" checkInTime: ").append(toIndentedString(checkInTime)).append("\n"); - sb.append(" checkOutTime: ").append(toIndentedString(checkOutTime)).append("\n"); - sb.append(" totalGuestCount: ").append(toIndentedString(totalGuestCount)).append("\n"); - sb.append(" cancellationPolicyList: ").append(toIndentedString(cancellationPolicyList)).append("\n"); - sb.append(" advanceBookingMin: ").append(toIndentedString(advanceBookingMin)).append("\n"); - sb.append(" advanceBookingMax: ").append(toIndentedString(advanceBookingMax)).append("\n"); - sb.append(" petsPolicy: ").append(toIndentedString(petsPolicy)).append("\n"); - sb.append(" prepaymentPolicy: ").append(toIndentedString(prepaymentPolicy)).append("\n"); - sb.append(" guaranteePolicy: ").append(toIndentedString(guaranteePolicy)).append("\n"); - sb.append(" taxPolicyList: ").append(toIndentedString(taxPolicyList)).append("\n"); - sb.append(" feePolicyList: ").append(toIndentedString(feePolicyList)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("checkInTime"); - openapiFields.add("checkOutTime"); - openapiFields.add("totalGuestCount"); - openapiFields.add("cancellationPolicyList"); - openapiFields.add("advanceBookingMin"); - openapiFields.add("advanceBookingMax"); - openapiFields.add("petsPolicy"); - openapiFields.add("prepaymentPolicy"); - openapiFields.add("guaranteePolicy"); - openapiFields.add("taxPolicyList"); - openapiFields.add("feePolicyList"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerPolicyInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerPolicyInfo is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerPolicyInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerPolicyInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - JsonArray jsonArraycancellationPolicyList = jsonObj.getAsJsonArray("cancellationPolicyList"); - if (jsonArraycancellationPolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("cancellationPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `cancellationPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("cancellationPolicyList").toString())); - } - - // validate the optional field `cancellationPolicyList` (array) - for (int i = 0; i < jsonArraycancellationPolicyList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner.validateJsonObject(jsonArraycancellationPolicyList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `petsPolicy` - if (jsonObj.getAsJsonObject("petsPolicy") != null) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.validateJsonObject(jsonObj.getAsJsonObject("petsPolicy")); - } - if (jsonObj.get("prepaymentPolicy") != null && !jsonObj.get("prepaymentPolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `prepaymentPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prepaymentPolicy").toString())); - } - if (jsonObj.get("guaranteePolicy") != null && !jsonObj.get("guaranteePolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `guaranteePolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("guaranteePolicy").toString())); - } - JsonArray jsonArraytaxPolicyList = jsonObj.getAsJsonArray("taxPolicyList"); - if (jsonArraytaxPolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("taxPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `taxPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("taxPolicyList").toString())); - } - - // validate the optional field `taxPolicyList` (array) - for (int i = 0; i < jsonArraytaxPolicyList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.validateJsonObject(jsonArraytaxPolicyList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("feePolicyList") != null && !jsonObj.get("feePolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `feePolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("feePolicyList").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerPolicyInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerPolicyInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerPolicyInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerPolicyInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerPolicyInfo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ - public static V1PropertyGetPost200ResponseProductListInnerPolicyInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerPolicyInfo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerPolicyInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java deleted file mode 100644 index fda7c3f..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.java +++ /dev/null @@ -1,358 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInner { - public static final String SERIALIZED_NAME_ACTIVE = "active"; - @SerializedName(SERIALIZED_NAME_ACTIVE) - private Boolean active; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_PROPERTY_ID = "propertyId"; - @SerializedName(SERIALIZED_NAME_PROPERTY_ID) - private String propertyId; - - public static final String SERIALIZED_NAME_PRICING_LIST = "pricingList"; - @SerializedName(SERIALIZED_NAME_PRICING_LIST) - private List pricingList = null; - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner() { - } - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner active(Boolean active) { - - this.active = active; - return this; - } - - /** - * Get active - * @return active - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getActive() { - return active; - } - - - public void setActive(Boolean active) { - this.active = active; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Standard Amrum", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "standard-amrum", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner propertyId(String propertyId) { - - this.propertyId = propertyId; - return this; - } - - /** - * Get propertyId - * @return propertyId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getPropertyId() { - return propertyId; - } - - - public void setPropertyId(String propertyId) { - this.propertyId = propertyId; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner pricingList(List pricingList) { - - this.pricingList = pricingList; - return this; - } - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner addPricingListItem(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner pricingListItem) { - if (this.pricingList == null) { - this.pricingList = new ArrayList<>(); - } - this.pricingList.add(pricingListItem); - return this; - } - - /** - * Get pricingList - * @return pricingList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPricingList() { - return pricingList; - } - - - public void setPricingList(List pricingList) { - this.pricingList = pricingList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerRatePlanListInner v1PropertyGetPost200ResponseProductListInnerRatePlanListInner = (V1PropertyGetPost200ResponseProductListInnerRatePlanListInner) o; - return Objects.equals(this.active, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.active) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.name) && - Objects.equals(this.code, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.code) && - Objects.equals(this.propertyId, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.propertyId) && - Objects.equals(this.pricingList, v1PropertyGetPost200ResponseProductListInnerRatePlanListInner.pricingList); - } - - @Override - public int hashCode() { - return Objects.hash(active, name, code, propertyId, pricingList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRatePlanListInner {\n"); - sb.append(" active: ").append(toIndentedString(active)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" propertyId: ").append(toIndentedString(propertyId)).append("\n"); - sb.append(" pricingList: ").append(toIndentedString(pricingList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("active"); - openapiFields.add("name"); - openapiFields.add("code"); - openapiFields.add("propertyId"); - openapiFields.add("pricingList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRatePlanListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRatePlanListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("propertyId") != null && !jsonObj.get("propertyId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyId").toString())); - } - JsonArray jsonArraypricingList = jsonObj.getAsJsonArray("pricingList"); - if (jsonArraypricingList != null) { - // ensure the json data is an array - if (!jsonObj.get("pricingList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `pricingList` to be an array in the JSON string but got `%s`", jsonObj.get("pricingList").toString())); - } - - // validate the optional field `pricingList` (array) - for (int i = 0; i < jsonArraypricingList.size(); i++) { - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.validateJsonObject(jsonArraypricingList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRatePlanListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRatePlanListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ - public static V1PropertyGetPost200ResponseProductListInnerRatePlanListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRatePlanListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java deleted file mode 100644 index 8db931b..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.java +++ /dev/null @@ -1,305 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner { - public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; - @SerializedName(SERIALIZED_NAME_DATE_TIME) - private BigDecimal dateTime; - - public static final String SERIALIZED_NAME_OCCUPANCY = "occupancy"; - @SerializedName(SERIALIZED_NAME_OCCUPANCY) - private BigDecimal occupancy; - - public static final String SERIALIZED_NAME_PRICE_LIST = "priceList"; - @SerializedName(SERIALIZED_NAME_PRICE_LIST) - private V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList priceList; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner() { - } - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner dateTime(BigDecimal dateTime) { - - this.dateTime = dateTime; - return this; - } - - /** - * Get dateTime - * @return dateTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1614556800000", value = "") - - public BigDecimal getDateTime() { - return dateTime; - } - - - public void setDateTime(BigDecimal dateTime) { - this.dateTime = dateTime; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner occupancy(BigDecimal occupancy) { - - this.occupancy = occupancy; - return this; - } - - /** - * Get occupancy - * @return occupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getOccupancy() { - return occupancy; - } - - - public void setOccupancy(BigDecimal occupancy) { - this.occupancy = occupancy; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner priceList(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList priceList) { - - this.priceList = priceList; - return this; - } - - /** - * Get priceList - * @return priceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList getPriceList() { - return priceList; - } - - - public void setPriceList(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList priceList) { - this.priceList = priceList; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner = (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner) o; - return Objects.equals(this.dateTime, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.dateTime) && - Objects.equals(this.occupancy, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.occupancy) && - Objects.equals(this.priceList, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.priceList) && - Objects.equals(this.currencyCode, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.currencyCode); - } - - @Override - public int hashCode() { - return Objects.hash(dateTime, occupancy, priceList, currencyCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner {\n"); - sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n"); - sb.append(" occupancy: ").append(toIndentedString(occupancy)).append("\n"); - sb.append(" priceList: ").append(toIndentedString(priceList)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("dateTime"); - openapiFields.add("occupancy"); - openapiFields.add("priceList"); - openapiFields.add("currencyCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `priceList` - if (jsonObj.getAsJsonObject("priceList") != null) { - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.validateJsonObject(jsonObj.getAsJsonObject("priceList")); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - */ - public static V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java deleted file mode 100644 index a4c9f5e..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.java +++ /dev/null @@ -1,777 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList { - public static final String SERIALIZED_NAME_4 = "4"; - @SerializedName(SERIALIZED_NAME_4) - private BigDecimal _4; - - public static final String SERIALIZED_NAME_5 = "5"; - @SerializedName(SERIALIZED_NAME_5) - private BigDecimal _5; - - public static final String SERIALIZED_NAME_6 = "6"; - @SerializedName(SERIALIZED_NAME_6) - private BigDecimal _6; - - public static final String SERIALIZED_NAME_7 = "7"; - @SerializedName(SERIALIZED_NAME_7) - private BigDecimal _7; - - public static final String SERIALIZED_NAME_8 = "8"; - @SerializedName(SERIALIZED_NAME_8) - private BigDecimal _8; - - public static final String SERIALIZED_NAME_9 = "9"; - @SerializedName(SERIALIZED_NAME_9) - private BigDecimal _9; - - public static final String SERIALIZED_NAME_10 = "10"; - @SerializedName(SERIALIZED_NAME_10) - private BigDecimal _10; - - public static final String SERIALIZED_NAME_11 = "11"; - @SerializedName(SERIALIZED_NAME_11) - private BigDecimal _11; - - public static final String SERIALIZED_NAME_12 = "12"; - @SerializedName(SERIALIZED_NAME_12) - private BigDecimal _12; - - public static final String SERIALIZED_NAME_13 = "13"; - @SerializedName(SERIALIZED_NAME_13) - private BigDecimal _13; - - public static final String SERIALIZED_NAME_14 = "14"; - @SerializedName(SERIALIZED_NAME_14) - private BigDecimal _14; - - public static final String SERIALIZED_NAME_15 = "15"; - @SerializedName(SERIALIZED_NAME_15) - private BigDecimal _15; - - public static final String SERIALIZED_NAME_16 = "16"; - @SerializedName(SERIALIZED_NAME_16) - private BigDecimal _16; - - public static final String SERIALIZED_NAME_17 = "17"; - @SerializedName(SERIALIZED_NAME_17) - private BigDecimal _17; - - public static final String SERIALIZED_NAME_18 = "18"; - @SerializedName(SERIALIZED_NAME_18) - private BigDecimal _18; - - public static final String SERIALIZED_NAME_19 = "19"; - @SerializedName(SERIALIZED_NAME_19) - private BigDecimal _19; - - public static final String SERIALIZED_NAME_20 = "20"; - @SerializedName(SERIALIZED_NAME_20) - private BigDecimal _20; - - public static final String SERIALIZED_NAME_21 = "21"; - @SerializedName(SERIALIZED_NAME_21) - private BigDecimal _21; - - public static final String SERIALIZED_NAME_22 = "22"; - @SerializedName(SERIALIZED_NAME_22) - private BigDecimal _22; - - public static final String SERIALIZED_NAME_23 = "23"; - @SerializedName(SERIALIZED_NAME_23) - private BigDecimal _23; - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList() { - } - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _4(BigDecimal _4) { - - this._4 = _4; - return this; - } - - /** - * Get _4 - * @return _4 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "516", value = "") - - public BigDecimal get4() { - return _4; - } - - - public void set4(BigDecimal _4) { - this._4 = _4; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _5(BigDecimal _5) { - - this._5 = _5; - return this; - } - - /** - * Get _5 - * @return _5 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "645", value = "") - - public BigDecimal get5() { - return _5; - } - - - public void set5(BigDecimal _5) { - this._5 = _5; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _6(BigDecimal _6) { - - this._6 = _6; - return this; - } - - /** - * Get _6 - * @return _6 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "774", value = "") - - public BigDecimal get6() { - return _6; - } - - - public void set6(BigDecimal _6) { - this._6 = _6; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _7(BigDecimal _7) { - - this._7 = _7; - return this; - } - - /** - * Get _7 - * @return _7 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "903", value = "") - - public BigDecimal get7() { - return _7; - } - - - public void set7(BigDecimal _7) { - this._7 = _7; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _8(BigDecimal _8) { - - this._8 = _8; - return this; - } - - /** - * Get _8 - * @return _8 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1032", value = "") - - public BigDecimal get8() { - return _8; - } - - - public void set8(BigDecimal _8) { - this._8 = _8; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _9(BigDecimal _9) { - - this._9 = _9; - return this; - } - - /** - * Get _9 - * @return _9 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1161", value = "") - - public BigDecimal get9() { - return _9; - } - - - public void set9(BigDecimal _9) { - this._9 = _9; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _10(BigDecimal _10) { - - this._10 = _10; - return this; - } - - /** - * Get _10 - * @return _10 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1290", value = "") - - public BigDecimal get10() { - return _10; - } - - - public void set10(BigDecimal _10) { - this._10 = _10; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _11(BigDecimal _11) { - - this._11 = _11; - return this; - } - - /** - * Get _11 - * @return _11 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1419", value = "") - - public BigDecimal get11() { - return _11; - } - - - public void set11(BigDecimal _11) { - this._11 = _11; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _12(BigDecimal _12) { - - this._12 = _12; - return this; - } - - /** - * Get _12 - * @return _12 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1548", value = "") - - public BigDecimal get12() { - return _12; - } - - - public void set12(BigDecimal _12) { - this._12 = _12; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _13(BigDecimal _13) { - - this._13 = _13; - return this; - } - - /** - * Get _13 - * @return _13 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1677", value = "") - - public BigDecimal get13() { - return _13; - } - - - public void set13(BigDecimal _13) { - this._13 = _13; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _14(BigDecimal _14) { - - this._14 = _14; - return this; - } - - /** - * Get _14 - * @return _14 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1806", value = "") - - public BigDecimal get14() { - return _14; - } - - - public void set14(BigDecimal _14) { - this._14 = _14; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _15(BigDecimal _15) { - - this._15 = _15; - return this; - } - - /** - * Get _15 - * @return _15 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1935", value = "") - - public BigDecimal get15() { - return _15; - } - - - public void set15(BigDecimal _15) { - this._15 = _15; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _16(BigDecimal _16) { - - this._16 = _16; - return this; - } - - /** - * Get _16 - * @return _16 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2064", value = "") - - public BigDecimal get16() { - return _16; - } - - - public void set16(BigDecimal _16) { - this._16 = _16; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _17(BigDecimal _17) { - - this._17 = _17; - return this; - } - - /** - * Get _17 - * @return _17 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2193", value = "") - - public BigDecimal get17() { - return _17; - } - - - public void set17(BigDecimal _17) { - this._17 = _17; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _18(BigDecimal _18) { - - this._18 = _18; - return this; - } - - /** - * Get _18 - * @return _18 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2322", value = "") - - public BigDecimal get18() { - return _18; - } - - - public void set18(BigDecimal _18) { - this._18 = _18; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _19(BigDecimal _19) { - - this._19 = _19; - return this; - } - - /** - * Get _19 - * @return _19 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2451", value = "") - - public BigDecimal get19() { - return _19; - } - - - public void set19(BigDecimal _19) { - this._19 = _19; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _20(BigDecimal _20) { - - this._20 = _20; - return this; - } - - /** - * Get _20 - * @return _20 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2580", value = "") - - public BigDecimal get20() { - return _20; - } - - - public void set20(BigDecimal _20) { - this._20 = _20; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _21(BigDecimal _21) { - - this._21 = _21; - return this; - } - - /** - * Get _21 - * @return _21 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2709", value = "") - - public BigDecimal get21() { - return _21; - } - - - public void set21(BigDecimal _21) { - this._21 = _21; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _22(BigDecimal _22) { - - this._22 = _22; - return this; - } - - /** - * Get _22 - * @return _22 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2838", value = "") - - public BigDecimal get22() { - return _22; - } - - - public void set22(BigDecimal _22) { - this._22 = _22; - } - - - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList _23(BigDecimal _23) { - - this._23 = _23; - return this; - } - - /** - * Get _23 - * @return _23 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2967", value = "") - - public BigDecimal get23() { - return _23; - } - - - public void set23(BigDecimal _23) { - this._23 = _23; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList = (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList) o; - return Objects.equals(this._4, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._4) && - Objects.equals(this._5, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._5) && - Objects.equals(this._6, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._6) && - Objects.equals(this._7, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._7) && - Objects.equals(this._8, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._8) && - Objects.equals(this._9, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._9) && - Objects.equals(this._10, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._10) && - Objects.equals(this._11, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._11) && - Objects.equals(this._12, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._12) && - Objects.equals(this._13, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._13) && - Objects.equals(this._14, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._14) && - Objects.equals(this._15, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._15) && - Objects.equals(this._16, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._16) && - Objects.equals(this._17, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._17) && - Objects.equals(this._18, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._18) && - Objects.equals(this._19, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._19) && - Objects.equals(this._20, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._20) && - Objects.equals(this._21, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._21) && - Objects.equals(this._22, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._22) && - Objects.equals(this._23, v1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList._23); - } - - @Override - public int hashCode() { - return Objects.hash(_4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList {\n"); - sb.append(" _4: ").append(toIndentedString(_4)).append("\n"); - sb.append(" _5: ").append(toIndentedString(_5)).append("\n"); - sb.append(" _6: ").append(toIndentedString(_6)).append("\n"); - sb.append(" _7: ").append(toIndentedString(_7)).append("\n"); - sb.append(" _8: ").append(toIndentedString(_8)).append("\n"); - sb.append(" _9: ").append(toIndentedString(_9)).append("\n"); - sb.append(" _10: ").append(toIndentedString(_10)).append("\n"); - sb.append(" _11: ").append(toIndentedString(_11)).append("\n"); - sb.append(" _12: ").append(toIndentedString(_12)).append("\n"); - sb.append(" _13: ").append(toIndentedString(_13)).append("\n"); - sb.append(" _14: ").append(toIndentedString(_14)).append("\n"); - sb.append(" _15: ").append(toIndentedString(_15)).append("\n"); - sb.append(" _16: ").append(toIndentedString(_16)).append("\n"); - sb.append(" _17: ").append(toIndentedString(_17)).append("\n"); - sb.append(" _18: ").append(toIndentedString(_18)).append("\n"); - sb.append(" _19: ").append(toIndentedString(_19)).append("\n"); - sb.append(" _20: ").append(toIndentedString(_20)).append("\n"); - sb.append(" _21: ").append(toIndentedString(_21)).append("\n"); - sb.append(" _22: ").append(toIndentedString(_22)).append("\n"); - sb.append(" _23: ").append(toIndentedString(_23)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("4"); - openapiFields.add("5"); - openapiFields.add("6"); - openapiFields.add("7"); - openapiFields.add("8"); - openapiFields.add("9"); - openapiFields.add("10"); - openapiFields.add("11"); - openapiFields.add("12"); - openapiFields.add("13"); - openapiFields.add("14"); - openapiFields.add("15"); - openapiFields.add("16"); - openapiFields.add("17"); - openapiFields.add("18"); - openapiFields.add("19"); - openapiFields.add("20"); - openapiFields.add("21"); - openapiFields.add("22"); - openapiFields.add("23"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ - public static V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java deleted file mode 100644 index fefc9c2..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner { - public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; - @SerializedName(SERIALIZED_NAME_TYPE_CODE) - private String typeCode; - - public V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner() { - } - - public V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner typeCode(String typeCode) { - - this.typeCode = typeCode; - return this; - } - - /** - * Get typeCode - * @return typeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "amrum", value = "") - - public String getTypeCode() { - return typeCode; - } - - - public void setTypeCode(String typeCode) { - this.typeCode = typeCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner v1PropertyGetPost200ResponseProductListInnerRoomTypeListInner = (V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner) o; - return Objects.equals(this.typeCode, v1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.typeCode); - } - - @Override - public int hashCode() { - return Objects.hash(typeCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner {\n"); - sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("typeCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner is not found in the empty JSON string", V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("typeCode") != null && !jsonObj.get("typeCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `typeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("typeCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ - public static V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProperty.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProperty.java deleted file mode 100644 index 8fc4697..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProperty.java +++ /dev/null @@ -1,873 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyAwardListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyCancellationGracePeriod; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyContactListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGuestInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyMediaListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyRecordCreated; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyRecordModified; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyServiceListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyTransaction; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponseProperty - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponseProperty { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_RECORD_CREATED = "recordCreated"; - @SerializedName(SERIALIZED_NAME_RECORD_CREATED) - private V1PropertyGetPost200ResponsePropertyRecordCreated recordCreated; - - public static final String SERIALIZED_NAME_RECORD_MODIFIED = "recordModified"; - @SerializedName(SERIALIZED_NAME_RECORD_MODIFIED) - private V1PropertyGetPost200ResponsePropertyRecordModified recordModified; - - public static final String SERIALIZED_NAME_PROPERTY_INFO = "propertyInfo"; - @SerializedName(SERIALIZED_NAME_PROPERTY_INFO) - private V1PropertyGetPost200ResponsePropertyPropertyInfo propertyInfo; - - public static final String SERIALIZED_NAME_GUEST_INFO = "guestInfo"; - @SerializedName(SERIALIZED_NAME_GUEST_INFO) - private V1PropertyGetPost200ResponsePropertyGuestInfo guestInfo; - - public static final String SERIALIZED_NAME_AWARD_LIST = "awardList"; - @SerializedName(SERIALIZED_NAME_AWARD_LIST) - private List awardList = null; - - public static final String SERIALIZED_NAME_CONTACT_LIST = "contactList"; - @SerializedName(SERIALIZED_NAME_CONTACT_LIST) - private List contactList = null; - - public static final String SERIALIZED_NAME_FACILITY_INFO = "facilityInfo"; - @SerializedName(SERIALIZED_NAME_FACILITY_INFO) - private V1PropertyGetPost200ResponsePropertyFacilityInfo facilityInfo; - - public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; - @SerializedName(SERIALIZED_NAME_MEDIA_LIST) - private List mediaList = null; - - public static final String SERIALIZED_NAME_GEO = "geo"; - @SerializedName(SERIALIZED_NAME_GEO) - private V1PropertyGetPost200ResponsePropertyGeo geo; - - public static final String SERIALIZED_NAME_REFINEMENT_DATE = "refinementDate"; - @SerializedName(SERIALIZED_NAME_REFINEMENT_DATE) - private BigDecimal refinementDate; - - public static final String SERIALIZED_NAME_PUBLISHED = "published"; - @SerializedName(SERIALIZED_NAME_PUBLISHED) - private Boolean published; - - public static final String SERIALIZED_NAME_POLICY_LIST = "policyList"; - @SerializedName(SERIALIZED_NAME_POLICY_LIST) - private List policyList = null; - - public static final String SERIALIZED_NAME_URI = "uri"; - @SerializedName(SERIALIZED_NAME_URI) - private String uri; - - public static final String SERIALIZED_NAME_TRANSACTION = "transaction"; - @SerializedName(SERIALIZED_NAME_TRANSACTION) - private V1PropertyGetPost200ResponsePropertyTransaction transaction; - - public static final String SERIALIZED_NAME_CANCELLATION_GRACE_PERIOD = "cancellationGracePeriod"; - @SerializedName(SERIALIZED_NAME_CANCELLATION_GRACE_PERIOD) - private V1PropertyGetPost200ResponsePropertyCancellationGracePeriod cancellationGracePeriod; - - public static final String SERIALIZED_NAME_SERVICE_LIST = "serviceList"; - @SerializedName(SERIALIZED_NAME_SERVICE_LIST) - private List serviceList = null; - - public V1PropertyGetPost200ResponseProperty() { - } - - public V1PropertyGetPost200ResponseProperty code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponseProperty name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Strandresidenz Sylt", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponseProperty recordCreated(V1PropertyGetPost200ResponsePropertyRecordCreated recordCreated) { - - this.recordCreated = recordCreated; - return this; - } - - /** - * Get recordCreated - * @return recordCreated - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyRecordCreated getRecordCreated() { - return recordCreated; - } - - - public void setRecordCreated(V1PropertyGetPost200ResponsePropertyRecordCreated recordCreated) { - this.recordCreated = recordCreated; - } - - - public V1PropertyGetPost200ResponseProperty recordModified(V1PropertyGetPost200ResponsePropertyRecordModified recordModified) { - - this.recordModified = recordModified; - return this; - } - - /** - * Get recordModified - * @return recordModified - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyRecordModified getRecordModified() { - return recordModified; - } - - - public void setRecordModified(V1PropertyGetPost200ResponsePropertyRecordModified recordModified) { - this.recordModified = recordModified; - } - - - public V1PropertyGetPost200ResponseProperty propertyInfo(V1PropertyGetPost200ResponsePropertyPropertyInfo propertyInfo) { - - this.propertyInfo = propertyInfo; - return this; - } - - /** - * Get propertyInfo - * @return propertyInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPropertyInfo getPropertyInfo() { - return propertyInfo; - } - - - public void setPropertyInfo(V1PropertyGetPost200ResponsePropertyPropertyInfo propertyInfo) { - this.propertyInfo = propertyInfo; - } - - - public V1PropertyGetPost200ResponseProperty guestInfo(V1PropertyGetPost200ResponsePropertyGuestInfo guestInfo) { - - this.guestInfo = guestInfo; - return this; - } - - /** - * Get guestInfo - * @return guestInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGuestInfo getGuestInfo() { - return guestInfo; - } - - - public void setGuestInfo(V1PropertyGetPost200ResponsePropertyGuestInfo guestInfo) { - this.guestInfo = guestInfo; - } - - - public V1PropertyGetPost200ResponseProperty awardList(List awardList) { - - this.awardList = awardList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addAwardListItem(V1PropertyGetPost200ResponsePropertyAwardListInner awardListItem) { - if (this.awardList == null) { - this.awardList = new ArrayList<>(); - } - this.awardList.add(awardListItem); - return this; - } - - /** - * Get awardList - * @return awardList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAwardList() { - return awardList; - } - - - public void setAwardList(List awardList) { - this.awardList = awardList; - } - - - public V1PropertyGetPost200ResponseProperty contactList(List contactList) { - - this.contactList = contactList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addContactListItem(V1PropertyGetPost200ResponsePropertyContactListInner contactListItem) { - if (this.contactList == null) { - this.contactList = new ArrayList<>(); - } - this.contactList.add(contactListItem); - return this; - } - - /** - * Get contactList - * @return contactList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getContactList() { - return contactList; - } - - - public void setContactList(List contactList) { - this.contactList = contactList; - } - - - public V1PropertyGetPost200ResponseProperty facilityInfo(V1PropertyGetPost200ResponsePropertyFacilityInfo facilityInfo) { - - this.facilityInfo = facilityInfo; - return this; - } - - /** - * Get facilityInfo - * @return facilityInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyFacilityInfo getFacilityInfo() { - return facilityInfo; - } - - - public void setFacilityInfo(V1PropertyGetPost200ResponsePropertyFacilityInfo facilityInfo) { - this.facilityInfo = facilityInfo; - } - - - public V1PropertyGetPost200ResponseProperty mediaList(List mediaList) { - - this.mediaList = mediaList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addMediaListItem(V1PropertyGetPost200ResponsePropertyMediaListInner mediaListItem) { - if (this.mediaList == null) { - this.mediaList = new ArrayList<>(); - } - this.mediaList.add(mediaListItem); - return this; - } - - /** - * Get mediaList - * @return mediaList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMediaList() { - return mediaList; - } - - - public void setMediaList(List mediaList) { - this.mediaList = mediaList; - } - - - public V1PropertyGetPost200ResponseProperty geo(V1PropertyGetPost200ResponsePropertyGeo geo) { - - this.geo = geo; - return this; - } - - /** - * Get geo - * @return geo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeo getGeo() { - return geo; - } - - - public void setGeo(V1PropertyGetPost200ResponsePropertyGeo geo) { - this.geo = geo; - } - - - public V1PropertyGetPost200ResponseProperty refinementDate(BigDecimal refinementDate) { - - this.refinementDate = refinementDate; - return this; - } - - /** - * Get refinementDate - * @return refinementDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1643706934194", value = "") - - public BigDecimal getRefinementDate() { - return refinementDate; - } - - - public void setRefinementDate(BigDecimal refinementDate) { - this.refinementDate = refinementDate; - } - - - public V1PropertyGetPost200ResponseProperty published(Boolean published) { - - this.published = published; - return this; - } - - /** - * Get published - * @return published - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getPublished() { - return published; - } - - - public void setPublished(Boolean published) { - this.published = published; - } - - - public V1PropertyGetPost200ResponseProperty policyList(List policyList) { - - this.policyList = policyList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addPolicyListItem(V1PropertyGetPost200ResponsePropertyPolicyListInner policyListItem) { - if (this.policyList == null) { - this.policyList = new ArrayList<>(); - } - this.policyList.add(policyListItem); - return this; - } - - /** - * Get policyList - * @return policyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPolicyList() { - return policyList; - } - - - public void setPolicyList(List policyList) { - this.policyList = policyList; - } - - - public V1PropertyGetPost200ResponseProperty uri(String uri) { - - this.uri = uri; - return this; - } - - /** - * Get uri - * @return uri - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "strandresidenz-sylt", value = "") - - public String getUri() { - return uri; - } - - - public void setUri(String uri) { - this.uri = uri; - } - - - public V1PropertyGetPost200ResponseProperty transaction(V1PropertyGetPost200ResponsePropertyTransaction transaction) { - - this.transaction = transaction; - return this; - } - - /** - * Get transaction - * @return transaction - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyTransaction getTransaction() { - return transaction; - } - - - public void setTransaction(V1PropertyGetPost200ResponsePropertyTransaction transaction) { - this.transaction = transaction; - } - - - public V1PropertyGetPost200ResponseProperty cancellationGracePeriod(V1PropertyGetPost200ResponsePropertyCancellationGracePeriod cancellationGracePeriod) { - - this.cancellationGracePeriod = cancellationGracePeriod; - return this; - } - - /** - * Get cancellationGracePeriod - * @return cancellationGracePeriod - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod getCancellationGracePeriod() { - return cancellationGracePeriod; - } - - - public void setCancellationGracePeriod(V1PropertyGetPost200ResponsePropertyCancellationGracePeriod cancellationGracePeriod) { - this.cancellationGracePeriod = cancellationGracePeriod; - } - - - public V1PropertyGetPost200ResponseProperty serviceList(List serviceList) { - - this.serviceList = serviceList; - return this; - } - - public V1PropertyGetPost200ResponseProperty addServiceListItem(V1PropertyGetPost200ResponsePropertyServiceListInner serviceListItem) { - if (this.serviceList == null) { - this.serviceList = new ArrayList<>(); - } - this.serviceList.add(serviceListItem); - return this; - } - - /** - * Get serviceList - * @return serviceList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getServiceList() { - return serviceList; - } - - - public void setServiceList(List serviceList) { - this.serviceList = serviceList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponseProperty v1PropertyGetPost200ResponseProperty = (V1PropertyGetPost200ResponseProperty) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponseProperty.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponseProperty.name) && - Objects.equals(this.recordCreated, v1PropertyGetPost200ResponseProperty.recordCreated) && - Objects.equals(this.recordModified, v1PropertyGetPost200ResponseProperty.recordModified) && - Objects.equals(this.propertyInfo, v1PropertyGetPost200ResponseProperty.propertyInfo) && - Objects.equals(this.guestInfo, v1PropertyGetPost200ResponseProperty.guestInfo) && - Objects.equals(this.awardList, v1PropertyGetPost200ResponseProperty.awardList) && - Objects.equals(this.contactList, v1PropertyGetPost200ResponseProperty.contactList) && - Objects.equals(this.facilityInfo, v1PropertyGetPost200ResponseProperty.facilityInfo) && - Objects.equals(this.mediaList, v1PropertyGetPost200ResponseProperty.mediaList) && - Objects.equals(this.geo, v1PropertyGetPost200ResponseProperty.geo) && - Objects.equals(this.refinementDate, v1PropertyGetPost200ResponseProperty.refinementDate) && - Objects.equals(this.published, v1PropertyGetPost200ResponseProperty.published) && - Objects.equals(this.policyList, v1PropertyGetPost200ResponseProperty.policyList) && - Objects.equals(this.uri, v1PropertyGetPost200ResponseProperty.uri) && - Objects.equals(this.transaction, v1PropertyGetPost200ResponseProperty.transaction) && - Objects.equals(this.cancellationGracePeriod, v1PropertyGetPost200ResponseProperty.cancellationGracePeriod) && - Objects.equals(this.serviceList, v1PropertyGetPost200ResponseProperty.serviceList); - } - - @Override - public int hashCode() { - return Objects.hash(code, name, recordCreated, recordModified, propertyInfo, guestInfo, awardList, contactList, facilityInfo, mediaList, geo, refinementDate, published, policyList, uri, transaction, cancellationGracePeriod, serviceList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponseProperty {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" recordCreated: ").append(toIndentedString(recordCreated)).append("\n"); - sb.append(" recordModified: ").append(toIndentedString(recordModified)).append("\n"); - sb.append(" propertyInfo: ").append(toIndentedString(propertyInfo)).append("\n"); - sb.append(" guestInfo: ").append(toIndentedString(guestInfo)).append("\n"); - sb.append(" awardList: ").append(toIndentedString(awardList)).append("\n"); - sb.append(" contactList: ").append(toIndentedString(contactList)).append("\n"); - sb.append(" facilityInfo: ").append(toIndentedString(facilityInfo)).append("\n"); - sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); - sb.append(" geo: ").append(toIndentedString(geo)).append("\n"); - sb.append(" refinementDate: ").append(toIndentedString(refinementDate)).append("\n"); - sb.append(" published: ").append(toIndentedString(published)).append("\n"); - sb.append(" policyList: ").append(toIndentedString(policyList)).append("\n"); - sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); - sb.append(" transaction: ").append(toIndentedString(transaction)).append("\n"); - sb.append(" cancellationGracePeriod: ").append(toIndentedString(cancellationGracePeriod)).append("\n"); - sb.append(" serviceList: ").append(toIndentedString(serviceList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - openapiFields.add("recordCreated"); - openapiFields.add("recordModified"); - openapiFields.add("propertyInfo"); - openapiFields.add("guestInfo"); - openapiFields.add("awardList"); - openapiFields.add("contactList"); - openapiFields.add("facilityInfo"); - openapiFields.add("mediaList"); - openapiFields.add("geo"); - openapiFields.add("refinementDate"); - openapiFields.add("published"); - openapiFields.add("policyList"); - openapiFields.add("uri"); - openapiFields.add("transaction"); - openapiFields.add("cancellationGracePeriod"); - openapiFields.add("serviceList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponseProperty - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponseProperty.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponseProperty is not found in the empty JSON string", V1PropertyGetPost200ResponseProperty.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponseProperty.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponseProperty` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - // validate the optional field `recordCreated` - if (jsonObj.getAsJsonObject("recordCreated") != null) { - V1PropertyGetPost200ResponsePropertyRecordCreated.validateJsonObject(jsonObj.getAsJsonObject("recordCreated")); - } - // validate the optional field `recordModified` - if (jsonObj.getAsJsonObject("recordModified") != null) { - V1PropertyGetPost200ResponsePropertyRecordModified.validateJsonObject(jsonObj.getAsJsonObject("recordModified")); - } - // validate the optional field `propertyInfo` - if (jsonObj.getAsJsonObject("propertyInfo") != null) { - V1PropertyGetPost200ResponsePropertyPropertyInfo.validateJsonObject(jsonObj.getAsJsonObject("propertyInfo")); - } - // validate the optional field `guestInfo` - if (jsonObj.getAsJsonObject("guestInfo") != null) { - V1PropertyGetPost200ResponsePropertyGuestInfo.validateJsonObject(jsonObj.getAsJsonObject("guestInfo")); - } - JsonArray jsonArrayawardList = jsonObj.getAsJsonArray("awardList"); - if (jsonArrayawardList != null) { - // ensure the json data is an array - if (!jsonObj.get("awardList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `awardList` to be an array in the JSON string but got `%s`", jsonObj.get("awardList").toString())); - } - - // validate the optional field `awardList` (array) - for (int i = 0; i < jsonArrayawardList.size(); i++) { - V1PropertyGetPost200ResponsePropertyAwardListInner.validateJsonObject(jsonArrayawardList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArraycontactList = jsonObj.getAsJsonArray("contactList"); - if (jsonArraycontactList != null) { - // ensure the json data is an array - if (!jsonObj.get("contactList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `contactList` to be an array in the JSON string but got `%s`", jsonObj.get("contactList").toString())); - } - - // validate the optional field `contactList` (array) - for (int i = 0; i < jsonArraycontactList.size(); i++) { - V1PropertyGetPost200ResponsePropertyContactListInner.validateJsonObject(jsonArraycontactList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `facilityInfo` - if (jsonObj.getAsJsonObject("facilityInfo") != null) { - V1PropertyGetPost200ResponsePropertyFacilityInfo.validateJsonObject(jsonObj.getAsJsonObject("facilityInfo")); - } - JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); - if (jsonArraymediaList != null) { - // ensure the json data is an array - if (!jsonObj.get("mediaList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); - } - - // validate the optional field `mediaList` (array) - for (int i = 0; i < jsonArraymediaList.size(); i++) { - V1PropertyGetPost200ResponsePropertyMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); - }; - } - // validate the optional field `geo` - if (jsonObj.getAsJsonObject("geo") != null) { - V1PropertyGetPost200ResponsePropertyGeo.validateJsonObject(jsonObj.getAsJsonObject("geo")); - } - JsonArray jsonArraypolicyList = jsonObj.getAsJsonArray("policyList"); - if (jsonArraypolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("policyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `policyList` to be an array in the JSON string but got `%s`", jsonObj.get("policyList").toString())); - } - - // validate the optional field `policyList` (array) - for (int i = 0; i < jsonArraypolicyList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPolicyListInner.validateJsonObject(jsonArraypolicyList.get(i).getAsJsonObject()); - }; - } - if (jsonObj.get("uri") != null && !jsonObj.get("uri").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uri").toString())); - } - // validate the optional field `transaction` - if (jsonObj.getAsJsonObject("transaction") != null) { - V1PropertyGetPost200ResponsePropertyTransaction.validateJsonObject(jsonObj.getAsJsonObject("transaction")); - } - // validate the optional field `cancellationGracePeriod` - if (jsonObj.getAsJsonObject("cancellationGracePeriod") != null) { - V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.validateJsonObject(jsonObj.getAsJsonObject("cancellationGracePeriod")); - } - JsonArray jsonArrayserviceList = jsonObj.getAsJsonArray("serviceList"); - if (jsonArrayserviceList != null) { - // ensure the json data is an array - if (!jsonObj.get("serviceList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serviceList` to be an array in the JSON string but got `%s`", jsonObj.get("serviceList").toString())); - } - - // validate the optional field `serviceList` (array) - for (int i = 0; i < jsonArrayserviceList.size(); i++) { - V1PropertyGetPost200ResponsePropertyServiceListInner.validateJsonObject(jsonArrayserviceList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponseProperty.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponseProperty' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponseProperty.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponseProperty value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponseProperty read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponseProperty given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponseProperty - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponseProperty - */ - public static V1PropertyGetPost200ResponseProperty fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponseProperty.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponseProperty to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java deleted file mode 100644 index fe3352b..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyAwardListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyAwardListInner { - public static final String SERIALIZED_NAME_PROVIDER = "provider"; - @SerializedName(SERIALIZED_NAME_PROVIDER) - private String provider; - - public static final String SERIALIZED_NAME_RATING = "rating"; - @SerializedName(SERIALIZED_NAME_RATING) - private BigDecimal rating; - - public V1PropertyGetPost200ResponsePropertyAwardListInner() { - } - - public V1PropertyGetPost200ResponsePropertyAwardListInner provider(String provider) { - - this.provider = provider; - return this; - } - - /** - * Get provider - * @return provider - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "star-rating", value = "") - - public String getProvider() { - return provider; - } - - - public void setProvider(String provider) { - this.provider = provider; - } - - - public V1PropertyGetPost200ResponsePropertyAwardListInner rating(BigDecimal rating) { - - this.rating = rating; - return this; - } - - /** - * Get rating - * @return rating - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getRating() { - return rating; - } - - - public void setRating(BigDecimal rating) { - this.rating = rating; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyAwardListInner v1PropertyGetPost200ResponsePropertyAwardListInner = (V1PropertyGetPost200ResponsePropertyAwardListInner) o; - return Objects.equals(this.provider, v1PropertyGetPost200ResponsePropertyAwardListInner.provider) && - Objects.equals(this.rating, v1PropertyGetPost200ResponsePropertyAwardListInner.rating); - } - - @Override - public int hashCode() { - return Objects.hash(provider, rating); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyAwardListInner {\n"); - sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); - sb.append(" rating: ").append(toIndentedString(rating)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("provider"); - openapiFields.add("rating"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyAwardListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyAwardListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyAwardListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyAwardListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyAwardListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyAwardListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("provider") != null && !jsonObj.get("provider").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `provider` to be a primitive type in the JSON string but got `%s`", jsonObj.get("provider").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyAwardListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyAwardListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyAwardListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyAwardListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyAwardListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyAwardListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyAwardListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyAwardListInner - */ - public static V1PropertyGetPost200ResponsePropertyAwardListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyAwardListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyAwardListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java deleted file mode 100644 index 1924812..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyCancellationGracePeriod { - public static final String SERIALIZED_NAME_HOURS_AFTER_BOOKING = "hoursAfterBooking"; - @SerializedName(SERIALIZED_NAME_HOURS_AFTER_BOOKING) - private BigDecimal hoursAfterBooking; - - public static final String SERIALIZED_NAME_WEEKS_BEFORE_CHECK_IN = "weeksBeforeCheckIn"; - @SerializedName(SERIALIZED_NAME_WEEKS_BEFORE_CHECK_IN) - private BigDecimal weeksBeforeCheckIn; - - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod() { - } - - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod hoursAfterBooking(BigDecimal hoursAfterBooking) { - - this.hoursAfterBooking = hoursAfterBooking; - return this; - } - - /** - * Get hoursAfterBooking - * @return hoursAfterBooking - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "24", value = "") - - public BigDecimal getHoursAfterBooking() { - return hoursAfterBooking; - } - - - public void setHoursAfterBooking(BigDecimal hoursAfterBooking) { - this.hoursAfterBooking = hoursAfterBooking; - } - - - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod weeksBeforeCheckIn(BigDecimal weeksBeforeCheckIn) { - - this.weeksBeforeCheckIn = weeksBeforeCheckIn; - return this; - } - - /** - * Get weeksBeforeCheckIn - * @return weeksBeforeCheckIn - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getWeeksBeforeCheckIn() { - return weeksBeforeCheckIn; - } - - - public void setWeeksBeforeCheckIn(BigDecimal weeksBeforeCheckIn) { - this.weeksBeforeCheckIn = weeksBeforeCheckIn; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyCancellationGracePeriod v1PropertyGetPost200ResponsePropertyCancellationGracePeriod = (V1PropertyGetPost200ResponsePropertyCancellationGracePeriod) o; - return Objects.equals(this.hoursAfterBooking, v1PropertyGetPost200ResponsePropertyCancellationGracePeriod.hoursAfterBooking) && - Objects.equals(this.weeksBeforeCheckIn, v1PropertyGetPost200ResponsePropertyCancellationGracePeriod.weeksBeforeCheckIn); - } - - @Override - public int hashCode() { - return Objects.hash(hoursAfterBooking, weeksBeforeCheckIn); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyCancellationGracePeriod {\n"); - sb.append(" hoursAfterBooking: ").append(toIndentedString(hoursAfterBooking)).append("\n"); - sb.append(" weeksBeforeCheckIn: ").append(toIndentedString(weeksBeforeCheckIn)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("hoursAfterBooking"); - openapiFields.add("weeksBeforeCheckIn"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyCancellationGracePeriod is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyCancellationGracePeriod` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyCancellationGracePeriod' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyCancellationGracePeriod value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyCancellationGracePeriod read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyCancellationGracePeriod given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - */ - public static V1PropertyGetPost200ResponsePropertyCancellationGracePeriod fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyCancellationGracePeriod.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyCancellationGracePeriod to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInner.java deleted file mode 100644 index 7848688..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInner.java +++ /dev/null @@ -1,262 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyContactListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyContactListInner { - public static final String SERIALIZED_NAME_PROFILE_TYPE = "profileType"; - @SerializedName(SERIALIZED_NAME_PROFILE_TYPE) - private String profileType; - - public static final String SERIALIZED_NAME_ADDRESS_LIST = "addressList"; - @SerializedName(SERIALIZED_NAME_ADDRESS_LIST) - private List addressList = null; - - public V1PropertyGetPost200ResponsePropertyContactListInner() { - } - - public V1PropertyGetPost200ResponsePropertyContactListInner profileType(String profileType) { - - this.profileType = profileType; - return this; - } - - /** - * Get profileType - * @return profileType - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "physicallocation", value = "") - - public String getProfileType() { - return profileType; - } - - - public void setProfileType(String profileType) { - this.profileType = profileType; - } - - - public V1PropertyGetPost200ResponsePropertyContactListInner addressList(List addressList) { - - this.addressList = addressList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyContactListInner addAddressListItem(V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner addressListItem) { - if (this.addressList == null) { - this.addressList = new ArrayList<>(); - } - this.addressList.add(addressListItem); - return this; - } - - /** - * Get addressList - * @return addressList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAddressList() { - return addressList; - } - - - public void setAddressList(List addressList) { - this.addressList = addressList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyContactListInner v1PropertyGetPost200ResponsePropertyContactListInner = (V1PropertyGetPost200ResponsePropertyContactListInner) o; - return Objects.equals(this.profileType, v1PropertyGetPost200ResponsePropertyContactListInner.profileType) && - Objects.equals(this.addressList, v1PropertyGetPost200ResponsePropertyContactListInner.addressList); - } - - @Override - public int hashCode() { - return Objects.hash(profileType, addressList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyContactListInner {\n"); - sb.append(" profileType: ").append(toIndentedString(profileType)).append("\n"); - sb.append(" addressList: ").append(toIndentedString(addressList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("profileType"); - openapiFields.add("addressList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyContactListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyContactListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyContactListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyContactListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyContactListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("profileType") != null && !jsonObj.get("profileType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `profileType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("profileType").toString())); - } - JsonArray jsonArrayaddressList = jsonObj.getAsJsonArray("addressList"); - if (jsonArrayaddressList != null) { - // ensure the json data is an array - if (!jsonObj.get("addressList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `addressList` to be an array in the JSON string but got `%s`", jsonObj.get("addressList").toString())); - } - - // validate the optional field `addressList` (array) - for (int i = 0; i < jsonArrayaddressList.size(); i++) { - V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.validateJsonObject(jsonArrayaddressList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyContactListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyContactListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyContactListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyContactListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyContactListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyContactListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyContactListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInner - */ - public static V1PropertyGetPost200ResponsePropertyContactListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyContactListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyContactListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java deleted file mode 100644 index 52ecb3f..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.java +++ /dev/null @@ -1,374 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner { - public static final String SERIALIZED_NAME_ADDRESS_LINE = "addressLine"; - @SerializedName(SERIALIZED_NAME_ADDRESS_LINE) - private String addressLine; - - public static final String SERIALIZED_NAME_PROPERTY_NAME = "propertyName"; - @SerializedName(SERIALIZED_NAME_PROPERTY_NAME) - private String propertyName; - - public static final String SERIALIZED_NAME_CITY_NAME = "cityName"; - @SerializedName(SERIALIZED_NAME_CITY_NAME) - private String cityName; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_STATE = "state"; - @SerializedName(SERIALIZED_NAME_STATE) - private String state; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner() { - } - - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner addressLine(String addressLine) { - - this.addressLine = addressLine; - return this; - } - - /** - * Get addressLine - * @return addressLine - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20", value = "") - - public String getAddressLine() { - return addressLine; - } - - - public void setAddressLine(String addressLine) { - this.addressLine = addressLine; - } - - - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner propertyName(String propertyName) { - - this.propertyName = propertyName; - return this; - } - - /** - * Get propertyName - * @return propertyName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Strandresidenz Sylt", value = "") - - public String getPropertyName() { - return propertyName; - } - - - public void setPropertyName(String propertyName) { - this.propertyName = propertyName; - } - - - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner cityName(String cityName) { - - this.cityName = cityName; - return this; - } - - /** - * Get cityName - * @return cityName - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getCityName() { - return cityName; - } - - - public void setCityName(String cityName) { - this.cityName = cityName; - } - - - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner state(String state) { - - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getState() { - return state; - } - - - public void setState(String state) { - this.state = state; - } - - - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner = (V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner) o; - return Objects.equals(this.addressLine, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.addressLine) && - Objects.equals(this.propertyName, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.propertyName) && - Objects.equals(this.cityName, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.cityName) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.postalCode) && - Objects.equals(this.state, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.state) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.countryCode); - } - - @Override - public int hashCode() { - return Objects.hash(addressLine, propertyName, cityName, postalCode, state, countryCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner {\n"); - sb.append(" addressLine: ").append(toIndentedString(addressLine)).append("\n"); - sb.append(" propertyName: ").append(toIndentedString(propertyName)).append("\n"); - sb.append(" cityName: ").append(toIndentedString(cityName)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("addressLine"); - openapiFields.add("propertyName"); - openapiFields.add("cityName"); - openapiFields.add("postalCode"); - openapiFields.add("state"); - openapiFields.add("countryCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("addressLine") != null && !jsonObj.get("addressLine").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `addressLine` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressLine").toString())); - } - if (jsonObj.get("propertyName") != null && !jsonObj.get("propertyName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("propertyName").toString())); - } - if (jsonObj.get("cityName") != null && !jsonObj.get("cityName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `cityName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cityName").toString())); - } - if (jsonObj.get("postalCode") != null && !jsonObj.get("postalCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); - } - if (jsonObj.get("state") != null && !jsonObj.get("state").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); - } - if (jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - */ - public static V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java deleted file mode 100644 index adc5327..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfo.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfo { - public static final String SERIALIZED_NAME_GUEST_ROOM_LIST = "guestRoomList"; - @SerializedName(SERIALIZED_NAME_GUEST_ROOM_LIST) - private List guestRoomList = null; - - public V1PropertyGetPost200ResponsePropertyFacilityInfo() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfo guestRoomList(List guestRoomList) { - - this.guestRoomList = guestRoomList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfo addGuestRoomListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner guestRoomListItem) { - if (this.guestRoomList == null) { - this.guestRoomList = new ArrayList<>(); - } - this.guestRoomList.add(guestRoomListItem); - return this; - } - - /** - * Get guestRoomList - * @return guestRoomList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getGuestRoomList() { - return guestRoomList; - } - - - public void setGuestRoomList(List guestRoomList) { - this.guestRoomList = guestRoomList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfo v1PropertyGetPost200ResponsePropertyFacilityInfo = (V1PropertyGetPost200ResponsePropertyFacilityInfo) o; - return Objects.equals(this.guestRoomList, v1PropertyGetPost200ResponsePropertyFacilityInfo.guestRoomList); - } - - @Override - public int hashCode() { - return Objects.hash(guestRoomList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfo {\n"); - sb.append(" guestRoomList: ").append(toIndentedString(guestRoomList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("guestRoomList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - JsonArray jsonArrayguestRoomList = jsonObj.getAsJsonArray("guestRoomList"); - if (jsonArrayguestRoomList != null) { - // ensure the json data is an array - if (!jsonObj.get("guestRoomList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `guestRoomList` to be an array in the JSON string but got `%s`", jsonObj.get("guestRoomList").toString())); - } - - // validate the optional field `guestRoomList` (array) - for (int i = 0; i < jsonArrayguestRoomList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.validateJsonObject(jsonArrayguestRoomList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfo - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java deleted file mode 100644 index 93b7308..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.java +++ /dev/null @@ -1,730 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner { - public static final String SERIALIZED_NAME_IS_ACTIVE = "isActive"; - @SerializedName(SERIALIZED_NAME_IS_ACTIVE) - private Boolean isActive; - - public static final String SERIALIZED_NAME_ROOM_ID = "roomId"; - @SerializedName(SERIALIZED_NAME_ROOM_ID) - private String roomId; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TYPE_NAME = "typeName"; - @SerializedName(SERIALIZED_NAME_TYPE_NAME) - private String typeName; - - public static final String SERIALIZED_NAME_DESCRIPTION_TEXT = "descriptionText"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION_TEXT) - private String descriptionText; - - public static final String SERIALIZED_NAME_IMAGE_LIST = "imageList"; - @SerializedName(SERIALIZED_NAME_IMAGE_LIST) - private List imageList = null; - - public static final String SERIALIZED_NAME_ROOM_TYPE_CODE = "roomTypeCode"; - @SerializedName(SERIALIZED_NAME_ROOM_TYPE_CODE) - private String roomTypeCode; - - public static final String SERIALIZED_NAME_IS_NON_SMOKING = "isNonSmoking"; - @SerializedName(SERIALIZED_NAME_IS_NON_SMOKING) - private Boolean isNonSmoking; - - public static final String SERIALIZED_NAME_ROOM_TYPE_NAME = "roomTypeName"; - @SerializedName(SERIALIZED_NAME_ROOM_TYPE_NAME) - private String roomTypeName; - - public static final String SERIALIZED_NAME_AMENITY_LIST = "amenityList"; - @SerializedName(SERIALIZED_NAME_AMENITY_LIST) - private List amenityList = null; - - public static final String SERIALIZED_NAME_MAX_OCCUPANCY = "maxOccupancy"; - @SerializedName(SERIALIZED_NAME_MAX_OCCUPANCY) - private String maxOccupancy; - - public static final String SERIALIZED_NAME_MESSAGE_LIST = "messageList"; - @SerializedName(SERIALIZED_NAME_MESSAGE_LIST) - private List messageList = null; - - public static final String SERIALIZED_NAME_MEDIA_LIST = "mediaList"; - @SerializedName(SERIALIZED_NAME_MEDIA_LIST) - private List mediaList = null; - - public static final String SERIALIZED_NAME_MAX_ADULT_OCCUPANCY = "maxAdultOccupancy"; - @SerializedName(SERIALIZED_NAME_MAX_ADULT_OCCUPANCY) - private String maxAdultOccupancy; - - public static final String SERIALIZED_NAME_MAX_CHILD_OCCUPANCY = "maxChildOccupancy"; - @SerializedName(SERIALIZED_NAME_MAX_CHILD_OCCUPANCY) - private String maxChildOccupancy; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner isActive(Boolean isActive) { - - this.isActive = isActive; - return this; - } - - /** - * Get isActive - * @return isActive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsActive() { - return isActive; - } - - - public void setIsActive(Boolean isActive) { - this.isActive = isActive; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner roomId(String roomId) { - - this.roomId = roomId; - return this; - } - - /** - * Get roomId - * @return roomId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "amrum", value = "") - - public String getRoomId() { - return roomId; - } - - - public void setRoomId(String roomId) { - this.roomId = roomId; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Amrum", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner typeName(String typeName) { - - this.typeName = typeName; - return this; - } - - /** - * Get typeName - * @return typeName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getTypeName() { - return typeName; - } - - - public void setTypeName(String typeName) { - this.typeName = typeName; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner descriptionText(String descriptionText) { - - this.descriptionText = descriptionText; - return this; - } - - /** - * Get descriptionText - * @return descriptionText - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getDescriptionText() { - return descriptionText; - } - - - public void setDescriptionText(String descriptionText) { - this.descriptionText = descriptionText; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner imageList(List imageList) { - - this.imageList = imageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addImageListItem(String imageListItem) { - if (this.imageList == null) { - this.imageList = new ArrayList<>(); - } - this.imageList.add(imageListItem); - return this; - } - - /** - * Get imageList - * @return imageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getImageList() { - return imageList; - } - - - public void setImageList(List imageList) { - this.imageList = imageList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner roomTypeCode(String roomTypeCode) { - - this.roomTypeCode = roomTypeCode; - return this; - } - - /** - * Get roomTypeCode - * @return roomTypeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public String getRoomTypeCode() { - return roomTypeCode; - } - - - public void setRoomTypeCode(String roomTypeCode) { - this.roomTypeCode = roomTypeCode; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner isNonSmoking(Boolean isNonSmoking) { - - this.isNonSmoking = isNonSmoking; - return this; - } - - /** - * Get isNonSmoking - * @return isNonSmoking - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsNonSmoking() { - return isNonSmoking; - } - - - public void setIsNonSmoking(Boolean isNonSmoking) { - this.isNonSmoking = isNonSmoking; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner roomTypeName(String roomTypeName) { - - this.roomTypeName = roomTypeName; - return this; - } - - /** - * Get roomTypeName - * @return roomTypeName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getRoomTypeName() { - return roomTypeName; - } - - - public void setRoomTypeName(String roomTypeName) { - this.roomTypeName = roomTypeName; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner amenityList(List amenityList) { - - this.amenityList = amenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addAmenityListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner amenityListItem) { - if (this.amenityList == null) { - this.amenityList = new ArrayList<>(); - } - this.amenityList.add(amenityListItem); - return this; - } - - /** - * Get amenityList - * @return amenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAmenityList() { - return amenityList; - } - - - public void setAmenityList(List amenityList) { - this.amenityList = amenityList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner maxOccupancy(String maxOccupancy) { - - this.maxOccupancy = maxOccupancy; - return this; - } - - /** - * Get maxOccupancy - * @return maxOccupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public String getMaxOccupancy() { - return maxOccupancy; - } - - - public void setMaxOccupancy(String maxOccupancy) { - this.maxOccupancy = maxOccupancy; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner messageList(List messageList) { - - this.messageList = messageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addMessageListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner messageListItem) { - if (this.messageList == null) { - this.messageList = new ArrayList<>(); - } - this.messageList.add(messageListItem); - return this; - } - - /** - * Get messageList - * @return messageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMessageList() { - return messageList; - } - - - public void setMessageList(List messageList) { - this.messageList = messageList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner mediaList(List mediaList) { - - this.mediaList = mediaList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner addMediaListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner mediaListItem) { - if (this.mediaList == null) { - this.mediaList = new ArrayList<>(); - } - this.mediaList.add(mediaListItem); - return this; - } - - /** - * Get mediaList - * @return mediaList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMediaList() { - return mediaList; - } - - - public void setMediaList(List mediaList) { - this.mediaList = mediaList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner maxAdultOccupancy(String maxAdultOccupancy) { - - this.maxAdultOccupancy = maxAdultOccupancy; - return this; - } - - /** - * Get maxAdultOccupancy - * @return maxAdultOccupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public String getMaxAdultOccupancy() { - return maxAdultOccupancy; - } - - - public void setMaxAdultOccupancy(String maxAdultOccupancy) { - this.maxAdultOccupancy = maxAdultOccupancy; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner maxChildOccupancy(String maxChildOccupancy) { - - this.maxChildOccupancy = maxChildOccupancy; - return this; - } - - /** - * Get maxChildOccupancy - * @return maxChildOccupancy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public String getMaxChildOccupancy() { - return maxChildOccupancy; - } - - - public void setMaxChildOccupancy(String maxChildOccupancy) { - this.maxChildOccupancy = maxChildOccupancy; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner) o; - return Objects.equals(this.isActive, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.isActive) && - Objects.equals(this.roomId, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.roomId) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.name) && - Objects.equals(this.typeName, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.typeName) && - Objects.equals(this.descriptionText, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.descriptionText) && - Objects.equals(this.imageList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.imageList) && - Objects.equals(this.roomTypeCode, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.roomTypeCode) && - Objects.equals(this.isNonSmoking, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.isNonSmoking) && - Objects.equals(this.roomTypeName, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.roomTypeName) && - Objects.equals(this.amenityList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.amenityList) && - Objects.equals(this.maxOccupancy, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.maxOccupancy) && - Objects.equals(this.messageList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.messageList) && - Objects.equals(this.mediaList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.mediaList) && - Objects.equals(this.maxAdultOccupancy, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.maxAdultOccupancy) && - Objects.equals(this.maxChildOccupancy, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.maxChildOccupancy); - } - - @Override - public int hashCode() { - return Objects.hash(isActive, roomId, name, typeName, descriptionText, imageList, roomTypeCode, isNonSmoking, roomTypeName, amenityList, maxOccupancy, messageList, mediaList, maxAdultOccupancy, maxChildOccupancy); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner {\n"); - sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); - sb.append(" roomId: ").append(toIndentedString(roomId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" typeName: ").append(toIndentedString(typeName)).append("\n"); - sb.append(" descriptionText: ").append(toIndentedString(descriptionText)).append("\n"); - sb.append(" imageList: ").append(toIndentedString(imageList)).append("\n"); - sb.append(" roomTypeCode: ").append(toIndentedString(roomTypeCode)).append("\n"); - sb.append(" isNonSmoking: ").append(toIndentedString(isNonSmoking)).append("\n"); - sb.append(" roomTypeName: ").append(toIndentedString(roomTypeName)).append("\n"); - sb.append(" amenityList: ").append(toIndentedString(amenityList)).append("\n"); - sb.append(" maxOccupancy: ").append(toIndentedString(maxOccupancy)).append("\n"); - sb.append(" messageList: ").append(toIndentedString(messageList)).append("\n"); - sb.append(" mediaList: ").append(toIndentedString(mediaList)).append("\n"); - sb.append(" maxAdultOccupancy: ").append(toIndentedString(maxAdultOccupancy)).append("\n"); - sb.append(" maxChildOccupancy: ").append(toIndentedString(maxChildOccupancy)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("isActive"); - openapiFields.add("roomId"); - openapiFields.add("name"); - openapiFields.add("typeName"); - openapiFields.add("descriptionText"); - openapiFields.add("imageList"); - openapiFields.add("roomTypeCode"); - openapiFields.add("isNonSmoking"); - openapiFields.add("roomTypeName"); - openapiFields.add("amenityList"); - openapiFields.add("maxOccupancy"); - openapiFields.add("messageList"); - openapiFields.add("mediaList"); - openapiFields.add("maxAdultOccupancy"); - openapiFields.add("maxChildOccupancy"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("roomId") != null && !jsonObj.get("roomId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `roomId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roomId").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("typeName") != null && !jsonObj.get("typeName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `typeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("typeName").toString())); - } - if (jsonObj.get("descriptionText") != null && !jsonObj.get("descriptionText").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `descriptionText` to be a primitive type in the JSON string but got `%s`", jsonObj.get("descriptionText").toString())); - } - // ensure the json data is an array - if (jsonObj.get("imageList") != null && !jsonObj.get("imageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `imageList` to be an array in the JSON string but got `%s`", jsonObj.get("imageList").toString())); - } - if (jsonObj.get("roomTypeCode") != null && !jsonObj.get("roomTypeCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `roomTypeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roomTypeCode").toString())); - } - if (jsonObj.get("roomTypeName") != null && !jsonObj.get("roomTypeName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `roomTypeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("roomTypeName").toString())); - } - JsonArray jsonArrayamenityList = jsonObj.getAsJsonArray("amenityList"); - if (jsonArrayamenityList != null) { - // ensure the json data is an array - if (!jsonObj.get("amenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `amenityList` to be an array in the JSON string but got `%s`", jsonObj.get("amenityList").toString())); - } - - // validate the optional field `amenityList` (array) - for (int i = 0; i < jsonArrayamenityList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.validateJsonObject(jsonArrayamenityList.get(i).getAsJsonObject()); - }; - } - if (jsonObj.get("maxOccupancy") != null && !jsonObj.get("maxOccupancy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `maxOccupancy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxOccupancy").toString())); - } - JsonArray jsonArraymessageList = jsonObj.getAsJsonArray("messageList"); - if (jsonArraymessageList != null) { - // ensure the json data is an array - if (!jsonObj.get("messageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `messageList` to be an array in the JSON string but got `%s`", jsonObj.get("messageList").toString())); - } - - // validate the optional field `messageList` (array) - for (int i = 0; i < jsonArraymessageList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.validateJsonObject(jsonArraymessageList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArraymediaList = jsonObj.getAsJsonArray("mediaList"); - if (jsonArraymediaList != null) { - // ensure the json data is an array - if (!jsonObj.get("mediaList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `mediaList` to be an array in the JSON string but got `%s`", jsonObj.get("mediaList").toString())); - } - - // validate the optional field `mediaList` (array) - for (int i = 0; i < jsonArraymediaList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.validateJsonObject(jsonArraymediaList.get(i).getAsJsonObject()); - }; - } - if (jsonObj.get("maxAdultOccupancy") != null && !jsonObj.get("maxAdultOccupancy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `maxAdultOccupancy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxAdultOccupancy").toString())); - } - if (jsonObj.get("maxChildOccupancy") != null && !jsonObj.get("maxChildOccupancy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `maxChildOccupancy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxChildOccupancy").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java deleted file mode 100644 index c5205a4..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private BigDecimal quantity; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "5005", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner quantity(BigDecimal quantity) { - - this.quantity = quantity; - return this; - } - - /** - * Get quantity - * @return quantity - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") - - public BigDecimal getQuantity() { - return quantity; - } - - - public void setQuantity(BigDecimal quantity) { - this.quantity = quantity; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.code) && - Objects.equals(this.quantity, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.quantity); - } - - @Override - public int hashCode() { - return Objects.hash(code, quantity); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("quantity"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java deleted file mode 100644 index aeabe18..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.java +++ /dev/null @@ -1,500 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner { - public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; - @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) - private Boolean isMainImage; - - public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; - @SerializedName(SERIALIZED_NAME_SORT_ORDER) - private BigDecimal sortOrder; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_TAG_LIST = "tagList"; - @SerializedName(SERIALIZED_NAME_TAG_LIST) - private List tagList = null; - - public static final String SERIALIZED_NAME_MODERATION_LABEL_LIST = "moderationLabelList"; - @SerializedName(SERIALIZED_NAME_MODERATION_LABEL_LIST) - private List moderationLabelList = null; - - public static final String SERIALIZED_NAME_DETECTION_LABEL_LIST = "detectionLabelList"; - @SerializedName(SERIALIZED_NAME_DETECTION_LABEL_LIST) - private List detectionLabelList = null; - - public static final String SERIALIZED_NAME_PROPERTY_AMENITY_LIST = "propertyAmenityList"; - @SerializedName(SERIALIZED_NAME_PROPERTY_AMENITY_LIST) - private List propertyAmenityList = null; - - public static final String SERIALIZED_NAME_ROOM_AMENITY_LIST = "roomAmenityList"; - @SerializedName(SERIALIZED_NAME_ROOM_AMENITY_LIST) - private List roomAmenityList = null; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner isMainImage(Boolean isMainImage) { - - this.isMainImage = isMainImage; - return this; - } - - /** - * Get isMainImage - * @return isMainImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsMainImage() { - return isMainImage; - } - - - public void setIsMainImage(Boolean isMainImage) { - this.isMainImage = isMainImage; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner sortOrder(BigDecimal sortOrder) { - - this.sortOrder = sortOrder; - return this; - } - - /** - * Get sortOrder - * @return sortOrder - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1001", value = "") - - public BigDecimal getSortOrder() { - return sortOrder; - } - - - public void setSortOrder(BigDecimal sortOrder) { - this.sortOrder = sortOrder; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "zim_1280x960_164357_002.jpg", value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner tagList(List tagList) { - - this.tagList = tagList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addTagListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner tagListItem) { - if (this.tagList == null) { - this.tagList = new ArrayList<>(); - } - this.tagList.add(tagListItem); - return this; - } - - /** - * Get tagList - * @return tagList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTagList() { - return tagList; - } - - - public void setTagList(List tagList) { - this.tagList = tagList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner moderationLabelList(List moderationLabelList) { - - this.moderationLabelList = moderationLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addModerationLabelListItem(String moderationLabelListItem) { - if (this.moderationLabelList == null) { - this.moderationLabelList = new ArrayList<>(); - } - this.moderationLabelList.add(moderationLabelListItem); - return this; - } - - /** - * Get moderationLabelList - * @return moderationLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getModerationLabelList() { - return moderationLabelList; - } - - - public void setModerationLabelList(List moderationLabelList) { - this.moderationLabelList = moderationLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner detectionLabelList(List detectionLabelList) { - - this.detectionLabelList = detectionLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addDetectionLabelListItem(String detectionLabelListItem) { - if (this.detectionLabelList == null) { - this.detectionLabelList = new ArrayList<>(); - } - this.detectionLabelList.add(detectionLabelListItem); - return this; - } - - /** - * Get detectionLabelList - * @return detectionLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getDetectionLabelList() { - return detectionLabelList; - } - - - public void setDetectionLabelList(List detectionLabelList) { - this.detectionLabelList = detectionLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner propertyAmenityList(List propertyAmenityList) { - - this.propertyAmenityList = propertyAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addPropertyAmenityListItem(String propertyAmenityListItem) { - if (this.propertyAmenityList == null) { - this.propertyAmenityList = new ArrayList<>(); - } - this.propertyAmenityList.add(propertyAmenityListItem); - return this; - } - - /** - * Get propertyAmenityList - * @return propertyAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPropertyAmenityList() { - return propertyAmenityList; - } - - - public void setPropertyAmenityList(List propertyAmenityList) { - this.propertyAmenityList = propertyAmenityList; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner roomAmenityList(List roomAmenityList) { - - this.roomAmenityList = roomAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner addRoomAmenityListItem(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner roomAmenityListItem) { - if (this.roomAmenityList == null) { - this.roomAmenityList = new ArrayList<>(); - } - this.roomAmenityList.add(roomAmenityListItem); - return this; - } - - /** - * Get roomAmenityList - * @return roomAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRoomAmenityList() { - return roomAmenityList; - } - - - public void setRoomAmenityList(List roomAmenityList) { - this.roomAmenityList = roomAmenityList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner) o; - return Objects.equals(this.isMainImage, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.isMainImage) && - Objects.equals(this.sortOrder, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.sortOrder) && - Objects.equals(this.url, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.url) && - Objects.equals(this.tagList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.tagList) && - Objects.equals(this.moderationLabelList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.moderationLabelList) && - Objects.equals(this.detectionLabelList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.detectionLabelList) && - Objects.equals(this.propertyAmenityList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.propertyAmenityList) && - Objects.equals(this.roomAmenityList, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.roomAmenityList); - } - - @Override - public int hashCode() { - return Objects.hash(isMainImage, sortOrder, url, tagList, moderationLabelList, detectionLabelList, propertyAmenityList, roomAmenityList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner {\n"); - sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); - sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" tagList: ").append(toIndentedString(tagList)).append("\n"); - sb.append(" moderationLabelList: ").append(toIndentedString(moderationLabelList)).append("\n"); - sb.append(" detectionLabelList: ").append(toIndentedString(detectionLabelList)).append("\n"); - sb.append(" propertyAmenityList: ").append(toIndentedString(propertyAmenityList)).append("\n"); - sb.append(" roomAmenityList: ").append(toIndentedString(roomAmenityList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("isMainImage"); - openapiFields.add("sortOrder"); - openapiFields.add("url"); - openapiFields.add("tagList"); - openapiFields.add("moderationLabelList"); - openapiFields.add("detectionLabelList"); - openapiFields.add("propertyAmenityList"); - openapiFields.add("roomAmenityList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("url") != null && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); - } - JsonArray jsonArraytagList = jsonObj.getAsJsonArray("tagList"); - if (jsonArraytagList != null) { - // ensure the json data is an array - if (!jsonObj.get("tagList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `tagList` to be an array in the JSON string but got `%s`", jsonObj.get("tagList").toString())); - } - - // validate the optional field `tagList` (array) - for (int i = 0; i < jsonArraytagList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.validateJsonObject(jsonArraytagList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("moderationLabelList") != null && !jsonObj.get("moderationLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `moderationLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("moderationLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("detectionLabelList") != null && !jsonObj.get("detectionLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `detectionLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("detectionLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("propertyAmenityList") != null && !jsonObj.get("propertyAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("propertyAmenityList").toString())); - } - JsonArray jsonArrayroomAmenityList = jsonObj.getAsJsonArray("roomAmenityList"); - if (jsonArrayroomAmenityList != null) { - // ensure the json data is an array - if (!jsonObj.get("roomAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `roomAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("roomAmenityList").toString())); - } - - // validate the optional field `roomAmenityList` (array) - for (int i = 0; i < jsonArrayroomAmenityList.size(); i++) { - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.validateJsonObject(jsonArrayroomAmenityList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java deleted file mode 100644 index c7362a7..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "146", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tables and chairs", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java deleted file mode 100644 index 91a24d5..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "159", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Living room", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java deleted file mode 100644 index afcd53f..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner() { - } - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Maisonette apartment on ground floor", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner = (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner) o; - return Objects.equals(this.languageCode, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.languageCode) && - Objects.equals(this.text, v1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.text); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, text); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("text"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ - public static V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeo.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeo.java deleted file mode 100644 index ef92e5d..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeo.java +++ /dev/null @@ -1,316 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDa; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDe; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoEn; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoNl; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeo { - public static final String SERIALIZED_NAME_DE = "de"; - @SerializedName(SERIALIZED_NAME_DE) - private V1PropertyGetPost200ResponsePropertyGeoDe de; - - public static final String SERIALIZED_NAME_EN = "en"; - @SerializedName(SERIALIZED_NAME_EN) - private V1PropertyGetPost200ResponsePropertyGeoEn en; - - public static final String SERIALIZED_NAME_DA = "da"; - @SerializedName(SERIALIZED_NAME_DA) - private V1PropertyGetPost200ResponsePropertyGeoDa da; - - public static final String SERIALIZED_NAME_NL = "nl"; - @SerializedName(SERIALIZED_NAME_NL) - private V1PropertyGetPost200ResponsePropertyGeoNl nl; - - public V1PropertyGetPost200ResponsePropertyGeo() { - } - - public V1PropertyGetPost200ResponsePropertyGeo de(V1PropertyGetPost200ResponsePropertyGeoDe de) { - - this.de = de; - return this; - } - - /** - * Get de - * @return de - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDe getDe() { - return de; - } - - - public void setDe(V1PropertyGetPost200ResponsePropertyGeoDe de) { - this.de = de; - } - - - public V1PropertyGetPost200ResponsePropertyGeo en(V1PropertyGetPost200ResponsePropertyGeoEn en) { - - this.en = en; - return this; - } - - /** - * Get en - * @return en - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoEn getEn() { - return en; - } - - - public void setEn(V1PropertyGetPost200ResponsePropertyGeoEn en) { - this.en = en; - } - - - public V1PropertyGetPost200ResponsePropertyGeo da(V1PropertyGetPost200ResponsePropertyGeoDa da) { - - this.da = da; - return this; - } - - /** - * Get da - * @return da - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDa getDa() { - return da; - } - - - public void setDa(V1PropertyGetPost200ResponsePropertyGeoDa da) { - this.da = da; - } - - - public V1PropertyGetPost200ResponsePropertyGeo nl(V1PropertyGetPost200ResponsePropertyGeoNl nl) { - - this.nl = nl; - return this; - } - - /** - * Get nl - * @return nl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoNl getNl() { - return nl; - } - - - public void setNl(V1PropertyGetPost200ResponsePropertyGeoNl nl) { - this.nl = nl; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeo v1PropertyGetPost200ResponsePropertyGeo = (V1PropertyGetPost200ResponsePropertyGeo) o; - return Objects.equals(this.de, v1PropertyGetPost200ResponsePropertyGeo.de) && - Objects.equals(this.en, v1PropertyGetPost200ResponsePropertyGeo.en) && - Objects.equals(this.da, v1PropertyGetPost200ResponsePropertyGeo.da) && - Objects.equals(this.nl, v1PropertyGetPost200ResponsePropertyGeo.nl); - } - - @Override - public int hashCode() { - return Objects.hash(de, en, da, nl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeo {\n"); - sb.append(" de: ").append(toIndentedString(de)).append("\n"); - sb.append(" en: ").append(toIndentedString(en)).append("\n"); - sb.append(" da: ").append(toIndentedString(da)).append("\n"); - sb.append(" nl: ").append(toIndentedString(nl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("de"); - openapiFields.add("en"); - openapiFields.add("da"); - openapiFields.add("nl"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `de` - if (jsonObj.getAsJsonObject("de") != null) { - V1PropertyGetPost200ResponsePropertyGeoDe.validateJsonObject(jsonObj.getAsJsonObject("de")); - } - // validate the optional field `en` - if (jsonObj.getAsJsonObject("en") != null) { - V1PropertyGetPost200ResponsePropertyGeoEn.validateJsonObject(jsonObj.getAsJsonObject("en")); - } - // validate the optional field `da` - if (jsonObj.getAsJsonObject("da") != null) { - V1PropertyGetPost200ResponsePropertyGeoDa.validateJsonObject(jsonObj.getAsJsonObject("da")); - } - // validate the optional field `nl` - if (jsonObj.getAsJsonObject("nl") != null) { - V1PropertyGetPost200ResponsePropertyGeoNl.validateJsonObject(jsonObj.getAsJsonObject("nl")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeo - */ - public static V1PropertyGetPost200ResponsePropertyGeo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDa.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDa.java deleted file mode 100644 index 150c4ae..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDa.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoDa - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoDa { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoDa() { - } - - public V1PropertyGetPost200ResponsePropertyGeoDa location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Tyskland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Tyskland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "da", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sild", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sild", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDa route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoDa v1PropertyGetPost200ResponsePropertyGeoDa = (V1PropertyGetPost200ResponsePropertyGeoDa) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoDa.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoDa.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoDa.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoDa.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoDa.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoDa.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoDa.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoDa.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoDa.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoDa.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoDa.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoDa.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoDa.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoDa.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoDa.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoDa.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoDa.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoDa {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDa - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoDa.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoDa is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoDa.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoDa.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoDa` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoDa.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoDa' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoDa.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoDa value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoDa read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoDa given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoDa - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDa - */ - public static V1PropertyGetPost200ResponsePropertyGeoDa fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoDa.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoDa to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDe.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDe.java deleted file mode 100644 index b87635f..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDe.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoDe - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoDe { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoDe() { - } - - public V1PropertyGetPost200ResponsePropertyGeoDe location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Deutschland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Deutschland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDe route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoDe v1PropertyGetPost200ResponsePropertyGeoDe = (V1PropertyGetPost200ResponsePropertyGeoDe) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoDe.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoDe.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoDe.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoDe.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoDe.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoDe.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoDe.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoDe.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoDe.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoDe.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoDe.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoDe.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoDe.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoDe.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoDe.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoDe.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoDe.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoDe {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDe - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoDe.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoDe is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoDe.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoDe.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoDe` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoDe.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoDe' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoDe.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoDe value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoDe read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoDe given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoDe - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDe - */ - public static V1PropertyGetPost200ResponsePropertyGeoDe fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoDe.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoDe to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java deleted file mode 100644 index af9e35a..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocation.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoDeLocation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoDeLocation { - public static final String SERIALIZED_NAME_LAT = "lat"; - @SerializedName(SERIALIZED_NAME_LAT) - private BigDecimal lat; - - public static final String SERIALIZED_NAME_LNG = "lng"; - @SerializedName(SERIALIZED_NAME_LNG) - private BigDecimal lng; - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation() { - } - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation lat(BigDecimal lat) { - - this.lat = lat; - return this; - } - - /** - * Get lat - * @return lat - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54.9157118", value = "") - - public BigDecimal getLat() { - return lat; - } - - - public void setLat(BigDecimal lat) { - this.lat = lat; - } - - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation lng(BigDecimal lng) { - - this.lng = lng; - return this; - } - - /** - * Get lng - * @return lng - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "8.304857", value = "") - - public BigDecimal getLng() { - return lng; - } - - - public void setLng(BigDecimal lng) { - this.lng = lng; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoDeLocation v1PropertyGetPost200ResponsePropertyGeoDeLocation = (V1PropertyGetPost200ResponsePropertyGeoDeLocation) o; - return Objects.equals(this.lat, v1PropertyGetPost200ResponsePropertyGeoDeLocation.lat) && - Objects.equals(this.lng, v1PropertyGetPost200ResponsePropertyGeoDeLocation.lng); - } - - @Override - public int hashCode() { - return Objects.hash(lat, lng); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoDeLocation {\n"); - sb.append(" lat: ").append(toIndentedString(lat)).append("\n"); - sb.append(" lng: ").append(toIndentedString(lng)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("lat"); - openapiFields.add("lng"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDeLocation - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoDeLocation.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoDeLocation is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoDeLocation.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoDeLocation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoDeLocation` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoDeLocation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoDeLocation' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoDeLocation.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoDeLocation value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoDeLocation read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoDeLocation given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoDeLocation - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoDeLocation - */ - public static V1PropertyGetPost200ResponsePropertyGeoDeLocation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoDeLocation.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoDeLocation to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEn.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEn.java deleted file mode 100644 index 1e9d21b..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEn.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoEn - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoEn { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoEn() { - } - - public V1PropertyGetPost200ResponsePropertyGeoEn location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Germany", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Germany", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoEn route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoEn v1PropertyGetPost200ResponsePropertyGeoEn = (V1PropertyGetPost200ResponsePropertyGeoEn) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoEn.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoEn.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoEn.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoEn.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoEn.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoEn.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoEn.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoEn.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoEn.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoEn.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoEn.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoEn.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoEn.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoEn.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoEn.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoEn.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoEn.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoEn {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoEn - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoEn.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoEn is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoEn.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoEn.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoEn` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoEn.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoEn' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoEn.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoEn value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoEn read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoEn given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoEn - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoEn - */ - public static V1PropertyGetPost200ResponsePropertyGeoEn fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoEn.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoEn to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNl.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNl.java deleted file mode 100644 index 840cce5..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNl.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGeoNl - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGeoNl { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyGeoDeLocation location; - - public static final String SERIALIZED_NAME_FORMATTED_ADDRESS = "formatted_address"; - @SerializedName(SERIALIZED_NAME_FORMATTED_ADDRESS) - private String formattedAddress; - - public static final String SERIALIZED_NAME_PLACE_ID = "place_id"; - @SerializedName(SERIALIZED_NAME_PLACE_ID) - private String placeId; - - public static final String SERIALIZED_NAME_LOCALITY = "locality"; - @SerializedName(SERIALIZED_NAME_LOCALITY) - private String locality; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3 = "administrative_area_level_3"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL3) - private String administrativeAreaLevel3; - - public static final String SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1 = "administrative_area_level_1"; - @SerializedName(SERIALIZED_NAME_ADMINISTRATIVE_AREA_LEVEL1) - private String administrativeAreaLevel1; - - public static final String SERIALIZED_NAME_STATE_CODE = "state_code"; - @SerializedName(SERIALIZED_NAME_STATE_CODE) - private String stateCode; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_COUNTRY_CODE = "country_code"; - @SerializedName(SERIALIZED_NAME_COUNTRY_CODE) - private String countryCode; - - public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code"; - @SerializedName(SERIALIZED_NAME_POSTAL_CODE) - private String postalCode; - - public static final String SERIALIZED_NAME_LANGUAGE = "language"; - @SerializedName(SERIALIZED_NAME_LANGUAGE) - private String language; - - public static final String SERIALIZED_NAME_NATURAL_FEATURE = "natural_feature"; - @SerializedName(SERIALIZED_NAME_NATURAL_FEATURE) - private String naturalFeature; - - public static final String SERIALIZED_NAME_ESTABLISHMENT = "establishment"; - @SerializedName(SERIALIZED_NAME_ESTABLISHMENT) - private String establishment; - - public static final String SERIALIZED_NAME_SUBLOCALITY = "sublocality"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY) - private String sublocality; - - public static final String SERIALIZED_NAME_SUBLOCALITY_LEVEL1 = "sublocality_level_1"; - @SerializedName(SERIALIZED_NAME_SUBLOCALITY_LEVEL1) - private String sublocalityLevel1; - - public static final String SERIALIZED_NAME_STREET_NUMBER = "street_number"; - @SerializedName(SERIALIZED_NAME_STREET_NUMBER) - private String streetNumber; - - public static final String SERIALIZED_NAME_ROUTE = "route"; - @SerializedName(SERIALIZED_NAME_ROUTE) - private String route; - - public V1PropertyGetPost200ResponsePropertyGeoNl() { - } - - public V1PropertyGetPost200ResponsePropertyGeoNl location(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyGeoDeLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyGeoDeLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl formattedAddress(String formattedAddress) { - - this.formattedAddress = formattedAddress; - return this; - } - - /** - * Get formattedAddress - * @return formattedAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig 20 25980 Sylt Duitsland", value = "") - - public String getFormattedAddress() { - return formattedAddress; - } - - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl placeId(String placeId) { - - this.placeId = placeId; - return this; - } - - /** - * Get placeId - * @return placeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "ChIJVaxqTevetEcRyfs8PGHK6mw", value = "") - - public String getPlaceId() { - return placeId; - } - - - public void setPlaceId(String placeId) { - this.placeId = placeId; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl locality(String locality) { - - this.locality = locality; - return this; - } - - /** - * Get locality - * @return locality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getLocality() { - return locality; - } - - - public void setLocality(String locality) { - this.locality = locality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl administrativeAreaLevel3(String administrativeAreaLevel3) { - - this.administrativeAreaLevel3 = administrativeAreaLevel3; - return this; - } - - /** - * Get administrativeAreaLevel3 - * @return administrativeAreaLevel3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordfriesland", value = "") - - public String getAdministrativeAreaLevel3() { - return administrativeAreaLevel3; - } - - - public void setAdministrativeAreaLevel3(String administrativeAreaLevel3) { - this.administrativeAreaLevel3 = administrativeAreaLevel3; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl administrativeAreaLevel1(String administrativeAreaLevel1) { - - this.administrativeAreaLevel1 = administrativeAreaLevel1; - return this; - } - - /** - * Get administrativeAreaLevel1 - * @return administrativeAreaLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Schleswig-Holstein", value = "") - - public String getAdministrativeAreaLevel1() { - return administrativeAreaLevel1; - } - - - public void setAdministrativeAreaLevel1(String administrativeAreaLevel1) { - this.administrativeAreaLevel1 = administrativeAreaLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl stateCode(String stateCode) { - - this.stateCode = stateCode; - return this; - } - - /** - * Get stateCode - * @return stateCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "SH", value = "") - - public String getStateCode() { - return stateCode; - } - - - public void setStateCode(String stateCode) { - this.stateCode = stateCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl country(String country) { - - this.country = country; - return this; - } - - /** - * Get country - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Duitsland", value = "") - - public String getCountry() { - return country; - } - - - public void setCountry(String country) { - this.country = country; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl countryCode(String countryCode) { - - this.countryCode = countryCode; - return this; - } - - /** - * Get countryCode - * @return countryCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "DE", value = "") - - public String getCountryCode() { - return countryCode; - } - - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl postalCode(String postalCode) { - - this.postalCode = postalCode; - return this; - } - - /** - * Get postalCode - * @return postalCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "25980", value = "") - - public String getPostalCode() { - return postalCode; - } - - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl language(String language) { - - this.language = language; - return this; - } - - /** - * Get language - * @return language - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "nl", value = "") - - public String getLanguage() { - return language; - } - - - public void setLanguage(String language) { - this.language = language; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl naturalFeature(String naturalFeature) { - - this.naturalFeature = naturalFeature; - return this; - } - - /** - * Get naturalFeature - * @return naturalFeature - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getNaturalFeature() { - return naturalFeature; - } - - - public void setNaturalFeature(String naturalFeature) { - this.naturalFeature = naturalFeature; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl establishment(String establishment) { - - this.establishment = establishment; - return this; - } - - /** - * Get establishment - * @return establishment - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Sylt", value = "") - - public String getEstablishment() { - return establishment; - } - - - public void setEstablishment(String establishment) { - this.establishment = establishment; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl sublocality(String sublocality) { - - this.sublocality = sublocality; - return this; - } - - /** - * Get sublocality - * @return sublocality - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocality() { - return sublocality; - } - - - public void setSublocality(String sublocality) { - this.sublocality = sublocality; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl sublocalityLevel1(String sublocalityLevel1) { - - this.sublocalityLevel1 = sublocalityLevel1; - return this; - } - - /** - * Get sublocalityLevel1 - * @return sublocalityLevel1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Westerland", value = "") - - public String getSublocalityLevel1() { - return sublocalityLevel1; - } - - - public void setSublocalityLevel1(String sublocalityLevel1) { - this.sublocalityLevel1 = sublocalityLevel1; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl streetNumber(String streetNumber) { - - this.streetNumber = streetNumber; - return this; - } - - /** - * Get streetNumber - * @return streetNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "20", value = "") - - public String getStreetNumber() { - return streetNumber; - } - - - public void setStreetNumber(String streetNumber) { - this.streetNumber = streetNumber; - } - - - public V1PropertyGetPost200ResponsePropertyGeoNl route(String route) { - - this.route = route; - return this; - } - - /** - * Get route - * @return route - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Nordhedig", value = "") - - public String getRoute() { - return route; - } - - - public void setRoute(String route) { - this.route = route; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGeoNl v1PropertyGetPost200ResponsePropertyGeoNl = (V1PropertyGetPost200ResponsePropertyGeoNl) o; - return Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyGeoNl.location) && - Objects.equals(this.formattedAddress, v1PropertyGetPost200ResponsePropertyGeoNl.formattedAddress) && - Objects.equals(this.placeId, v1PropertyGetPost200ResponsePropertyGeoNl.placeId) && - Objects.equals(this.locality, v1PropertyGetPost200ResponsePropertyGeoNl.locality) && - Objects.equals(this.administrativeAreaLevel3, v1PropertyGetPost200ResponsePropertyGeoNl.administrativeAreaLevel3) && - Objects.equals(this.administrativeAreaLevel1, v1PropertyGetPost200ResponsePropertyGeoNl.administrativeAreaLevel1) && - Objects.equals(this.stateCode, v1PropertyGetPost200ResponsePropertyGeoNl.stateCode) && - Objects.equals(this.country, v1PropertyGetPost200ResponsePropertyGeoNl.country) && - Objects.equals(this.countryCode, v1PropertyGetPost200ResponsePropertyGeoNl.countryCode) && - Objects.equals(this.postalCode, v1PropertyGetPost200ResponsePropertyGeoNl.postalCode) && - Objects.equals(this.language, v1PropertyGetPost200ResponsePropertyGeoNl.language) && - Objects.equals(this.naturalFeature, v1PropertyGetPost200ResponsePropertyGeoNl.naturalFeature) && - Objects.equals(this.establishment, v1PropertyGetPost200ResponsePropertyGeoNl.establishment) && - Objects.equals(this.sublocality, v1PropertyGetPost200ResponsePropertyGeoNl.sublocality) && - Objects.equals(this.sublocalityLevel1, v1PropertyGetPost200ResponsePropertyGeoNl.sublocalityLevel1) && - Objects.equals(this.streetNumber, v1PropertyGetPost200ResponsePropertyGeoNl.streetNumber) && - Objects.equals(this.route, v1PropertyGetPost200ResponsePropertyGeoNl.route); - } - - @Override - public int hashCode() { - return Objects.hash(location, formattedAddress, placeId, locality, administrativeAreaLevel3, administrativeAreaLevel1, stateCode, country, countryCode, postalCode, language, naturalFeature, establishment, sublocality, sublocalityLevel1, streetNumber, route); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGeoNl {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); - sb.append(" placeId: ").append(toIndentedString(placeId)).append("\n"); - sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); - sb.append(" administrativeAreaLevel3: ").append(toIndentedString(administrativeAreaLevel3)).append("\n"); - sb.append(" administrativeAreaLevel1: ").append(toIndentedString(administrativeAreaLevel1)).append("\n"); - sb.append(" stateCode: ").append(toIndentedString(stateCode)).append("\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); - sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" naturalFeature: ").append(toIndentedString(naturalFeature)).append("\n"); - sb.append(" establishment: ").append(toIndentedString(establishment)).append("\n"); - sb.append(" sublocality: ").append(toIndentedString(sublocality)).append("\n"); - sb.append(" sublocalityLevel1: ").append(toIndentedString(sublocalityLevel1)).append("\n"); - sb.append(" streetNumber: ").append(toIndentedString(streetNumber)).append("\n"); - sb.append(" route: ").append(toIndentedString(route)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("location"); - openapiFields.add("formatted_address"); - openapiFields.add("place_id"); - openapiFields.add("locality"); - openapiFields.add("administrative_area_level_3"); - openapiFields.add("administrative_area_level_1"); - openapiFields.add("state_code"); - openapiFields.add("country"); - openapiFields.add("country_code"); - openapiFields.add("postal_code"); - openapiFields.add("language"); - openapiFields.add("natural_feature"); - openapiFields.add("establishment"); - openapiFields.add("sublocality"); - openapiFields.add("sublocality_level_1"); - openapiFields.add("street_number"); - openapiFields.add("route"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoNl - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGeoNl.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGeoNl is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGeoNl.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGeoNl.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGeoNl` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyGeoDeLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - if (jsonObj.get("formatted_address") != null && !jsonObj.get("formatted_address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `formatted_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formatted_address").toString())); - } - if (jsonObj.get("place_id") != null && !jsonObj.get("place_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `place_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("place_id").toString())); - } - if (jsonObj.get("locality") != null && !jsonObj.get("locality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `locality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locality").toString())); - } - if (jsonObj.get("administrative_area_level_3") != null && !jsonObj.get("administrative_area_level_3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_3").toString())); - } - if (jsonObj.get("administrative_area_level_1") != null && !jsonObj.get("administrative_area_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `administrative_area_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("administrative_area_level_1").toString())); - } - if (jsonObj.get("state_code") != null && !jsonObj.get("state_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `state_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state_code").toString())); - } - if (jsonObj.get("country") != null && !jsonObj.get("country").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); - } - if (jsonObj.get("country_code") != null && !jsonObj.get("country_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `country_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country_code").toString())); - } - if (jsonObj.get("postal_code") != null && !jsonObj.get("postal_code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `postal_code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postal_code").toString())); - } - if (jsonObj.get("language") != null && !jsonObj.get("language").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `language` to be a primitive type in the JSON string but got `%s`", jsonObj.get("language").toString())); - } - if (jsonObj.get("natural_feature") != null && !jsonObj.get("natural_feature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `natural_feature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("natural_feature").toString())); - } - if (jsonObj.get("establishment") != null && !jsonObj.get("establishment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `establishment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("establishment").toString())); - } - if (jsonObj.get("sublocality") != null && !jsonObj.get("sublocality").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality").toString())); - } - if (jsonObj.get("sublocality_level_1") != null && !jsonObj.get("sublocality_level_1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sublocality_level_1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sublocality_level_1").toString())); - } - if (jsonObj.get("street_number") != null && !jsonObj.get("street_number").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `street_number` to be a primitive type in the JSON string but got `%s`", jsonObj.get("street_number").toString())); - } - if (jsonObj.get("route") != null && !jsonObj.get("route").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `route` to be a primitive type in the JSON string but got `%s`", jsonObj.get("route").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGeoNl.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGeoNl' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGeoNl.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGeoNl value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGeoNl read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGeoNl given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGeoNl - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGeoNl - */ - public static V1PropertyGetPost200ResponsePropertyGeoNl fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGeoNl.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGeoNl to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java deleted file mode 100644 index 9072968..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfo.java +++ /dev/null @@ -1,266 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyGuestInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyGuestInfo { - public static final String SERIALIZED_NAME_GUEST_ADDRESS_REQUIRED = "guestAddressRequired"; - @SerializedName(SERIALIZED_NAME_GUEST_ADDRESS_REQUIRED) - private Boolean guestAddressRequired; - - public static final String SERIALIZED_NAME_GUEST_CONTACT_NUMBER_REQUIRED = "guestContactNumberRequired"; - @SerializedName(SERIALIZED_NAME_GUEST_CONTACT_NUMBER_REQUIRED) - private Boolean guestContactNumberRequired; - - public static final String SERIALIZED_NAME_GUEST_NAME_LIST_REQUIRED = "guestNameListRequired"; - @SerializedName(SERIALIZED_NAME_GUEST_NAME_LIST_REQUIRED) - private Boolean guestNameListRequired; - - public V1PropertyGetPost200ResponsePropertyGuestInfo() { - } - - public V1PropertyGetPost200ResponsePropertyGuestInfo guestAddressRequired(Boolean guestAddressRequired) { - - this.guestAddressRequired = guestAddressRequired; - return this; - } - - /** - * Get guestAddressRequired - * @return guestAddressRequired - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getGuestAddressRequired() { - return guestAddressRequired; - } - - - public void setGuestAddressRequired(Boolean guestAddressRequired) { - this.guestAddressRequired = guestAddressRequired; - } - - - public V1PropertyGetPost200ResponsePropertyGuestInfo guestContactNumberRequired(Boolean guestContactNumberRequired) { - - this.guestContactNumberRequired = guestContactNumberRequired; - return this; - } - - /** - * Get guestContactNumberRequired - * @return guestContactNumberRequired - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getGuestContactNumberRequired() { - return guestContactNumberRequired; - } - - - public void setGuestContactNumberRequired(Boolean guestContactNumberRequired) { - this.guestContactNumberRequired = guestContactNumberRequired; - } - - - public V1PropertyGetPost200ResponsePropertyGuestInfo guestNameListRequired(Boolean guestNameListRequired) { - - this.guestNameListRequired = guestNameListRequired; - return this; - } - - /** - * Get guestNameListRequired - * @return guestNameListRequired - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getGuestNameListRequired() { - return guestNameListRequired; - } - - - public void setGuestNameListRequired(Boolean guestNameListRequired) { - this.guestNameListRequired = guestNameListRequired; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyGuestInfo v1PropertyGetPost200ResponsePropertyGuestInfo = (V1PropertyGetPost200ResponsePropertyGuestInfo) o; - return Objects.equals(this.guestAddressRequired, v1PropertyGetPost200ResponsePropertyGuestInfo.guestAddressRequired) && - Objects.equals(this.guestContactNumberRequired, v1PropertyGetPost200ResponsePropertyGuestInfo.guestContactNumberRequired) && - Objects.equals(this.guestNameListRequired, v1PropertyGetPost200ResponsePropertyGuestInfo.guestNameListRequired); - } - - @Override - public int hashCode() { - return Objects.hash(guestAddressRequired, guestContactNumberRequired, guestNameListRequired); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyGuestInfo {\n"); - sb.append(" guestAddressRequired: ").append(toIndentedString(guestAddressRequired)).append("\n"); - sb.append(" guestContactNumberRequired: ").append(toIndentedString(guestContactNumberRequired)).append("\n"); - sb.append(" guestNameListRequired: ").append(toIndentedString(guestNameListRequired)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("guestAddressRequired"); - openapiFields.add("guestContactNumberRequired"); - openapiFields.add("guestNameListRequired"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyGuestInfo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyGuestInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyGuestInfo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyGuestInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyGuestInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyGuestInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyGuestInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyGuestInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyGuestInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyGuestInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyGuestInfo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyGuestInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyGuestInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyGuestInfo - */ - public static V1PropertyGetPost200ResponsePropertyGuestInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyGuestInfo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyGuestInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java deleted file mode 100644 index c3503d9..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInner.java +++ /dev/null @@ -1,491 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyMediaListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyMediaListInner { - public static final String SERIALIZED_NAME_IS_MAIN_IMAGE = "isMainImage"; - @SerializedName(SERIALIZED_NAME_IS_MAIN_IMAGE) - private Boolean isMainImage; - - public static final String SERIALIZED_NAME_SORT_ORDER = "sortOrder"; - @SerializedName(SERIALIZED_NAME_SORT_ORDER) - private BigDecimal sortOrder; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_TAG_LIST = "tagList"; - @SerializedName(SERIALIZED_NAME_TAG_LIST) - private List tagList = null; - - public static final String SERIALIZED_NAME_MODERATION_LABEL_LIST = "moderationLabelList"; - @SerializedName(SERIALIZED_NAME_MODERATION_LABEL_LIST) - private List moderationLabelList = null; - - public static final String SERIALIZED_NAME_DETECTION_LABEL_LIST = "detectionLabelList"; - @SerializedName(SERIALIZED_NAME_DETECTION_LABEL_LIST) - private List detectionLabelList = null; - - public static final String SERIALIZED_NAME_PROPERTY_AMENITY_LIST = "propertyAmenityList"; - @SerializedName(SERIALIZED_NAME_PROPERTY_AMENITY_LIST) - private List propertyAmenityList = null; - - public static final String SERIALIZED_NAME_ROOM_AMENITY_LIST = "roomAmenityList"; - @SerializedName(SERIALIZED_NAME_ROOM_AMENITY_LIST) - private List roomAmenityList = null; - - public V1PropertyGetPost200ResponsePropertyMediaListInner() { - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner isMainImage(Boolean isMainImage) { - - this.isMainImage = isMainImage; - return this; - } - - /** - * Get isMainImage - * @return isMainImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIsMainImage() { - return isMainImage; - } - - - public void setIsMainImage(Boolean isMainImage) { - this.isMainImage = isMainImage; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner sortOrder(BigDecimal sortOrder) { - - this.sortOrder = sortOrder; - return this; - } - - /** - * Get sortOrder - * @return sortOrder - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1000", value = "") - - public BigDecimal getSortOrder() { - return sortOrder; - } - - - public void setSortOrder(BigDecimal sortOrder) { - this.sortOrder = sortOrder; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner url(String url) { - - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "obj_1280x960_54620_001.jpg", value = "") - - public String getUrl() { - return url; - } - - - public void setUrl(String url) { - this.url = url; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner tagList(List tagList) { - - this.tagList = tagList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addTagListItem(V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner tagListItem) { - if (this.tagList == null) { - this.tagList = new ArrayList<>(); - } - this.tagList.add(tagListItem); - return this; - } - - /** - * Get tagList - * @return tagList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTagList() { - return tagList; - } - - - public void setTagList(List tagList) { - this.tagList = tagList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner moderationLabelList(List moderationLabelList) { - - this.moderationLabelList = moderationLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addModerationLabelListItem(String moderationLabelListItem) { - if (this.moderationLabelList == null) { - this.moderationLabelList = new ArrayList<>(); - } - this.moderationLabelList.add(moderationLabelListItem); - return this; - } - - /** - * Get moderationLabelList - * @return moderationLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getModerationLabelList() { - return moderationLabelList; - } - - - public void setModerationLabelList(List moderationLabelList) { - this.moderationLabelList = moderationLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner detectionLabelList(List detectionLabelList) { - - this.detectionLabelList = detectionLabelList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addDetectionLabelListItem(String detectionLabelListItem) { - if (this.detectionLabelList == null) { - this.detectionLabelList = new ArrayList<>(); - } - this.detectionLabelList.add(detectionLabelListItem); - return this; - } - - /** - * Get detectionLabelList - * @return detectionLabelList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getDetectionLabelList() { - return detectionLabelList; - } - - - public void setDetectionLabelList(List detectionLabelList) { - this.detectionLabelList = detectionLabelList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner propertyAmenityList(List propertyAmenityList) { - - this.propertyAmenityList = propertyAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addPropertyAmenityListItem(String propertyAmenityListItem) { - if (this.propertyAmenityList == null) { - this.propertyAmenityList = new ArrayList<>(); - } - this.propertyAmenityList.add(propertyAmenityListItem); - return this; - } - - /** - * Get propertyAmenityList - * @return propertyAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPropertyAmenityList() { - return propertyAmenityList; - } - - - public void setPropertyAmenityList(List propertyAmenityList) { - this.propertyAmenityList = propertyAmenityList; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInner roomAmenityList(List roomAmenityList) { - - this.roomAmenityList = roomAmenityList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyMediaListInner addRoomAmenityListItem(String roomAmenityListItem) { - if (this.roomAmenityList == null) { - this.roomAmenityList = new ArrayList<>(); - } - this.roomAmenityList.add(roomAmenityListItem); - return this; - } - - /** - * Get roomAmenityList - * @return roomAmenityList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getRoomAmenityList() { - return roomAmenityList; - } - - - public void setRoomAmenityList(List roomAmenityList) { - this.roomAmenityList = roomAmenityList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyMediaListInner v1PropertyGetPost200ResponsePropertyMediaListInner = (V1PropertyGetPost200ResponsePropertyMediaListInner) o; - return Objects.equals(this.isMainImage, v1PropertyGetPost200ResponsePropertyMediaListInner.isMainImage) && - Objects.equals(this.sortOrder, v1PropertyGetPost200ResponsePropertyMediaListInner.sortOrder) && - Objects.equals(this.url, v1PropertyGetPost200ResponsePropertyMediaListInner.url) && - Objects.equals(this.tagList, v1PropertyGetPost200ResponsePropertyMediaListInner.tagList) && - Objects.equals(this.moderationLabelList, v1PropertyGetPost200ResponsePropertyMediaListInner.moderationLabelList) && - Objects.equals(this.detectionLabelList, v1PropertyGetPost200ResponsePropertyMediaListInner.detectionLabelList) && - Objects.equals(this.propertyAmenityList, v1PropertyGetPost200ResponsePropertyMediaListInner.propertyAmenityList) && - Objects.equals(this.roomAmenityList, v1PropertyGetPost200ResponsePropertyMediaListInner.roomAmenityList); - } - - @Override - public int hashCode() { - return Objects.hash(isMainImage, sortOrder, url, tagList, moderationLabelList, detectionLabelList, propertyAmenityList, roomAmenityList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyMediaListInner {\n"); - sb.append(" isMainImage: ").append(toIndentedString(isMainImage)).append("\n"); - sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" tagList: ").append(toIndentedString(tagList)).append("\n"); - sb.append(" moderationLabelList: ").append(toIndentedString(moderationLabelList)).append("\n"); - sb.append(" detectionLabelList: ").append(toIndentedString(detectionLabelList)).append("\n"); - sb.append(" propertyAmenityList: ").append(toIndentedString(propertyAmenityList)).append("\n"); - sb.append(" roomAmenityList: ").append(toIndentedString(roomAmenityList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("isMainImage"); - openapiFields.add("sortOrder"); - openapiFields.add("url"); - openapiFields.add("tagList"); - openapiFields.add("moderationLabelList"); - openapiFields.add("detectionLabelList"); - openapiFields.add("propertyAmenityList"); - openapiFields.add("roomAmenityList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyMediaListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyMediaListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyMediaListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyMediaListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("url") != null && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); - } - JsonArray jsonArraytagList = jsonObj.getAsJsonArray("tagList"); - if (jsonArraytagList != null) { - // ensure the json data is an array - if (!jsonObj.get("tagList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `tagList` to be an array in the JSON string but got `%s`", jsonObj.get("tagList").toString())); - } - - // validate the optional field `tagList` (array) - for (int i = 0; i < jsonArraytagList.size(); i++) { - V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.validateJsonObject(jsonArraytagList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("moderationLabelList") != null && !jsonObj.get("moderationLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `moderationLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("moderationLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("detectionLabelList") != null && !jsonObj.get("detectionLabelList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `detectionLabelList` to be an array in the JSON string but got `%s`", jsonObj.get("detectionLabelList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("propertyAmenityList") != null && !jsonObj.get("propertyAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `propertyAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("propertyAmenityList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("roomAmenityList") != null && !jsonObj.get("roomAmenityList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `roomAmenityList` to be an array in the JSON string but got `%s`", jsonObj.get("roomAmenityList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyMediaListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyMediaListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyMediaListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyMediaListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyMediaListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyMediaListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInner - */ - public static V1PropertyGetPost200ResponsePropertyMediaListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyMediaListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyMediaListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java deleted file mode 100644 index c263ff6..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner() { - } - - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "3", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Property building", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner v1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner = (V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ - public static V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java deleted file mode 100644 index db00e2d..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInner.java +++ /dev/null @@ -1,565 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPolicyListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPolicyListInner { - public static final String SERIALIZED_NAME_CHECK_IN_TIME = "checkInTime"; - @SerializedName(SERIALIZED_NAME_CHECK_IN_TIME) - private BigDecimal checkInTime; - - public static final String SERIALIZED_NAME_CHECK_OUT_TIME = "checkOutTime"; - @SerializedName(SERIALIZED_NAME_CHECK_OUT_TIME) - private BigDecimal checkOutTime; - - public static final String SERIALIZED_NAME_TOTAL_GUEST_COUNT = "totalGuestCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_GUEST_COUNT) - private BigDecimal totalGuestCount; - - public static final String SERIALIZED_NAME_CANCELLATION_POLICY_LIST = "cancellationPolicyList"; - @SerializedName(SERIALIZED_NAME_CANCELLATION_POLICY_LIST) - private List cancellationPolicyList = null; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MIN = "advanceBookingMin"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MIN) - private BigDecimal advanceBookingMin; - - public static final String SERIALIZED_NAME_ADVANCE_BOOKING_MAX = "advanceBookingMax"; - @SerializedName(SERIALIZED_NAME_ADVANCE_BOOKING_MAX) - private BigDecimal advanceBookingMax; - - public static final String SERIALIZED_NAME_PETS_POLICY = "petsPolicy"; - @SerializedName(SERIALIZED_NAME_PETS_POLICY) - private V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy; - - public static final String SERIALIZED_NAME_PREPAYMENT_POLICY = "prepaymentPolicy"; - @SerializedName(SERIALIZED_NAME_PREPAYMENT_POLICY) - private String prepaymentPolicy; - - public static final String SERIALIZED_NAME_GUARANTEE_POLICY = "guaranteePolicy"; - @SerializedName(SERIALIZED_NAME_GUARANTEE_POLICY) - private String guaranteePolicy; - - public static final String SERIALIZED_NAME_TAX_POLICY_LIST = "taxPolicyList"; - @SerializedName(SERIALIZED_NAME_TAX_POLICY_LIST) - private List taxPolicyList = null; - - public static final String SERIALIZED_NAME_FEE_POLICY_LIST = "feePolicyList"; - @SerializedName(SERIALIZED_NAME_FEE_POLICY_LIST) - private List feePolicyList = null; - - public V1PropertyGetPost200ResponsePropertyPolicyListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner checkInTime(BigDecimal checkInTime) { - - this.checkInTime = checkInTime; - return this; - } - - /** - * Get checkInTime - * @return checkInTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54000000", value = "") - - public BigDecimal getCheckInTime() { - return checkInTime; - } - - - public void setCheckInTime(BigDecimal checkInTime) { - this.checkInTime = checkInTime; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner checkOutTime(BigDecimal checkOutTime) { - - this.checkOutTime = checkOutTime; - return this; - } - - /** - * Get checkOutTime - * @return checkOutTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "43200000", value = "") - - public BigDecimal getCheckOutTime() { - return checkOutTime; - } - - - public void setCheckOutTime(BigDecimal checkOutTime) { - this.checkOutTime = checkOutTime; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner totalGuestCount(BigDecimal totalGuestCount) { - - this.totalGuestCount = totalGuestCount; - return this; - } - - /** - * Get totalGuestCount - * @return totalGuestCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "10", value = "") - - public BigDecimal getTotalGuestCount() { - return totalGuestCount; - } - - - public void setTotalGuestCount(BigDecimal totalGuestCount) { - this.totalGuestCount = totalGuestCount; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner cancellationPolicyList(List cancellationPolicyList) { - - this.cancellationPolicyList = cancellationPolicyList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner addCancellationPolicyListItem(String cancellationPolicyListItem) { - if (this.cancellationPolicyList == null) { - this.cancellationPolicyList = new ArrayList<>(); - } - this.cancellationPolicyList.add(cancellationPolicyListItem); - return this; - } - - /** - * Get cancellationPolicyList - * @return cancellationPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCancellationPolicyList() { - return cancellationPolicyList; - } - - - public void setCancellationPolicyList(List cancellationPolicyList) { - this.cancellationPolicyList = cancellationPolicyList; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner advanceBookingMin(BigDecimal advanceBookingMin) { - - this.advanceBookingMin = advanceBookingMin; - return this; - } - - /** - * Get advanceBookingMin - * @return advanceBookingMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "34560000", value = "") - - public BigDecimal getAdvanceBookingMin() { - return advanceBookingMin; - } - - - public void setAdvanceBookingMin(BigDecimal advanceBookingMin) { - this.advanceBookingMin = advanceBookingMin; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner advanceBookingMax(BigDecimal advanceBookingMax) { - - this.advanceBookingMax = advanceBookingMax; - return this; - } - - /** - * Get advanceBookingMax - * @return advanceBookingMax - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getAdvanceBookingMax() { - return advanceBookingMax; - } - - - public void setAdvanceBookingMax(BigDecimal advanceBookingMax) { - this.advanceBookingMax = advanceBookingMax; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner petsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - - this.petsPolicy = petsPolicy; - return this; - } - - /** - * Get petsPolicy - * @return petsPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy getPetsPolicy() { - return petsPolicy; - } - - - public void setPetsPolicy(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy petsPolicy) { - this.petsPolicy = petsPolicy; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner prepaymentPolicy(String prepaymentPolicy) { - - this.prepaymentPolicy = prepaymentPolicy; - return this; - } - - /** - * Get prepaymentPolicy - * @return prepaymentPolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "after_reservation_is_made", value = "") - - public String getPrepaymentPolicy() { - return prepaymentPolicy; - } - - - public void setPrepaymentPolicy(String prepaymentPolicy) { - this.prepaymentPolicy = prepaymentPolicy; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner guaranteePolicy(String guaranteePolicy) { - - this.guaranteePolicy = guaranteePolicy; - return this; - } - - /** - * Get guaranteePolicy - * @return guaranteePolicy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getGuaranteePolicy() { - return guaranteePolicy; - } - - - public void setGuaranteePolicy(String guaranteePolicy) { - this.guaranteePolicy = guaranteePolicy; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner taxPolicyList(List taxPolicyList) { - - this.taxPolicyList = taxPolicyList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner addTaxPolicyListItem(V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner taxPolicyListItem) { - if (this.taxPolicyList == null) { - this.taxPolicyList = new ArrayList<>(); - } - this.taxPolicyList.add(taxPolicyListItem); - return this; - } - - /** - * Get taxPolicyList - * @return taxPolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTaxPolicyList() { - return taxPolicyList; - } - - - public void setTaxPolicyList(List taxPolicyList) { - this.taxPolicyList = taxPolicyList; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInner feePolicyList(List feePolicyList) { - - this.feePolicyList = feePolicyList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInner addFeePolicyListItem(String feePolicyListItem) { - if (this.feePolicyList == null) { - this.feePolicyList = new ArrayList<>(); - } - this.feePolicyList.add(feePolicyListItem); - return this; - } - - /** - * Get feePolicyList - * @return feePolicyList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getFeePolicyList() { - return feePolicyList; - } - - - public void setFeePolicyList(List feePolicyList) { - this.feePolicyList = feePolicyList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPolicyListInner v1PropertyGetPost200ResponsePropertyPolicyListInner = (V1PropertyGetPost200ResponsePropertyPolicyListInner) o; - return Objects.equals(this.checkInTime, v1PropertyGetPost200ResponsePropertyPolicyListInner.checkInTime) && - Objects.equals(this.checkOutTime, v1PropertyGetPost200ResponsePropertyPolicyListInner.checkOutTime) && - Objects.equals(this.totalGuestCount, v1PropertyGetPost200ResponsePropertyPolicyListInner.totalGuestCount) && - Objects.equals(this.cancellationPolicyList, v1PropertyGetPost200ResponsePropertyPolicyListInner.cancellationPolicyList) && - Objects.equals(this.advanceBookingMin, v1PropertyGetPost200ResponsePropertyPolicyListInner.advanceBookingMin) && - Objects.equals(this.advanceBookingMax, v1PropertyGetPost200ResponsePropertyPolicyListInner.advanceBookingMax) && - Objects.equals(this.petsPolicy, v1PropertyGetPost200ResponsePropertyPolicyListInner.petsPolicy) && - Objects.equals(this.prepaymentPolicy, v1PropertyGetPost200ResponsePropertyPolicyListInner.prepaymentPolicy) && - Objects.equals(this.guaranteePolicy, v1PropertyGetPost200ResponsePropertyPolicyListInner.guaranteePolicy) && - Objects.equals(this.taxPolicyList, v1PropertyGetPost200ResponsePropertyPolicyListInner.taxPolicyList) && - Objects.equals(this.feePolicyList, v1PropertyGetPost200ResponsePropertyPolicyListInner.feePolicyList); - } - - @Override - public int hashCode() { - return Objects.hash(checkInTime, checkOutTime, totalGuestCount, cancellationPolicyList, advanceBookingMin, advanceBookingMax, petsPolicy, prepaymentPolicy, guaranteePolicy, taxPolicyList, feePolicyList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPolicyListInner {\n"); - sb.append(" checkInTime: ").append(toIndentedString(checkInTime)).append("\n"); - sb.append(" checkOutTime: ").append(toIndentedString(checkOutTime)).append("\n"); - sb.append(" totalGuestCount: ").append(toIndentedString(totalGuestCount)).append("\n"); - sb.append(" cancellationPolicyList: ").append(toIndentedString(cancellationPolicyList)).append("\n"); - sb.append(" advanceBookingMin: ").append(toIndentedString(advanceBookingMin)).append("\n"); - sb.append(" advanceBookingMax: ").append(toIndentedString(advanceBookingMax)).append("\n"); - sb.append(" petsPolicy: ").append(toIndentedString(petsPolicy)).append("\n"); - sb.append(" prepaymentPolicy: ").append(toIndentedString(prepaymentPolicy)).append("\n"); - sb.append(" guaranteePolicy: ").append(toIndentedString(guaranteePolicy)).append("\n"); - sb.append(" taxPolicyList: ").append(toIndentedString(taxPolicyList)).append("\n"); - sb.append(" feePolicyList: ").append(toIndentedString(feePolicyList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("checkInTime"); - openapiFields.add("checkOutTime"); - openapiFields.add("totalGuestCount"); - openapiFields.add("cancellationPolicyList"); - openapiFields.add("advanceBookingMin"); - openapiFields.add("advanceBookingMax"); - openapiFields.add("petsPolicy"); - openapiFields.add("prepaymentPolicy"); - openapiFields.add("guaranteePolicy"); - openapiFields.add("taxPolicyList"); - openapiFields.add("feePolicyList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPolicyListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPolicyListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPolicyListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - // ensure the json data is an array - if (jsonObj.get("cancellationPolicyList") != null && !jsonObj.get("cancellationPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `cancellationPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("cancellationPolicyList").toString())); - } - // validate the optional field `petsPolicy` - if (jsonObj.getAsJsonObject("petsPolicy") != null) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.validateJsonObject(jsonObj.getAsJsonObject("petsPolicy")); - } - if (jsonObj.get("prepaymentPolicy") != null && !jsonObj.get("prepaymentPolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `prepaymentPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prepaymentPolicy").toString())); - } - if (jsonObj.get("guaranteePolicy") != null && !jsonObj.get("guaranteePolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `guaranteePolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("guaranteePolicy").toString())); - } - JsonArray jsonArraytaxPolicyList = jsonObj.getAsJsonArray("taxPolicyList"); - if (jsonArraytaxPolicyList != null) { - // ensure the json data is an array - if (!jsonObj.get("taxPolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `taxPolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("taxPolicyList").toString())); - } - - // validate the optional field `taxPolicyList` (array) - for (int i = 0; i < jsonArraytaxPolicyList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.validateJsonObject(jsonArraytaxPolicyList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("feePolicyList") != null && !jsonObj.get("feePolicyList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `feePolicyList` to be an array in the JSON string but got `%s`", jsonObj.get("feePolicyList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPolicyListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPolicyListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPolicyListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPolicyListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPolicyListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPolicyListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInner - */ - public static V1PropertyGetPost200ResponsePropertyPolicyListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPolicyListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPolicyListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java deleted file mode 100644 index 0e28e46..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.java +++ /dev/null @@ -1,266 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy { - public static final String SERIALIZED_NAME_ALLOWED = "allowed"; - @SerializedName(SERIALIZED_NAME_ALLOWED) - private Boolean allowed; - - public static final String SERIALIZED_NAME_BY_ARRANGEMENT = "byArrangement"; - @SerializedName(SERIALIZED_NAME_BY_ARRANGEMENT) - private Boolean byArrangement; - - public static final String SERIALIZED_NAME_FREE_OF_CHARGE = "freeOfCharge"; - @SerializedName(SERIALIZED_NAME_FREE_OF_CHARGE) - private Boolean freeOfCharge; - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy() { - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy allowed(Boolean allowed) { - - this.allowed = allowed; - return this; - } - - /** - * Get allowed - * @return allowed - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getAllowed() { - return allowed; - } - - - public void setAllowed(Boolean allowed) { - this.allowed = allowed; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy byArrangement(Boolean byArrangement) { - - this.byArrangement = byArrangement; - return this; - } - - /** - * Get byArrangement - * @return byArrangement - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getByArrangement() { - return byArrangement; - } - - - public void setByArrangement(Boolean byArrangement) { - this.byArrangement = byArrangement; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy freeOfCharge(Boolean freeOfCharge) { - - this.freeOfCharge = freeOfCharge; - return this; - } - - /** - * Get freeOfCharge - * @return freeOfCharge - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getFreeOfCharge() { - return freeOfCharge; - } - - - public void setFreeOfCharge(Boolean freeOfCharge) { - this.freeOfCharge = freeOfCharge; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy = (V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy) o; - return Objects.equals(this.allowed, v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.allowed) && - Objects.equals(this.byArrangement, v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.byArrangement) && - Objects.equals(this.freeOfCharge, v1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.freeOfCharge); - } - - @Override - public int hashCode() { - return Objects.hash(allowed, byArrangement, freeOfCharge); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy {\n"); - sb.append(" allowed: ").append(toIndentedString(allowed)).append("\n"); - sb.append(" byArrangement: ").append(toIndentedString(byArrangement)).append("\n"); - sb.append(" freeOfCharge: ").append(toIndentedString(freeOfCharge)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("allowed"); - openapiFields.add("byArrangement"); - openapiFields.add("freeOfCharge"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - */ - public static V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java deleted file mode 100644 index 4b20932..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.java +++ /dev/null @@ -1,377 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner { - public static final String SERIALIZED_NAME_TYPE_CODE = "typeCode"; - @SerializedName(SERIALIZED_NAME_TYPE_CODE) - private BigDecimal typeCode; - - public static final String SERIALIZED_NAME_PERCENT = "percent"; - @SerializedName(SERIALIZED_NAME_PERCENT) - private BigDecimal percent; - - public static final String SERIALIZED_NAME_CHARGE_TYPE = "chargeType"; - @SerializedName(SERIALIZED_NAME_CHARGE_TYPE) - private String chargeType; - - public static final String SERIALIZED_NAME_CHARGE_FREQUENCY_CODE = "chargeFrequencyCode"; - @SerializedName(SERIALIZED_NAME_CHARGE_FREQUENCY_CODE) - private BigDecimal chargeFrequencyCode; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_CONDITION_LIST = "conditionList"; - @SerializedName(SERIALIZED_NAME_CONDITION_LIST) - private List conditionList = null; - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner typeCode(BigDecimal typeCode) { - - this.typeCode = typeCode; - return this; - } - - /** - * Get typeCode - * @return typeCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "36", value = "") - - public BigDecimal getTypeCode() { - return typeCode; - } - - - public void setTypeCode(BigDecimal typeCode) { - this.typeCode = typeCode; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner percent(BigDecimal percent) { - - this.percent = percent; - return this; - } - - /** - * Get percent - * @return percent - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "19", value = "") - - public BigDecimal getPercent() { - return percent; - } - - - public void setPercent(BigDecimal percent) { - this.percent = percent; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner chargeType(String chargeType) { - - this.chargeType = chargeType; - return this; - } - - /** - * Get chargeType - * @return chargeType - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "included", value = "") - - public String getChargeType() { - return chargeType; - } - - - public void setChargeType(String chargeType) { - this.chargeType = chargeType; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner chargeFrequencyCode(BigDecimal chargeFrequencyCode) { - - this.chargeFrequencyCode = chargeFrequencyCode; - return this; - } - - /** - * Get chargeFrequencyCode - * @return chargeFrequencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "12", value = "") - - public BigDecimal getChargeFrequencyCode() { - return chargeFrequencyCode; - } - - - public void setChargeFrequencyCode(BigDecimal chargeFrequencyCode) { - this.chargeFrequencyCode = chargeFrequencyCode; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner conditionList(List conditionList) { - - this.conditionList = conditionList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner addConditionListItem(String conditionListItem) { - if (this.conditionList == null) { - this.conditionList = new ArrayList<>(); - } - this.conditionList.add(conditionListItem); - return this; - } - - /** - * Get conditionList - * @return conditionList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getConditionList() { - return conditionList; - } - - - public void setConditionList(List conditionList) { - this.conditionList = conditionList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner = (V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner) o; - return Objects.equals(this.typeCode, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.typeCode) && - Objects.equals(this.percent, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.percent) && - Objects.equals(this.chargeType, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.chargeType) && - Objects.equals(this.chargeFrequencyCode, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.chargeFrequencyCode) && - Objects.equals(this.currencyCode, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.currencyCode) && - Objects.equals(this.conditionList, v1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.conditionList); - } - - @Override - public int hashCode() { - return Objects.hash(typeCode, percent, chargeType, chargeFrequencyCode, currencyCode, conditionList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner {\n"); - sb.append(" typeCode: ").append(toIndentedString(typeCode)).append("\n"); - sb.append(" percent: ").append(toIndentedString(percent)).append("\n"); - sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); - sb.append(" chargeFrequencyCode: ").append(toIndentedString(chargeFrequencyCode)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" conditionList: ").append(toIndentedString(conditionList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("typeCode"); - openapiFields.add("percent"); - openapiFields.add("chargeType"); - openapiFields.add("chargeFrequencyCode"); - openapiFields.add("currencyCode"); - openapiFields.add("conditionList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("chargeType") != null && !jsonObj.get("chargeType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `chargeType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeType").toString())); - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - // ensure the json data is an array - if (jsonObj.get("conditionList") != null && !jsonObj.get("conditionList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `conditionList` to be an array in the JSON string but got `%s`", jsonObj.get("conditionList").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ - public static V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java deleted file mode 100644 index 8f054fe..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfo.java +++ /dev/null @@ -1,439 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoLocation; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfo { - public static final String SERIALIZED_NAME_UNIT_COUNT = "unitCount"; - @SerializedName(SERIALIZED_NAME_UNIT_COUNT) - private BigDecimal unitCount; - - public static final String SERIALIZED_NAME_MESSAGE_LIST = "messageList"; - @SerializedName(SERIALIZED_NAME_MESSAGE_LIST) - private List messageList = null; - - public static final String SERIALIZED_NAME_CATEGORY_LIST = "categoryList"; - @SerializedName(SERIALIZED_NAME_CATEGORY_LIST) - private List categoryList = null; - - public static final String SERIALIZED_NAME_LANGUAGE_LIST = "languageList"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_LIST) - private List languageList = null; - - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private V1PropertyGetPost200ResponsePropertyPropertyInfoLocation location; - - public static final String SERIALIZED_NAME_ACCEPTED_PAYMENT_LIST = "acceptedPaymentList"; - @SerializedName(SERIALIZED_NAME_ACCEPTED_PAYMENT_LIST) - private List acceptedPaymentList = null; - - public V1PropertyGetPost200ResponsePropertyPropertyInfo() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo unitCount(BigDecimal unitCount) { - - this.unitCount = unitCount; - return this; - } - - /** - * Get unitCount - * @return unitCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "4", value = "") - - public BigDecimal getUnitCount() { - return unitCount; - } - - - public void setUnitCount(BigDecimal unitCount) { - this.unitCount = unitCount; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo messageList(List messageList) { - - this.messageList = messageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addMessageListItem(V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner messageListItem) { - if (this.messageList == null) { - this.messageList = new ArrayList<>(); - } - this.messageList.add(messageListItem); - return this; - } - - /** - * Get messageList - * @return messageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getMessageList() { - return messageList; - } - - - public void setMessageList(List messageList) { - this.messageList = messageList; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo categoryList(List categoryList) { - - this.categoryList = categoryList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addCategoryListItem(V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner categoryListItem) { - if (this.categoryList == null) { - this.categoryList = new ArrayList<>(); - } - this.categoryList.add(categoryListItem); - return this; - } - - /** - * Get categoryList - * @return categoryList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getCategoryList() { - return categoryList; - } - - - public void setCategoryList(List categoryList) { - this.categoryList = categoryList; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo languageList(List languageList) { - - this.languageList = languageList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addLanguageListItem(String languageListItem) { - if (this.languageList == null) { - this.languageList = new ArrayList<>(); - } - this.languageList.add(languageListItem); - return this; - } - - /** - * Get languageList - * @return languageList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getLanguageList() { - return languageList; - } - - - public void setLanguageList(List languageList) { - this.languageList = languageList; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo location(V1PropertyGetPost200ResponsePropertyPropertyInfoLocation location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation getLocation() { - return location; - } - - - public void setLocation(V1PropertyGetPost200ResponsePropertyPropertyInfoLocation location) { - this.location = location; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfo acceptedPaymentList(List acceptedPaymentList) { - - this.acceptedPaymentList = acceptedPaymentList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfo addAcceptedPaymentListItem(V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner acceptedPaymentListItem) { - if (this.acceptedPaymentList == null) { - this.acceptedPaymentList = new ArrayList<>(); - } - this.acceptedPaymentList.add(acceptedPaymentListItem); - return this; - } - - /** - * Get acceptedPaymentList - * @return acceptedPaymentList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getAcceptedPaymentList() { - return acceptedPaymentList; - } - - - public void setAcceptedPaymentList(List acceptedPaymentList) { - this.acceptedPaymentList = acceptedPaymentList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfo v1PropertyGetPost200ResponsePropertyPropertyInfo = (V1PropertyGetPost200ResponsePropertyPropertyInfo) o; - return Objects.equals(this.unitCount, v1PropertyGetPost200ResponsePropertyPropertyInfo.unitCount) && - Objects.equals(this.messageList, v1PropertyGetPost200ResponsePropertyPropertyInfo.messageList) && - Objects.equals(this.categoryList, v1PropertyGetPost200ResponsePropertyPropertyInfo.categoryList) && - Objects.equals(this.languageList, v1PropertyGetPost200ResponsePropertyPropertyInfo.languageList) && - Objects.equals(this.location, v1PropertyGetPost200ResponsePropertyPropertyInfo.location) && - Objects.equals(this.acceptedPaymentList, v1PropertyGetPost200ResponsePropertyPropertyInfo.acceptedPaymentList); - } - - @Override - public int hashCode() { - return Objects.hash(unitCount, messageList, categoryList, languageList, location, acceptedPaymentList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfo {\n"); - sb.append(" unitCount: ").append(toIndentedString(unitCount)).append("\n"); - sb.append(" messageList: ").append(toIndentedString(messageList)).append("\n"); - sb.append(" categoryList: ").append(toIndentedString(categoryList)).append("\n"); - sb.append(" languageList: ").append(toIndentedString(languageList)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" acceptedPaymentList: ").append(toIndentedString(acceptedPaymentList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("unitCount"); - openapiFields.add("messageList"); - openapiFields.add("categoryList"); - openapiFields.add("languageList"); - openapiFields.add("location"); - openapiFields.add("acceptedPaymentList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfo - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfo.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfo is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - JsonArray jsonArraymessageList = jsonObj.getAsJsonArray("messageList"); - if (jsonArraymessageList != null) { - // ensure the json data is an array - if (!jsonObj.get("messageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `messageList` to be an array in the JSON string but got `%s`", jsonObj.get("messageList").toString())); - } - - // validate the optional field `messageList` (array) - for (int i = 0; i < jsonArraymessageList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.validateJsonObject(jsonArraymessageList.get(i).getAsJsonObject()); - }; - } - JsonArray jsonArraycategoryList = jsonObj.getAsJsonArray("categoryList"); - if (jsonArraycategoryList != null) { - // ensure the json data is an array - if (!jsonObj.get("categoryList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `categoryList` to be an array in the JSON string but got `%s`", jsonObj.get("categoryList").toString())); - } - - // validate the optional field `categoryList` (array) - for (int i = 0; i < jsonArraycategoryList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.validateJsonObject(jsonArraycategoryList.get(i).getAsJsonObject()); - }; - } - // ensure the json data is an array - if (jsonObj.get("languageList") != null && !jsonObj.get("languageList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `languageList` to be an array in the JSON string but got `%s`", jsonObj.get("languageList").toString())); - } - // validate the optional field `location` - if (jsonObj.getAsJsonObject("location") != null) { - V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); - } - JsonArray jsonArrayacceptedPaymentList = jsonObj.getAsJsonArray("acceptedPaymentList"); - if (jsonArrayacceptedPaymentList != null) { - // ensure the json data is an array - if (!jsonObj.get("acceptedPaymentList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `acceptedPaymentList` to be an array in the JSON string but got `%s`", jsonObj.get("acceptedPaymentList").toString())); - } - - // validate the optional field `acceptedPaymentList` (array) - for (int i = 0; i < jsonArrayacceptedPaymentList.size(); i++) { - V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.validateJsonObject(jsonArrayacceptedPaymentList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfo read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfo - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfo - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfo.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java deleted file mode 100644 index 9b4276f..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "eccard", value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EC-card", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner type(String type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "debitcard", value = "") - - public String getType() { - return type; - } - - - public void setType(String type) { - this.type = type; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner = (V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.name) && - Objects.equals(this.type, v1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.type); - } - - @Override - public int hashCode() { - return Objects.hash(code, name, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("name"); - openapiFields.add("type"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("code") != null && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java deleted file mode 100644 index a6bb4af..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.java +++ /dev/null @@ -1,270 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner { - public static final String SERIALIZED_NAME_EXISTS = "exists"; - @SerializedName(SERIALIZED_NAME_EXISTS) - private Boolean exists; - - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner exists(Boolean exists) { - - this.exists = exists; - return this; - } - - /** - * Get exists - * @return exists - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getExists() { - return exists; - } - - - public void setExists(Boolean exists) { - this.exists = exists; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "34", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Vacation home", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner = (V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner) o; - return Objects.equals(this.exists, v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.exists) && - Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.code) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(exists, code, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner {\n"); - sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("exists"); - openapiFields.add("code"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java deleted file mode 100644 index 4bebea3..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoLocation { - public static final String SERIALIZED_NAME_LATITUDE = "latitude"; - @SerializedName(SERIALIZED_NAME_LATITUDE) - private BigDecimal latitude; - - public static final String SERIALIZED_NAME_LONGITUDE = "longitude"; - @SerializedName(SERIALIZED_NAME_LONGITUDE) - private BigDecimal longitude; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation latitude(BigDecimal latitude) { - - this.latitude = latitude; - return this; - } - - /** - * Get latitude - * @return latitude - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "54.91574091463751", value = "") - - public BigDecimal getLatitude() { - return latitude; - } - - - public void setLatitude(BigDecimal latitude) { - this.latitude = latitude; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation longitude(BigDecimal longitude) { - - this.longitude = longitude; - return this; - } - - /** - * Get longitude - * @return longitude - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "8.30486146909412", value = "") - - public BigDecimal getLongitude() { - return longitude; - } - - - public void setLongitude(BigDecimal longitude) { - this.longitude = longitude; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoLocation v1PropertyGetPost200ResponsePropertyPropertyInfoLocation = (V1PropertyGetPost200ResponsePropertyPropertyInfoLocation) o; - return Objects.equals(this.latitude, v1PropertyGetPost200ResponsePropertyPropertyInfoLocation.latitude) && - Objects.equals(this.longitude, v1PropertyGetPost200ResponsePropertyPropertyInfoLocation.longitude); - } - - @Override - public int hashCode() { - return Objects.hash(latitude, longitude); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoLocation {\n"); - sb.append(" latitude: ").append(toIndentedString(latitude)).append("\n"); - sb.append(" longitude: ").append(toIndentedString(longitude)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("latitude"); - openapiFields.add("longitude"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoLocation is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoLocation` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoLocation' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoLocation value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoLocation read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoLocation given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoLocation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoLocation.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoLocation to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java deleted file mode 100644 index 5e81f79..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner() { - } - - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "en", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "More sea does not work!", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner v1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner = (V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner) o; - return Objects.equals(this.languageCode, v1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.languageCode) && - Objects.equals(this.text, v1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.text); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, text); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("text"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ - public static V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java deleted file mode 100644 index 1eb0fbd..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreated.java +++ /dev/null @@ -1,306 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyRecordCreated - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyRecordCreated { - public static final String SERIALIZED_NAME_USER = "user"; - @SerializedName(SERIALIZED_NAME_USER) - private String user; - - public static final String SERIALIZED_NAME_TENANT = "tenant"; - @SerializedName(SERIALIZED_NAME_TENANT) - private String tenant; - - public static final String SERIALIZED_NAME_ROLE = "role"; - @SerializedName(SERIALIZED_NAME_ROLE) - private String role; - - public static final String SERIALIZED_NAME_TIME = "time"; - @SerializedName(SERIALIZED_NAME_TIME) - private BigDecimal time; - - public V1PropertyGetPost200ResponsePropertyRecordCreated() { - } - - public V1PropertyGetPost200ResponsePropertyRecordCreated user(String user) { - - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f", value = "") - - public String getUser() { - return user; - } - - - public void setUser(String user) { - this.user = user; - } - - - public V1PropertyGetPost200ResponsePropertyRecordCreated tenant(String tenant) { - - this.tenant = tenant; - return this; - } - - /** - * Get tenant - * @return tenant - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "dmo-demo", value = "") - - public String getTenant() { - return tenant; - } - - - public void setTenant(String tenant) { - this.tenant = tenant; - } - - - public V1PropertyGetPost200ResponsePropertyRecordCreated role(String role) { - - this.role = role; - return this; - } - - /** - * Get role - * @return role - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "admin", value = "") - - public String getRole() { - return role; - } - - - public void setRole(String role) { - this.role = role; - } - - - public V1PropertyGetPost200ResponsePropertyRecordCreated time(BigDecimal time) { - - this.time = time; - return this; - } - - /** - * Get time - * @return time - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1609411613660", value = "") - - public BigDecimal getTime() { - return time; - } - - - public void setTime(BigDecimal time) { - this.time = time; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyRecordCreated v1PropertyGetPost200ResponsePropertyRecordCreated = (V1PropertyGetPost200ResponsePropertyRecordCreated) o; - return Objects.equals(this.user, v1PropertyGetPost200ResponsePropertyRecordCreated.user) && - Objects.equals(this.tenant, v1PropertyGetPost200ResponsePropertyRecordCreated.tenant) && - Objects.equals(this.role, v1PropertyGetPost200ResponsePropertyRecordCreated.role) && - Objects.equals(this.time, v1PropertyGetPost200ResponsePropertyRecordCreated.time); - } - - @Override - public int hashCode() { - return Objects.hash(user, tenant, role, time); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyRecordCreated {\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("user"); - openapiFields.add("tenant"); - openapiFields.add("role"); - openapiFields.add("time"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordCreated - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyRecordCreated.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyRecordCreated is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyRecordCreated.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyRecordCreated.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyRecordCreated` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("user") != null && !jsonObj.get("user").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `user` to be a primitive type in the JSON string but got `%s`", jsonObj.get("user").toString())); - } - if (jsonObj.get("tenant") != null && !jsonObj.get("tenant").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `tenant` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tenant").toString())); - } - if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyRecordCreated.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyRecordCreated' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyRecordCreated.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyRecordCreated value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyRecordCreated read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyRecordCreated given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyRecordCreated - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordCreated - */ - public static V1PropertyGetPost200ResponsePropertyRecordCreated fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyRecordCreated.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyRecordCreated to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModified.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModified.java deleted file mode 100644 index f4d0f97..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModified.java +++ /dev/null @@ -1,306 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyRecordModified - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyRecordModified { - public static final String SERIALIZED_NAME_USER = "user"; - @SerializedName(SERIALIZED_NAME_USER) - private String user; - - public static final String SERIALIZED_NAME_TENANT = "tenant"; - @SerializedName(SERIALIZED_NAME_TENANT) - private String tenant; - - public static final String SERIALIZED_NAME_ROLE = "role"; - @SerializedName(SERIALIZED_NAME_ROLE) - private String role; - - public static final String SERIALIZED_NAME_TIME = "time"; - @SerializedName(SERIALIZED_NAME_TIME) - private BigDecimal time; - - public V1PropertyGetPost200ResponsePropertyRecordModified() { - } - - public V1PropertyGetPost200ResponsePropertyRecordModified user(String user) { - - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "microsoft:user:2f1d8a1b-bae8-4333-8f0f-7ad28af03e3f", value = "") - - public String getUser() { - return user; - } - - - public void setUser(String user) { - this.user = user; - } - - - public V1PropertyGetPost200ResponsePropertyRecordModified tenant(String tenant) { - - this.tenant = tenant; - return this; - } - - /** - * Get tenant - * @return tenant - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "dmo-demo", value = "") - - public String getTenant() { - return tenant; - } - - - public void setTenant(String tenant) { - this.tenant = tenant; - } - - - public V1PropertyGetPost200ResponsePropertyRecordModified role(String role) { - - this.role = role; - return this; - } - - /** - * Get role - * @return role - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "admin", value = "") - - public String getRole() { - return role; - } - - - public void setRole(String role) { - this.role = role; - } - - - public V1PropertyGetPost200ResponsePropertyRecordModified time(BigDecimal time) { - - this.time = time; - return this; - } - - /** - * Get time - * @return time - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1652091332815", value = "") - - public BigDecimal getTime() { - return time; - } - - - public void setTime(BigDecimal time) { - this.time = time; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyRecordModified v1PropertyGetPost200ResponsePropertyRecordModified = (V1PropertyGetPost200ResponsePropertyRecordModified) o; - return Objects.equals(this.user, v1PropertyGetPost200ResponsePropertyRecordModified.user) && - Objects.equals(this.tenant, v1PropertyGetPost200ResponsePropertyRecordModified.tenant) && - Objects.equals(this.role, v1PropertyGetPost200ResponsePropertyRecordModified.role) && - Objects.equals(this.time, v1PropertyGetPost200ResponsePropertyRecordModified.time); - } - - @Override - public int hashCode() { - return Objects.hash(user, tenant, role, time); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyRecordModified {\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append(" tenant: ").append(toIndentedString(tenant)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append(" time: ").append(toIndentedString(time)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("user"); - openapiFields.add("tenant"); - openapiFields.add("role"); - openapiFields.add("time"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordModified - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyRecordModified.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyRecordModified is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyRecordModified.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyRecordModified.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyRecordModified` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("user") != null && !jsonObj.get("user").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `user` to be a primitive type in the JSON string but got `%s`", jsonObj.get("user").toString())); - } - if (jsonObj.get("tenant") != null && !jsonObj.get("tenant").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `tenant` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tenant").toString())); - } - if (jsonObj.get("role") != null && !jsonObj.get("role").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("role").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyRecordModified.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyRecordModified' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyRecordModified.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyRecordModified value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyRecordModified read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyRecordModified given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyRecordModified - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyRecordModified - */ - public static V1PropertyGetPost200ResponsePropertyRecordModified fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyRecordModified.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyRecordModified to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java deleted file mode 100644 index fb65d4e..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInner.java +++ /dev/null @@ -1,533 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyServiceListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyServiceListInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private BigDecimal code; - - public static final String SERIALIZED_NAME_PRICE = "price"; - @SerializedName(SERIALIZED_NAME_PRICE) - private BigDecimal price; - - public static final String SERIALIZED_NAME_EXISTS = "exists"; - @SerializedName(SERIALIZED_NAME_EXISTS) - private Boolean exists; - - public static final String SERIALIZED_NAME_INCLUDED = "included"; - @SerializedName(SERIALIZED_NAME_INCLUDED) - private Boolean included; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_FEATURE_LIST = "featureList"; - @SerializedName(SERIALIZED_NAME_FEATURE_LIST) - private List featureList = null; - - public static final String SERIALIZED_NAME_TYPE_LIST = "typeList"; - @SerializedName(SERIALIZED_NAME_TYPE_LIST) - private List typeList = null; - - public static final String SERIALIZED_NAME_ITEM_LIST = "itemList"; - @SerializedName(SERIALIZED_NAME_ITEM_LIST) - private List itemList = null; - - public static final String SERIALIZED_NAME_OPERATION_TIME_LIST = "operationTimeList"; - @SerializedName(SERIALIZED_NAME_OPERATION_TIME_LIST) - private List operationTimeList = null; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public V1PropertyGetPost200ResponsePropertyServiceListInner() { - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner code(BigDecimal code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "5015", value = "") - - public BigDecimal getCode() { - return code; - } - - - public void setCode(BigDecimal code) { - this.code = code; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner price(BigDecimal price) { - - this.price = price; - return this; - } - - /** - * Get price - * @return price - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "0", value = "") - - public BigDecimal getPrice() { - return price; - } - - - public void setPrice(BigDecimal price) { - this.price = price; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner exists(Boolean exists) { - - this.exists = exists; - return this; - } - - /** - * Get exists - * @return exists - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getExists() { - return exists; - } - - - public void setExists(Boolean exists) { - this.exists = exists; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner included(Boolean included) { - - this.included = included; - return this; - } - - /** - * Get included - * @return included - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getIncluded() { - return included; - } - - - public void setIncluded(Boolean included) { - this.included = included; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner currencyCode(String currencyCode) { - - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "EUR", value = "") - - public String getCurrencyCode() { - return currencyCode; - } - - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner featureList(List featureList) { - - this.featureList = featureList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addFeatureListItem(String featureListItem) { - if (this.featureList == null) { - this.featureList = new ArrayList<>(); - } - this.featureList.add(featureListItem); - return this; - } - - /** - * Get featureList - * @return featureList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getFeatureList() { - return featureList; - } - - - public void setFeatureList(List featureList) { - this.featureList = featureList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner typeList(List typeList) { - - this.typeList = typeList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addTypeListItem(String typeListItem) { - if (this.typeList == null) { - this.typeList = new ArrayList<>(); - } - this.typeList.add(typeListItem); - return this; - } - - /** - * Get typeList - * @return typeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getTypeList() { - return typeList; - } - - - public void setTypeList(List typeList) { - this.typeList = typeList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner itemList(List itemList) { - - this.itemList = itemList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addItemListItem(String itemListItem) { - if (this.itemList == null) { - this.itemList = new ArrayList<>(); - } - this.itemList.add(itemListItem); - return this; - } - - /** - * Get itemList - * @return itemList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getItemList() { - return itemList; - } - - - public void setItemList(List itemList) { - this.itemList = itemList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner operationTimeList(List operationTimeList) { - - this.operationTimeList = operationTimeList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyServiceListInner addOperationTimeListItem(String operationTimeListItem) { - if (this.operationTimeList == null) { - this.operationTimeList = new ArrayList<>(); - } - this.operationTimeList.add(operationTimeListItem); - return this; - } - - /** - * Get operationTimeList - * @return operationTimeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getOperationTimeList() { - return operationTimeList; - } - - - public void setOperationTimeList(List operationTimeList) { - this.operationTimeList = operationTimeList; - } - - - public V1PropertyGetPost200ResponsePropertyServiceListInner name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Beach", value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyServiceListInner v1PropertyGetPost200ResponsePropertyServiceListInner = (V1PropertyGetPost200ResponsePropertyServiceListInner) o; - return Objects.equals(this.code, v1PropertyGetPost200ResponsePropertyServiceListInner.code) && - Objects.equals(this.price, v1PropertyGetPost200ResponsePropertyServiceListInner.price) && - Objects.equals(this.exists, v1PropertyGetPost200ResponsePropertyServiceListInner.exists) && - Objects.equals(this.included, v1PropertyGetPost200ResponsePropertyServiceListInner.included) && - Objects.equals(this.currencyCode, v1PropertyGetPost200ResponsePropertyServiceListInner.currencyCode) && - Objects.equals(this.featureList, v1PropertyGetPost200ResponsePropertyServiceListInner.featureList) && - Objects.equals(this.typeList, v1PropertyGetPost200ResponsePropertyServiceListInner.typeList) && - Objects.equals(this.itemList, v1PropertyGetPost200ResponsePropertyServiceListInner.itemList) && - Objects.equals(this.operationTimeList, v1PropertyGetPost200ResponsePropertyServiceListInner.operationTimeList) && - Objects.equals(this.name, v1PropertyGetPost200ResponsePropertyServiceListInner.name); - } - - @Override - public int hashCode() { - return Objects.hash(code, price, exists, included, currencyCode, featureList, typeList, itemList, operationTimeList, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyServiceListInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" price: ").append(toIndentedString(price)).append("\n"); - sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); - sb.append(" included: ").append(toIndentedString(included)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" featureList: ").append(toIndentedString(featureList)).append("\n"); - sb.append(" typeList: ").append(toIndentedString(typeList)).append("\n"); - sb.append(" itemList: ").append(toIndentedString(itemList)).append("\n"); - sb.append(" operationTimeList: ").append(toIndentedString(operationTimeList)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("code"); - openapiFields.add("price"); - openapiFields.add("exists"); - openapiFields.add("included"); - openapiFields.add("currencyCode"); - openapiFields.add("featureList"); - openapiFields.add("typeList"); - openapiFields.add("itemList"); - openapiFields.add("operationTimeList"); - openapiFields.add("name"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyServiceListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyServiceListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyServiceListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyServiceListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyServiceListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyServiceListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("currencyCode") != null && !jsonObj.get("currencyCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyCode").toString())); - } - // ensure the json data is an array - if (jsonObj.get("featureList") != null && !jsonObj.get("featureList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `featureList` to be an array in the JSON string but got `%s`", jsonObj.get("featureList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("typeList") != null && !jsonObj.get("typeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `typeList` to be an array in the JSON string but got `%s`", jsonObj.get("typeList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("itemList") != null && !jsonObj.get("itemList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `itemList` to be an array in the JSON string but got `%s`", jsonObj.get("itemList").toString())); - } - // ensure the json data is an array - if (jsonObj.get("operationTimeList") != null && !jsonObj.get("operationTimeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `operationTimeList` to be an array in the JSON string but got `%s`", jsonObj.get("operationTimeList").toString())); - } - if (jsonObj.get("name") != null && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyServiceListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyServiceListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyServiceListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyServiceListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyServiceListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyServiceListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyServiceListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyServiceListInner - */ - public static V1PropertyGetPost200ResponsePropertyServiceListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyServiceListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyServiceListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransaction.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransaction.java deleted file mode 100644 index 56499d3..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransaction.java +++ /dev/null @@ -1,304 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyTransactionExternalListInner; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyTransaction - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyTransaction { - public static final String SERIALIZED_NAME_METHOD = "method"; - @SerializedName(SERIALIZED_NAME_METHOD) - private String method; - - public static final String SERIALIZED_NAME_CONTACT_TYPE_LIST = "contactTypeList"; - @SerializedName(SERIALIZED_NAME_CONTACT_TYPE_LIST) - private List contactTypeList = null; - - public static final String SERIALIZED_NAME_EXTERNAL_LIST = "externalList"; - @SerializedName(SERIALIZED_NAME_EXTERNAL_LIST) - private List externalList = null; - - public V1PropertyGetPost200ResponsePropertyTransaction() { - } - - public V1PropertyGetPost200ResponsePropertyTransaction method(String method) { - - this.method = method; - return this; - } - - /** - * Get method - * @return method - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "MANDATORY_BOOKING", value = "") - - public String getMethod() { - return method; - } - - - public void setMethod(String method) { - this.method = method; - } - - - public V1PropertyGetPost200ResponsePropertyTransaction contactTypeList(List contactTypeList) { - - this.contactTypeList = contactTypeList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyTransaction addContactTypeListItem(String contactTypeListItem) { - if (this.contactTypeList == null) { - this.contactTypeList = new ArrayList<>(); - } - this.contactTypeList.add(contactTypeListItem); - return this; - } - - /** - * Get contactTypeList - * @return contactTypeList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getContactTypeList() { - return contactTypeList; - } - - - public void setContactTypeList(List contactTypeList) { - this.contactTypeList = contactTypeList; - } - - - public V1PropertyGetPost200ResponsePropertyTransaction externalList(List externalList) { - - this.externalList = externalList; - return this; - } - - public V1PropertyGetPost200ResponsePropertyTransaction addExternalListItem(V1PropertyGetPost200ResponsePropertyTransactionExternalListInner externalListItem) { - if (this.externalList == null) { - this.externalList = new ArrayList<>(); - } - this.externalList.add(externalListItem); - return this; - } - - /** - * Get externalList - * @return externalList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getExternalList() { - return externalList; - } - - - public void setExternalList(List externalList) { - this.externalList = externalList; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyTransaction v1PropertyGetPost200ResponsePropertyTransaction = (V1PropertyGetPost200ResponsePropertyTransaction) o; - return Objects.equals(this.method, v1PropertyGetPost200ResponsePropertyTransaction.method) && - Objects.equals(this.contactTypeList, v1PropertyGetPost200ResponsePropertyTransaction.contactTypeList) && - Objects.equals(this.externalList, v1PropertyGetPost200ResponsePropertyTransaction.externalList); - } - - @Override - public int hashCode() { - return Objects.hash(method, contactTypeList, externalList); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyTransaction {\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); - sb.append(" contactTypeList: ").append(toIndentedString(contactTypeList)).append("\n"); - sb.append(" externalList: ").append(toIndentedString(externalList)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("method"); - openapiFields.add("contactTypeList"); - openapiFields.add("externalList"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyTransaction - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyTransaction.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyTransaction is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyTransaction.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyTransaction.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyTransaction` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("method") != null && !jsonObj.get("method").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `method` to be a primitive type in the JSON string but got `%s`", jsonObj.get("method").toString())); - } - // ensure the json data is an array - if (jsonObj.get("contactTypeList") != null && !jsonObj.get("contactTypeList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `contactTypeList` to be an array in the JSON string but got `%s`", jsonObj.get("contactTypeList").toString())); - } - JsonArray jsonArrayexternalList = jsonObj.getAsJsonArray("externalList"); - if (jsonArrayexternalList != null) { - // ensure the json data is an array - if (!jsonObj.get("externalList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `externalList` to be an array in the JSON string but got `%s`", jsonObj.get("externalList").toString())); - } - - // validate the optional field `externalList` (array) - for (int i = 0; i < jsonArrayexternalList.size(); i++) { - V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.validateJsonObject(jsonArrayexternalList.get(i).getAsJsonObject()); - }; - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyTransaction.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyTransaction' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyTransaction.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyTransaction value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyTransaction read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyTransaction given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyTransaction - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyTransaction - */ - public static V1PropertyGetPost200ResponsePropertyTransaction fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyTransaction.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyTransaction to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java b/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java deleted file mode 100644 index 4ffdecd..0000000 --- a/src/main/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-08-24T09:15:58.486685049Z[Etc/UTC]") -public class V1PropertyGetPost200ResponsePropertyTransactionExternalListInner { - public static final String SERIALIZED_NAME_LANGUAGE_CODE = "languageCode"; - @SerializedName(SERIALIZED_NAME_LANGUAGE_CODE) - private String languageCode; - - public static final String SERIALIZED_NAME_TEXT = "text"; - @SerializedName(SERIALIZED_NAME_TEXT) - private String text; - - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner() { - } - - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner languageCode(String languageCode) { - - this.languageCode = languageCode; - return this; - } - - /** - * Get languageCode - * @return languageCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "de", value = "") - - public String getLanguageCode() { - return languageCode; - } - - - public void setLanguageCode(String languageCode) { - this.languageCode = languageCode; - } - - - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner text(String text) { - - this.text = text; - return this; - } - - /** - * Get text - * @return text - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "https://www.booking.com/", value = "") - - public String getText() { - return text; - } - - - public void setText(String text) { - this.text = text; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1PropertyGetPost200ResponsePropertyTransactionExternalListInner v1PropertyGetPost200ResponsePropertyTransactionExternalListInner = (V1PropertyGetPost200ResponsePropertyTransactionExternalListInner) o; - return Objects.equals(this.languageCode, v1PropertyGetPost200ResponsePropertyTransactionExternalListInner.languageCode) && - Objects.equals(this.text, v1PropertyGetPost200ResponsePropertyTransactionExternalListInner.text); - } - - @Override - public int hashCode() { - return Objects.hash(languageCode, text); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1PropertyGetPost200ResponsePropertyTransactionExternalListInner {\n"); - sb.append(" languageCode: ").append(toIndentedString(languageCode)).append("\n"); - sb.append(" text: ").append(toIndentedString(text)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("languageCode"); - openapiFields.add("text"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.openapiRequiredFields.isEmpty()) { - return; - } else { // has required fields - throw new IllegalArgumentException(String.format("The required field(s) %s in V1PropertyGetPost200ResponsePropertyTransactionExternalListInner is not found in the empty JSON string", V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonObj.entrySet(); - // check to see if the JSON string contains additional fields - for (Entry entry : entries) { - if (!V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PropertyGetPost200ResponsePropertyTransactionExternalListInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); - } - } - if (jsonObj.get("languageCode") != null && !jsonObj.get("languageCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `languageCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("languageCode").toString())); - } - if (jsonObj.get("text") != null && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1PropertyGetPost200ResponsePropertyTransactionExternalListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1PropertyGetPost200ResponsePropertyTransactionExternalListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1PropertyGetPost200ResponsePropertyTransactionExternalListInner read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - return thisAdapter.fromJsonTree(jsonObj); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1PropertyGetPost200ResponsePropertyTransactionExternalListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - * @throws IOException if the JSON string is invalid with respect to V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ - public static V1PropertyGetPost200ResponsePropertyTransactionExternalListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1PropertyGetPost200ResponsePropertyTransactionExternalListInner.class); - } - - /** - * Convert an instance of V1PropertyGetPost200ResponsePropertyTransactionExternalListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/test/java/com/lodgea/controllers/AvailabilityApiTest.java b/src/test/java/com/lodgea/controllers/AvailabilityApiTest.java deleted file mode 100644 index eda2285..0000000 --- a/src/test/java/com/lodgea/controllers/AvailabilityApiTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.controllers; - -import com.lodgea.ApiException; -import com.lodgea.model.AvailabilitySearch; -import com.lodgea.model.V1AvailabilitySearchPost200Response; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for AvailabilityApi - */ -@Disabled -public class AvailabilityApiTest { - - private final AvailabilityApi api = new AvailabilityApi(); - - /** - * Search for Availability - * - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * - * @throws ApiException if the Api call fails - */ - @Test - public void v1AvailabilitySearchPostTest() throws ApiException { - AvailabilitySearch availabilitySearch = null; - V1AvailabilitySearchPost200Response response = api.v1AvailabilitySearchPost(availabilitySearch); - // TODO: test validations - } - -} diff --git a/src/test/java/com/lodgea/controllers/DefaultApiTest.java b/src/test/java/com/lodgea/controllers/DefaultApiTest.java new file mode 100644 index 0000000..9d19936 --- /dev/null +++ b/src/test/java/com/lodgea/controllers/DefaultApiTest.java @@ -0,0 +1,113 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.controllers; + +import com.lodgea.ApiException; +import com.lodgea.model.AvailabilitySearchPost200Response; +import com.lodgea.model.AvailabilitySearchPostRequest; +import com.lodgea.model.LocationSearchPost200Response; +import com.lodgea.model.LocationSearchPost400Response; +import com.lodgea.model.LocationSearchPostRequest; +import com.lodgea.model.PropertiesGet200Response; +import com.lodgea.model.PropertiesPropertyIdAvailabilityGet200Response; +import com.lodgea.model.PropertiesPropertyIdGet200Response; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for DefaultApi + */ +@Disabled +public class DefaultApiTest { + + private final DefaultApi api = new DefaultApi(); + + /** + * Search for availability + * + * Get availability information based on search criteria. + * + * @throws ApiException if the Api call fails + */ + @Test + public void availabilitySearchPostTest() throws ApiException { + AvailabilitySearchPostRequest availabilitySearchPostRequest = null; + AvailabilitySearchPost200Response response = api.availabilitySearchPost(availabilitySearchPostRequest); + // TODO: test validations + } + + /** + * Search for location + * + * Get a list of locations and their lowest available rate related to a given keyword. + * + * @throws ApiException if the Api call fails + */ + @Test + public void locationSearchPostTest() throws ApiException { + LocationSearchPostRequest locationSearchPostRequest = null; + LocationSearchPost200Response response = api.locationSearchPost(locationSearchPostRequest); + // TODO: test validations + } + + /** + * List (filtered) properties + * + * List properties, optionally filtered by a keyword. + * + * @throws ApiException if the Api call fails + */ + @Test + public void propertiesGetTest() throws ApiException { + String keyword = null; + String pageToken = null; + PropertiesGet200Response response = api.propertiesGet(keyword, pageToken); + // TODO: test validations + } + + /** + * Get a properties availability + * + * Get detailed availability information for a specific property. + * + * @throws ApiException if the Api call fails + */ + @Test + public void propertiesPropertyIdAvailabilityGetTest() throws ApiException { + String propertyId = null; + String currencyCode = null; + PropertiesPropertyIdAvailabilityGet200Response response = api.propertiesPropertyIdAvailabilityGet(propertyId, currencyCode); + // TODO: test validations + } + + /** + * Get a properties details + * + * Get all information about a specific property by its ID. + * + * @throws ApiException if the Api call fails + */ + @Test + public void propertiesPropertyIdGetTest() throws ApiException { + String propertyId = null; + PropertiesPropertyIdGet200Response response = api.propertiesPropertyIdGet(propertyId); + // TODO: test validations + } + +} diff --git a/src/test/java/com/lodgea/controllers/LocationApiTest.java b/src/test/java/com/lodgea/controllers/LocationApiTest.java deleted file mode 100644 index ec0e5b3..0000000 --- a/src/test/java/com/lodgea/controllers/LocationApiTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.controllers; - -import com.lodgea.ApiException; -import com.lodgea.model.LocationSearch; -import com.lodgea.model.V1LocationSearchPost200Response; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for LocationApi - */ -@Disabled -public class LocationApiTest { - - private final LocationApi api = new LocationApi(); - - /** - * Search for Location - * - * Get a location by search text in free from. This parameter is required. - * - * @throws ApiException if the Api call fails - */ - @Test - public void v1LocationSearchPostTest() throws ApiException { - LocationSearch locationSearch = null; - V1LocationSearchPost200Response response = api.v1LocationSearchPost(locationSearch); - // TODO: test validations - } - -} diff --git a/src/test/java/com/lodgea/controllers/PropertyApiTest.java b/src/test/java/com/lodgea/controllers/PropertyApiTest.java deleted file mode 100644 index 87e49bb..0000000 --- a/src/test/java/com/lodgea/controllers/PropertyApiTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.controllers; - -import com.lodgea.ApiException; -import com.lodgea.model.PropertyGet; -import com.lodgea.model.V1PropertyGetPost200Response; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for PropertyApi - */ -@Disabled -public class PropertyApiTest { - - private final PropertyApi api = new PropertyApi(); - - /** - * Get Property by ID - * - * Get all information about a specific property by its ID. This parameter is required. - * - * @throws ApiException if the Api call fails - */ - @Test - public void v1PropertyGetPostTest() throws ApiException { - PropertyGet propertyGet = null; - V1PropertyGetPost200Response response = api.v1PropertyGetPost(propertyGet); - // TODO: test validations - } - -} diff --git a/src/test/java/com/lodgea/model/V1LocationSearchPost200ResponseTest.java b/src/test/java/com/lodgea/model/AvailabilitySearchPost200ResponseTest.java similarity index 57% rename from src/test/java/com/lodgea/model/V1LocationSearchPost200ResponseTest.java rename to src/test/java/com/lodgea/model/AvailabilitySearchPost200ResponseTest.java index ceab604..bf4d1d8 100644 --- a/src/test/java/com/lodgea/model/V1LocationSearchPost200ResponseTest.java +++ b/src/test/java/com/lodgea/model/AvailabilitySearchPost200ResponseTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,9 +18,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1LocationSearchPost200ResponseListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.AvailablePropertiesInner1; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -29,17 +27,17 @@ /** - * Model tests for V1LocationSearchPost200Response + * Model tests for AvailabilitySearchPost200Response */ -public class V1LocationSearchPost200ResponseTest { - private final V1LocationSearchPost200Response model = new V1LocationSearchPost200Response(); +public class AvailabilitySearchPost200ResponseTest { + private final AvailabilitySearchPost200Response model = new AvailabilitySearchPost200Response(); /** - * Model tests for V1LocationSearchPost200Response + * Model tests for AvailabilitySearchPost200Response */ @Test - public void testV1LocationSearchPost200Response() { - // TODO: test V1LocationSearchPost200Response + public void testAvailabilitySearchPost200Response() { + // TODO: test AvailabilitySearchPost200Response } /** diff --git a/src/test/java/com/lodgea/model/AvailabilitySearchTest.java b/src/test/java/com/lodgea/model/AvailabilitySearchPostRequestTest.java similarity index 78% rename from src/test/java/com/lodgea/model/AvailabilitySearchTest.java rename to src/test/java/com/lodgea/model/AvailabilitySearchPostRequestTest.java index 71024e4..6831121 100644 --- a/src/test/java/com/lodgea/model/AvailabilitySearchTest.java +++ b/src/test/java/com/lodgea/model/AvailabilitySearchPostRequestTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,11 +18,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; -import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Disabled; @@ -30,17 +27,17 @@ /** - * Model tests for AvailabilitySearch + * Model tests for AvailabilitySearchPostRequest */ -public class AvailabilitySearchTest { - private final AvailabilitySearch model = new AvailabilitySearch(); +public class AvailabilitySearchPostRequestTest { + private final AvailabilitySearchPostRequest model = new AvailabilitySearchPostRequest(); /** - * Model tests for AvailabilitySearch + * Model tests for AvailabilitySearchPostRequest */ @Test - public void testAvailabilitySearch() { - // TODO: test AvailabilitySearch + public void testAvailabilitySearchPostRequest() { + // TODO: test AvailabilitySearchPostRequest } /** @@ -75,6 +72,22 @@ public void currencyCodeTest() { // TODO: test currencyCode } + /** + * Test the property 'languageCode' + */ + @Test + public void languageCodeTest() { + // TODO: test languageCode + } + + /** + * Test the property 'unitSystem' + */ + @Test + public void unitSystemTest() { + // TODO: test unitSystem + } + /** * Test the property 'minLengthOfStay' */ diff --git a/src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistanceTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistanceTest.java new file mode 100644 index 0000000..ea1f5e9 --- /dev/null +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerDistanceTest.java @@ -0,0 +1,57 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for AvailablePropertiesInner1AttractionListInnerDistance + */ +public class AvailablePropertiesInner1AttractionListInnerDistanceTest { + private final AvailablePropertiesInner1AttractionListInnerDistance model = new AvailablePropertiesInner1AttractionListInnerDistance(); + + /** + * Model tests for AvailablePropertiesInner1AttractionListInnerDistance + */ + @Test + public void testAvailablePropertiesInner1AttractionListInnerDistance() { + // TODO: test AvailablePropertiesInner1AttractionListInnerDistance + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + + /** + * Test the property 'unit' + */ + @Test + public void unitTest() { + // TODO: test unit + } + +} diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerTest.java similarity index 51% rename from src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java rename to src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerTest.java index b4b79a8..91c2479 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInner1AttractionListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,9 +18,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.AvailablePropertiesInner1AttractionListInnerDistance; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -28,17 +26,17 @@ /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInner + * Model tests for AvailablePropertiesInner1AttractionListInner */ -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest { - private final V1AvailabilitySearchPost200ResponseListInnerAttractionListInner model = new V1AvailabilitySearchPost200ResponseListInnerAttractionListInner(); +public class AvailablePropertiesInner1AttractionListInnerTest { + private final AvailablePropertiesInner1AttractionListInner model = new AvailablePropertiesInner1AttractionListInner(); /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInner + * Model tests for AvailablePropertiesInner1AttractionListInner */ @Test - public void testV1AvailabilitySearchPost200ResponseListInnerAttractionListInner() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerAttractionListInner + public void testAvailablePropertiesInner1AttractionListInner() { + // TODO: test AvailablePropertiesInner1AttractionListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoLocationTest.java similarity index 53% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java rename to src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoLocationTest.java index 382b293..ee8141e 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoLocationTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,33 +25,33 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDeLocation + * Model tests for AvailablePropertiesInner1GeoLocation */ -public class V1PropertyGetPost200ResponsePropertyGeoDeLocationTest { - private final V1PropertyGetPost200ResponsePropertyGeoDeLocation model = new V1PropertyGetPost200ResponsePropertyGeoDeLocation(); +public class AvailablePropertiesInner1GeoLocationTest { + private final AvailablePropertiesInner1GeoLocation model = new AvailablePropertiesInner1GeoLocation(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDeLocation + * Model tests for AvailablePropertiesInner1GeoLocation */ @Test - public void testV1PropertyGetPost200ResponsePropertyGeoDeLocation() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoDeLocation + public void testAvailablePropertiesInner1GeoLocation() { + // TODO: test AvailablePropertiesInner1GeoLocation } /** - * Test the property 'lat' + * Test the property 'lng' */ @Test - public void latTest() { - // TODO: test lat + public void lngTest() { + // TODO: test lng } /** - * Test the property 'lng' + * Test the property 'lat' */ @Test - public void lngTest() { - // TODO: test lng + public void latTest() { + // TODO: test lat } } diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDaTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoTest.java similarity index 62% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDaTest.java rename to src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoTest.java index 5a101f1..a0abdae 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDaTest.java +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInner1GeoTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,34 +18,32 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.AvailablePropertiesInner1GeoLocation; import java.io.IOException; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDa + * Model tests for AvailablePropertiesInner1Geo */ -public class V1PropertyGetPost200ResponsePropertyGeoDaTest { - private final V1PropertyGetPost200ResponsePropertyGeoDa model = new V1PropertyGetPost200ResponsePropertyGeoDa(); +public class AvailablePropertiesInner1GeoTest { + private final AvailablePropertiesInner1Geo model = new AvailablePropertiesInner1Geo(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDa + * Model tests for AvailablePropertiesInner1Geo */ @Test - public void testV1PropertyGetPost200ResponsePropertyGeoDa() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoDa + public void testAvailablePropertiesInner1Geo() { + // TODO: test AvailablePropertiesInner1Geo } /** - * Test the property 'location' + * Test the property 'language' */ @Test - public void locationTest() { - // TODO: test location + public void languageTest() { + // TODO: test language } /** @@ -57,11 +55,27 @@ public void formattedAddressTest() { } /** - * Test the property 'placeId' + * Test the property 'route' */ @Test - public void placeIdTest() { - // TODO: test placeId + public void routeTest() { + // TODO: test route + } + + /** + * Test the property 'streetNumber' + */ + @Test + public void streetNumberTest() { + // TODO: test streetNumber + } + + /** + * Test the property 'postalCode' + */ + @Test + public void postalCodeTest() { + // TODO: test postalCode } /** @@ -73,107 +87,131 @@ public void localityTest() { } /** - * Test the property 'administrativeAreaLevel3' + * Test the property 'sublocality' */ @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 + public void sublocalityTest() { + // TODO: test sublocality } /** - * Test the property 'administrativeAreaLevel1' + * Test the property 'sublocalityLevel1' */ @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 + public void sublocalityLevel1Test() { + // TODO: test sublocalityLevel1 } /** - * Test the property 'stateCode' + * Test the property 'sublocalityLevel2' */ @Test - public void stateCodeTest() { - // TODO: test stateCode + public void sublocalityLevel2Test() { + // TODO: test sublocalityLevel2 } /** - * Test the property 'country' + * Test the property 'sublocalityLevel3' */ @Test - public void countryTest() { - // TODO: test country + public void sublocalityLevel3Test() { + // TODO: test sublocalityLevel3 } /** - * Test the property 'countryCode' + * Test the property 'sublocalityLevel4' */ @Test - public void countryCodeTest() { - // TODO: test countryCode + public void sublocalityLevel4Test() { + // TODO: test sublocalityLevel4 } /** - * Test the property 'postalCode' + * Test the property 'sublocalityLevel5' */ @Test - public void postalCodeTest() { - // TODO: test postalCode + public void sublocalityLevel5Test() { + // TODO: test sublocalityLevel5 } /** - * Test the property 'language' + * Test the property 'administrativeAreaLevel1' */ @Test - public void languageTest() { - // TODO: test language + public void administrativeAreaLevel1Test() { + // TODO: test administrativeAreaLevel1 } /** - * Test the property 'naturalFeature' + * Test the property 'administrativeAreaLevel2' */ @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature + public void administrativeAreaLevel2Test() { + // TODO: test administrativeAreaLevel2 } /** - * Test the property 'establishment' + * Test the property 'administrativeAreaLevel3' */ @Test - public void establishmentTest() { - // TODO: test establishment + public void administrativeAreaLevel3Test() { + // TODO: test administrativeAreaLevel3 } /** - * Test the property 'sublocality' + * Test the property 'administrativeAreaLevel4' */ @Test - public void sublocalityTest() { - // TODO: test sublocality + public void administrativeAreaLevel4Test() { + // TODO: test administrativeAreaLevel4 } /** - * Test the property 'sublocalityLevel1' + * Test the property 'administrativeAreaLevel5' */ @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 + public void administrativeAreaLevel5Test() { + // TODO: test administrativeAreaLevel5 } /** - * Test the property 'streetNumber' + * Test the property 'stateCode' */ @Test - public void streetNumberTest() { - // TODO: test streetNumber + public void stateCodeTest() { + // TODO: test stateCode } /** - * Test the property 'route' + * Test the property 'country' */ @Test - public void routeTest() { - // TODO: test route + public void countryTest() { + // TODO: test country + } + + /** + * Test the property 'countryCode' + */ + @Test + public void countryCodeTest() { + // TODO: test countryCode + } + + /** + * Test the property 'location' + */ + @Test + public void locationTest() { + // TODO: test location + } + + /** + * Test the property 'placeId' + */ + @Test + public void placeIdTest() { + // TODO: test placeId } } diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInner1LowestPriceTest.java similarity index 62% rename from src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java rename to src/test/java/com/lodgea/model/AvailablePropertiesInner1LowestPriceTest.java index 026602c..919638c 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInner1LowestPriceTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,17 +25,17 @@ /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerLowestPrice + * Model tests for AvailablePropertiesInner1LowestPrice */ -public class V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest { - private final V1AvailabilitySearchPost200ResponseListInnerLowestPrice model = new V1AvailabilitySearchPost200ResponseListInnerLowestPrice(); +public class AvailablePropertiesInner1LowestPriceTest { + private final AvailablePropertiesInner1LowestPrice model = new AvailablePropertiesInner1LowestPrice(); /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerLowestPrice + * Model tests for AvailablePropertiesInner1LowestPrice */ @Test - public void testV1AvailabilitySearchPost200ResponseListInnerLowestPrice() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerLowestPrice + public void testAvailablePropertiesInner1LowestPrice() { + // TODO: test AvailablePropertiesInner1LowestPrice } /** diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInner1MediaListInnerTest.java similarity index 54% rename from src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java rename to src/test/java/com/lodgea/model/AvailablePropertiesInner1MediaListInnerTest.java index 8d42521..8e4dd02 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInner1MediaListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -29,25 +27,25 @@ /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerMediaListInner + * Model tests for AvailablePropertiesInner1MediaListInner */ -public class V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest { - private final V1AvailabilitySearchPost200ResponseListInnerMediaListInner model = new V1AvailabilitySearchPost200ResponseListInnerMediaListInner(); +public class AvailablePropertiesInner1MediaListInnerTest { + private final AvailablePropertiesInner1MediaListInner model = new AvailablePropertiesInner1MediaListInner(); /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerMediaListInner + * Model tests for AvailablePropertiesInner1MediaListInner */ @Test - public void testV1AvailabilitySearchPost200ResponseListInnerMediaListInner() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerMediaListInner + public void testAvailablePropertiesInner1MediaListInner() { + // TODO: test AvailablePropertiesInner1MediaListInner } /** - * Test the property 'tagCodeList' + * Test the property 'tagList' */ @Test - public void tagCodeListTest() { - // TODO: test tagCodeList + public void tagListTest() { + // TODO: test tagList } /** diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInner1Test.java similarity index 71% rename from src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerTest.java rename to src/test/java/com/lodgea/model/AvailablePropertiesInner1Test.java index 13bbd1c..1eed4a9 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerTest.java +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInner1Test.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,12 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInner; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerGeo; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerLowestPrice; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerMediaListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.AvailablePropertiesInner1AttractionListInner; +import com.lodgea.model.AvailablePropertiesInner1Geo; +import com.lodgea.model.AvailablePropertiesInner1LowestPrice; +import com.lodgea.model.AvailablePropertiesInner1MediaListInner; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -33,17 +31,17 @@ /** - * Model tests for V1AvailabilitySearchPost200ResponseListInner + * Model tests for AvailablePropertiesInner1 */ -public class V1AvailabilitySearchPost200ResponseListInnerTest { - private final V1AvailabilitySearchPost200ResponseListInner model = new V1AvailabilitySearchPost200ResponseListInner(); +public class AvailablePropertiesInner1Test { + private final AvailablePropertiesInner1 model = new AvailablePropertiesInner1(); /** - * Model tests for V1AvailabilitySearchPost200ResponseListInner + * Model tests for AvailablePropertiesInner1 */ @Test - public void testV1AvailabilitySearchPost200ResponseListInner() { - // TODO: test V1AvailabilitySearchPost200ResponseListInner + public void testAvailablePropertiesInner1() { + // TODO: test AvailablePropertiesInner1 } /** diff --git a/src/test/java/com/lodgea/model/V1LocationSearchPost200ResponseListInnerTest.java b/src/test/java/com/lodgea/model/AvailablePropertiesInnerTest.java similarity index 50% rename from src/test/java/com/lodgea/model/V1LocationSearchPost200ResponseListInnerTest.java rename to src/test/java/com/lodgea/model/AvailablePropertiesInnerTest.java index f49969c..f3a9e2c 100644 --- a/src/test/java/com/lodgea/model/V1LocationSearchPost200ResponseListInnerTest.java +++ b/src/test/java/com/lodgea/model/AvailablePropertiesInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,17 +25,17 @@ /** - * Model tests for V1LocationSearchPost200ResponseListInner + * Model tests for AvailablePropertiesInner */ -public class V1LocationSearchPost200ResponseListInnerTest { - private final V1LocationSearchPost200ResponseListInner model = new V1LocationSearchPost200ResponseListInner(); +public class AvailablePropertiesInnerTest { + private final AvailablePropertiesInner model = new AvailablePropertiesInner(); /** - * Model tests for V1LocationSearchPost200ResponseListInner + * Model tests for AvailablePropertiesInner */ @Test - public void testV1LocationSearchPost200ResponseListInner() { - // TODO: test V1LocationSearchPost200ResponseListInner + public void testAvailablePropertiesInner() { + // TODO: test AvailablePropertiesInner } /** @@ -48,14 +46,6 @@ public void nameTest() { // TODO: test name } - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - /** * Test the property 'currencyCode' */ @@ -73,27 +63,11 @@ public void lowestPriceTest() { } /** - * Test the property 'propertyId' - */ - @Test - public void propertyIdTest() { - // TODO: test propertyId - } - - /** - * Test the property 'propertyUriName' - */ - @Test - public void propertyUriNameTest() { - // TODO: test propertyUriName - } - - /** - * Test the property 'propertyUriPath' + * Test the property 'type' */ @Test - public void propertyUriPathTest() { - // TODO: test propertyUriPath + public void typeTest() { + // TODO: test type } } diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseTest.java b/src/test/java/com/lodgea/model/LocationSearchPost200ResponseTest.java similarity index 56% rename from src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseTest.java rename to src/test/java/com/lodgea/model/LocationSearchPost200ResponseTest.java index ca43e35..0ff971a 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseTest.java +++ b/src/test/java/com/lodgea/model/LocationSearchPost200ResponseTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,9 +18,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.AvailablePropertiesInner; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -29,17 +27,17 @@ /** - * Model tests for V1AvailabilitySearchPost200Response + * Model tests for LocationSearchPost200Response */ -public class V1AvailabilitySearchPost200ResponseTest { - private final V1AvailabilitySearchPost200Response model = new V1AvailabilitySearchPost200Response(); +public class LocationSearchPost200ResponseTest { + private final LocationSearchPost200Response model = new LocationSearchPost200Response(); /** - * Model tests for V1AvailabilitySearchPost200Response + * Model tests for LocationSearchPost200Response */ @Test - public void testV1AvailabilitySearchPost200Response() { - // TODO: test V1AvailabilitySearchPost200Response + public void testLocationSearchPost200Response() { + // TODO: test LocationSearchPost200Response } /** diff --git a/src/test/java/com/lodgea/model/LocationSearchPost400ResponseTest.java b/src/test/java/com/lodgea/model/LocationSearchPost400ResponseTest.java new file mode 100644 index 0000000..7ac042a --- /dev/null +++ b/src/test/java/com/lodgea/model/LocationSearchPost400ResponseTest.java @@ -0,0 +1,51 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.LocationSearchPost400ResponseValidationErrorsInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for LocationSearchPost400Response + */ +public class LocationSearchPost400ResponseTest { + private final LocationSearchPost400Response model = new LocationSearchPost400Response(); + + /** + * Model tests for LocationSearchPost400Response + */ + @Test + public void testLocationSearchPost400Response() { + // TODO: test LocationSearchPost400Response + } + + /** + * Test the property 'validationErrors' + */ + @Test + public void validationErrorsTest() { + // TODO: test validationErrors + } + +} diff --git a/src/test/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInnerTest.java b/src/test/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInnerTest.java new file mode 100644 index 0000000..39215f7 --- /dev/null +++ b/src/test/java/com/lodgea/model/LocationSearchPost400ResponseValidationErrorsInnerTest.java @@ -0,0 +1,66 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for LocationSearchPost400ResponseValidationErrorsInner + */ +public class LocationSearchPost400ResponseValidationErrorsInnerTest { + private final LocationSearchPost400ResponseValidationErrorsInner model = new LocationSearchPost400ResponseValidationErrorsInner(); + + /** + * Model tests for LocationSearchPost400ResponseValidationErrorsInner + */ + @Test + public void testLocationSearchPost400ResponseValidationErrorsInner() { + // TODO: test LocationSearchPost400ResponseValidationErrorsInner + } + + /** + * Test the property 'code' + */ + @Test + public void codeTest() { + // TODO: test code + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'path' + */ + @Test + public void pathTest() { + // TODO: test path + } + +} diff --git a/src/test/java/com/lodgea/model/AvailabilityGetTest.java b/src/test/java/com/lodgea/model/LocationSearchPostRequestTest.java similarity index 54% rename from src/test/java/com/lodgea/model/AvailabilityGetTest.java rename to src/test/java/com/lodgea/model/LocationSearchPostRequestTest.java index 9fed34f..aae4c56 100644 --- a/src/test/java/com/lodgea/model/AvailabilityGetTest.java +++ b/src/test/java/com/lodgea/model/LocationSearchPostRequestTest.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,33 +18,31 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for AvailabilityGet + * Model tests for LocationSearchPostRequest */ -public class AvailabilityGetTest { - private final AvailabilityGet model = new AvailabilityGet(); +public class LocationSearchPostRequestTest { + private final LocationSearchPostRequest model = new LocationSearchPostRequest(); /** - * Model tests for AvailabilityGet + * Model tests for LocationSearchPostRequest */ @Test - public void testAvailabilityGet() { - // TODO: test AvailabilityGet + public void testLocationSearchPostRequest() { + // TODO: test LocationSearchPostRequest } /** - * Test the property 'propertyCode' + * Test the property 'searchText' */ @Test - public void propertyCodeTest() { - // TODO: test propertyCode + public void searchTextTest() { + // TODO: test searchText } /** @@ -55,4 +53,12 @@ public void currencyCodeTest() { // TODO: test currencyCode } + /** + * Test the property 'languageCode' + */ + @Test + public void languageCodeTest() { + // TODO: test languageCode + } + } diff --git a/src/test/java/com/lodgea/model/LocationSearchTest.java b/src/test/java/com/lodgea/model/LocationSearchTest.java deleted file mode 100644 index 182601e..0000000 --- a/src/test/java/com/lodgea/model/LocationSearchTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for LocationSearch - */ -public class LocationSearchTest { - private final LocationSearch model = new LocationSearch(); - - /** - * Model tests for LocationSearch - */ - @Test - public void testLocationSearch() { - // TODO: test LocationSearch - } - - /** - * Test the property 'searchText' - */ - @Test - public void searchTextTest() { - // TODO: test searchText - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyListPost200ResponseListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesGet200ResponseListInnerTest.java similarity index 70% rename from src/test/java/com/lodgea/model/V1PropertyListPost200ResponseListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesGet200ResponseListInnerTest.java index c1e9092..2d2e74f 100644 --- a/src/test/java/com/lodgea/model/V1PropertyListPost200ResponseListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesGet200ResponseListInnerTest.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,17 +25,17 @@ /** - * Model tests for V1PropertyListPost200ResponseListInner + * Model tests for PropertiesGet200ResponseListInner */ -public class V1PropertyListPost200ResponseListInnerTest { - private final V1PropertyListPost200ResponseListInner model = new V1PropertyListPost200ResponseListInner(); +public class PropertiesGet200ResponseListInnerTest { + private final PropertiesGet200ResponseListInner model = new PropertiesGet200ResponseListInner(); /** - * Model tests for V1PropertyListPost200ResponseListInner + * Model tests for PropertiesGet200ResponseListInner */ @Test - public void testV1PropertyListPost200ResponseListInner() { - // TODO: test V1PropertyListPost200ResponseListInner + public void testPropertiesGet200ResponseListInner() { + // TODO: test PropertiesGet200ResponseListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyListPost200ResponseTest.java b/src/test/java/com/lodgea/model/PropertiesGet200ResponseTest.java similarity index 60% rename from src/test/java/com/lodgea/model/V1PropertyListPost200ResponseTest.java rename to src/test/java/com/lodgea/model/PropertiesGet200ResponseTest.java index d4db912..51edaf6 100644 --- a/src/test/java/com/lodgea/model/V1PropertyListPost200ResponseTest.java +++ b/src/test/java/com/lodgea/model/PropertiesGet200ResponseTest.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,9 +18,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyListPost200ResponseListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesGet200ResponseListInner; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -29,17 +27,17 @@ /** - * Model tests for V1PropertyListPost200Response + * Model tests for PropertiesGet200Response */ -public class V1PropertyListPost200ResponseTest { - private final V1PropertyListPost200Response model = new V1PropertyListPost200Response(); +public class PropertiesGet200ResponseTest { + private final PropertiesGet200Response model = new PropertiesGet200Response(); /** - * Model tests for V1PropertyListPost200Response + * Model tests for PropertiesGet200Response */ @Test - public void testV1PropertyListPost200Response() { - // TODO: test V1PropertyListPost200Response + public void testPropertiesGet200Response() { + // TODO: test PropertiesGet200Response } /** diff --git a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInnerTest.java similarity index 59% rename from src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInnerTest.java index 31beed9..80808dd 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInnerTest.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,12 +18,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInner; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRoomTypeListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner; import java.io.IOException; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Disabled; @@ -31,17 +28,17 @@ /** - * Model tests for V1AvailabilityGetPost200Response + * Model tests for PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner */ -public class V1AvailabilityGetPost200ResponseTest { - private final V1AvailabilityGetPost200Response model = new V1AvailabilityGetPost200Response(); +public class PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInnerTest { + private final PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner model = new PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner(); /** - * Model tests for V1AvailabilityGetPost200Response + * Model tests for PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner */ @Test - public void testV1AvailabilityGetPost200Response() { - // TODO: test V1AvailabilityGetPost200Response + public void testPropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner() { + // TODO: test PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseTest.java new file mode 100644 index 0000000..51c8688 --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdAvailabilityGet200ResponseTest.java @@ -0,0 +1,51 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdAvailabilityGet200ResponseAvailabilityListInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdAvailabilityGet200Response + */ +public class PropertiesPropertyIdAvailabilityGet200ResponseTest { + private final PropertiesPropertyIdAvailabilityGet200Response model = new PropertiesPropertyIdAvailabilityGet200Response(); + + /** + * Model tests for PropertiesPropertyIdAvailabilityGet200Response + */ + @Test + public void testPropertiesPropertyIdAvailabilityGet200Response() { + // TODO: test PropertiesPropertyIdAvailabilityGet200Response + } + + /** + * Test the property 'availabilityList' + */ + @Test + public void availabilityListTest() { + // TODO: test availabilityList + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfoTest.java similarity index 63% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfoTest.java index d122b92..c516b6c 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfoTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,10 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -31,17 +32,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo */ -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPolicyListInner model = new V1PropertyGetPost200ResponsePropertyPolicyListInner(); +public class PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfoTest { + private final PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo model = new PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo */ @Test - public void testV1PropertyGetPost200ResponsePropertyPolicyListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPolicyListInner + public void testPropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo() { + // TODO: test PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo } /** @@ -132,4 +133,12 @@ public void feePolicyListTest() { // TODO: test feePolicyList } + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + } diff --git a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java similarity index 57% rename from src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java index c93a627..034dff2 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,27 +18,26 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; +import java.util.HashMap; +import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner */ -public class V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerTest { - private final V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner model = new V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner(); +public class PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInnerTest { + private final PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner model = new PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner(); /** - * Model tests for V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner */ @Test - public void testV1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner() { - // TODO: test V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner + public void testPropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner() { + // TODO: test PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner } /** diff --git a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerTest.java similarity index 58% rename from src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerTest.java index 8576e1d..cc42ac1 100644 --- a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerTest.java @@ -1,8 +1,8 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.2 + * The version of the OpenAPI document: 1.1.0 * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,9 +18,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerPricingListInner; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -29,17 +27,17 @@ /** - * Model tests for V1AvailabilityGetPost200ResponseRatePlanListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner */ -public class V1AvailabilityGetPost200ResponseRatePlanListInnerTest { - private final V1AvailabilityGetPost200ResponseRatePlanListInner model = new V1AvailabilityGetPost200ResponseRatePlanListInner(); +public class PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInnerTest { + private final PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner model = new PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner(); /** - * Model tests for V1AvailabilityGetPost200ResponseRatePlanListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner */ @Test - public void testV1AvailabilityGetPost200ResponseRatePlanListInner() { - // TODO: test V1AvailabilityGetPost200ResponseRatePlanListInner + public void testPropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner() { + // TODO: test PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerTest.java similarity index 62% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerTest.java index b7c36ef..5a22d28 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseProductListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfo; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerPolicyInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInnerRatePlanListInner; import java.io.IOException; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Disabled; @@ -32,17 +29,17 @@ /** - * Model tests for V1PropertyGetPost200ResponseProductListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInner */ -public class V1PropertyGetPost200ResponseProductListInnerTest { - private final V1PropertyGetPost200ResponseProductListInner model = new V1PropertyGetPost200ResponseProductListInner(); +public class PropertiesPropertyIdGet200ResponseProductListInnerTest { + private final PropertiesPropertyIdGet200ResponseProductListInner model = new PropertiesPropertyIdGet200ResponseProductListInner(); /** - * Model tests for V1PropertyGetPost200ResponseProductListInner + * Model tests for PropertiesPropertyIdGet200ResponseProductListInner */ @Test - public void testV1PropertyGetPost200ResponseProductListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInner + public void testPropertiesPropertyIdGet200ResponseProductListInner() { + // TODO: test PropertiesPropertyIdGet200ResponseProductListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInnerTest.java similarity index 54% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInnerTest.java index ca6f514..67d4247 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyAwardListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,17 +25,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyAwardListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyAwardListInner */ -public class V1PropertyGetPost200ResponsePropertyAwardListInnerTest { - private final V1PropertyGetPost200ResponsePropertyAwardListInner model = new V1PropertyGetPost200ResponsePropertyAwardListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyAwardListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyAwardListInner model = new PropertiesPropertyIdGet200ResponsePropertyAwardListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyAwardListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyAwardListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyAwardListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyAwardListInner + public void testPropertiesPropertyIdGet200ResponsePropertyAwardListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyAwardListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriodTest.java similarity index 53% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriodTest.java index 3f4bbf6..b42cf6e 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriodTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,17 +25,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyCancellationGracePeriod + * Model tests for PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod */ -public class V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest { - private final V1PropertyGetPost200ResponsePropertyCancellationGracePeriod model = new V1PropertyGetPost200ResponsePropertyCancellationGracePeriod(); +public class PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriodTest { + private final PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod model = new PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyCancellationGracePeriod + * Model tests for PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod */ @Test - public void testV1PropertyGetPost200ResponsePropertyCancellationGracePeriod() { - // TODO: test V1PropertyGetPost200ResponsePropertyCancellationGracePeriod + public void testPropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInnerTest.java similarity index 61% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInnerTest.java index b8bc829..871b03c 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,25 +18,23 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner */ -public class V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest { - private final V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner model = new V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner model = new PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner + public void testPropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerTest.java similarity index 52% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerTest.java index f857b46..57412fe 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyContactListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyContactListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,9 +18,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyContactListInnerAddressListInner; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -29,17 +27,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyContactListInner */ -public class V1PropertyGetPost200ResponsePropertyContactListInnerTest { - private final V1PropertyGetPost200ResponsePropertyContactListInner model = new V1PropertyGetPost200ResponsePropertyContactListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyContactListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyContactListInner model = new PropertiesPropertyIdGet200ResponsePropertyContactListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyContactListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyContactListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyContactListInner + public void testPropertiesPropertyIdGet200ResponsePropertyContactListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyContactListInner } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java new file mode 100644 index 0000000..ca71ece --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java @@ -0,0 +1,57 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + */ +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner model = new PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner(); + + /** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + */ + @Test + public void testPropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner + } + + /** + * Test the property 'code' + */ + @Test + public void codeTest() { + // TODO: test code + } + + /** + * Test the property 'quantity' + */ + @Test + public void quantityTest() { + // TODO: test quantity + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java similarity index 67% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java index 9bb3d12..4500cb1 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,9 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -30,17 +27,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner */ -public class V1PropertyGetPost200ResponsePropertyMediaListInnerTest { - private final V1PropertyGetPost200ResponsePropertyMediaListInner model = new V1PropertyGetPost200ResponsePropertyMediaListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner model = new PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyMediaListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyMediaListInner + public void testPropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner } /** @@ -52,19 +49,19 @@ public void isMainImageTest() { } /** - * Test the property 'sortOrder' + * Test the property 'url' */ @Test - public void sortOrderTest() { - // TODO: test sortOrder + public void urlTest() { + // TODO: test url } /** - * Test the property 'url' + * Test the property 'sortOrder' */ @Test - public void urlTest() { - // TODO: test url + public void sortOrderTest() { + // TODO: test sortOrder } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java new file mode 100644 index 0000000..bb208ac --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java @@ -0,0 +1,56 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + */ +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner model = new PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner(); + + /** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + */ + @Test + public void testPropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner + } + + /** + * Test the property 'languageCode' + */ + @Test + public void languageCodeTest() { + // TODO: test languageCode + } + + /** + * Test the property 'text' + */ + @Test + public void textTest() { + // TODO: test text + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java similarity index 55% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java index 4fca42c..29cfecf 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,12 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner; import java.io.IOException; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Disabled; @@ -31,17 +30,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner model = new PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner + public void testPropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner } /** @@ -69,27 +68,11 @@ public void nameTest() { } /** - * Test the property 'typeName' - */ - @Test - public void typeNameTest() { - // TODO: test typeName - } - - /** - * Test the property 'descriptionText' - */ - @Test - public void descriptionTextTest() { - // TODO: test descriptionText - } - - /** - * Test the property 'imageList' + * Test the property 'mediaList' */ @Test - public void imageListTest() { - // TODO: test imageList + public void mediaListTest() { + // TODO: test mediaList } /** @@ -108,14 +91,6 @@ public void isNonSmokingTest() { // TODO: test isNonSmoking } - /** - * Test the property 'roomTypeName' - */ - @Test - public void roomTypeNameTest() { - // TODO: test roomTypeName - } - /** * Test the property 'amenityList' */ @@ -124,14 +99,6 @@ public void amenityListTest() { // TODO: test amenityList } - /** - * Test the property 'maxOccupancy' - */ - @Test - public void maxOccupancyTest() { - // TODO: test maxOccupancy - } - /** * Test the property 'messageList' */ @@ -141,11 +108,11 @@ public void messageListTest() { } /** - * Test the property 'mediaList' + * Test the property 'maxOccupancy' */ @Test - public void mediaListTest() { - // TODO: test mediaList + public void maxOccupancyTest() { + // TODO: test maxOccupancy } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoTest.java new file mode 100644 index 0000000..3ea16aa --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyFacilityInfoTest.java @@ -0,0 +1,51 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInner; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfo + */ +public class PropertiesPropertyIdGet200ResponsePropertyFacilityInfoTest { + private final PropertiesPropertyIdGet200ResponsePropertyFacilityInfo model = new PropertiesPropertyIdGet200ResponsePropertyFacilityInfo(); + + /** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyFacilityInfo + */ + @Test + public void testPropertiesPropertyIdGet200ResponsePropertyFacilityInfo() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyFacilityInfo + } + + /** + * Test the property 'guestRoomList' + */ + @Test + public void guestRoomListTest() { + // TODO: test guestRoomList + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGuestInfoTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfoTest.java similarity index 61% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGuestInfoTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfoTest.java index d5f9179..a1ef1ff 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGuestInfoTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyGuestInfoTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,25 +18,23 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for V1PropertyGetPost200ResponsePropertyGuestInfo + * Model tests for PropertiesPropertyIdGet200ResponsePropertyGuestInfo */ -public class V1PropertyGetPost200ResponsePropertyGuestInfoTest { - private final V1PropertyGetPost200ResponsePropertyGuestInfo model = new V1PropertyGetPost200ResponsePropertyGuestInfo(); +public class PropertiesPropertyIdGet200ResponsePropertyGuestInfoTest { + private final PropertiesPropertyIdGet200ResponsePropertyGuestInfo model = new PropertiesPropertyIdGet200ResponsePropertyGuestInfo(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyGuestInfo + * Model tests for PropertiesPropertyIdGet200ResponsePropertyGuestInfo */ @Test - public void testV1PropertyGetPost200ResponsePropertyGuestInfo() { - // TODO: test V1PropertyGetPost200ResponsePropertyGuestInfo + public void testPropertiesPropertyIdGet200ResponsePropertyGuestInfo() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyGuestInfo } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInnerTest.java similarity index 61% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInnerTest.java index 750f6c5..0508ced 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,25 +25,17 @@ /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner */ -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner model = new V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner model = new PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner(); /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner */ @Test - public void testV1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code + public void testPropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInnerTest.java similarity index 63% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInnerTest.java index 3422f77..fe2ef31 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -29,17 +27,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner */ -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner model = new V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner model = new PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner + public void testPropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicyTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicyTest.java new file mode 100644 index 0000000..14a3022 --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicyTest.java @@ -0,0 +1,97 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy + */ +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicyTest { + private final PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy model = new PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy(); + + /** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy + */ + @Test + public void testPropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy + } + + /** + * Test the property 'percentAfterReservation' + */ + @Test + public void percentAfterReservationTest() { + // TODO: test percentAfterReservation + } + + /** + * Test the property 'nightsAfterReservation' + */ + @Test + public void nightsAfterReservationTest() { + // TODO: test nightsAfterReservation + } + + /** + * Test the property 'deadlineDays' + */ + @Test + public void deadlineDaysTest() { + // TODO: test deadlineDays + } + + /** + * Test the property 'deadlineHours' + */ + @Test + public void deadlineHoursTest() { + // TODO: test deadlineHours + } + + /** + * Test the property 'percentAfterDeadline' + */ + @Test + public void percentAfterDeadlineTest() { + // TODO: test percentAfterDeadline + } + + /** + * Test the property 'nightsAfterDeadline' + */ + @Test + public void nightsAfterDeadlineTest() { + // TODO: test nightsAfterDeadline + } + + /** + * Test the property 'noShowPolicy' + */ + @Test + public void noShowPolicyTest() { + // TODO: test noShowPolicy + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicyTest.java similarity index 55% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicyTest.java index 3523b46..68dc47c 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicyTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,25 +18,23 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy */ -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest { - private final V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy model = new V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy(); +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicyTest { + private final PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy model = new PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy */ @Test - public void testV1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy() { - // TODO: test V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy + public void testPropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java new file mode 100644 index 0000000..03f2b11 --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java @@ -0,0 +1,91 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + */ +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner model = new PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner(); + + /** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + */ + @Test + public void testPropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner + } + + /** + * Test the property 'typeCode' + */ + @Test + public void typeCodeTest() { + // TODO: test typeCode + } + + /** + * Test the property 'percent' + */ + @Test + public void percentTest() { + // TODO: test percent + } + + /** + * Test the property 'chargeType' + */ + @Test + public void chargeTypeTest() { + // TODO: test chargeType + } + + /** + * Test the property 'chargeFrequencyCode' + */ + @Test + public void chargeFrequencyCodeTest() { + // TODO: test chargeFrequencyCode + } + + /** + * Test the property 'currencyCode' + */ + @Test + public void currencyCodeTest() { + // TODO: test currencyCode + } + + /** + * Test the property 'conditionList' + */ + @Test + public void conditionListTest() { + // TODO: test conditionList + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTest.java similarity index 67% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTest.java index ec34def..ce5a88d 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,11 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerCancellationPolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerFeePolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerGuaranteePolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerPetsPolicy; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTaxPolicyListInner; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -32,17 +32,17 @@ /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfo + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInner */ -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest { - private final V1PropertyGetPost200ResponseProductListInnerPolicyInfo model = new V1PropertyGetPost200ResponseProductListInnerPolicyInfo(); +public class PropertiesPropertyIdGet200ResponsePropertyPolicyListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyPolicyListInner model = new PropertiesPropertyIdGet200ResponsePropertyPolicyListInner(); /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfo + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPolicyListInner */ @Test - public void testV1PropertyGetPost200ResponseProductListInnerPolicyInfo() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerPolicyInfo + public void testPropertiesPropertyIdGet200ResponsePropertyPolicyListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPolicyListInner } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java new file mode 100644 index 0000000..fdfaded --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java @@ -0,0 +1,56 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + */ +public class PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner model = new PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner(); + + /** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + */ + @Test + public void testPropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner + } + + /** + * Test the property 'code' + */ + @Test + public void codeTest() { + // TODO: test code + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInnerTest.java similarity index 50% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInnerTest.java index d275ec6..9e362b8 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,25 +18,23 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for V1PropertyGetPost200ResponsePropertyTransactionExternalListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner */ -public class V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest { - private final V1PropertyGetPost200ResponsePropertyTransactionExternalListInner model = new V1PropertyGetPost200ResponsePropertyTransactionExternalListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner model = new PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyTransactionExternalListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyTransactionExternalListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyTransactionExternalListInner + public void testPropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoTest.java similarity index 58% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoTest.java index 5ec2543..2d2f0ac 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyPropertyInfoTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,12 +18,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoLocation; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.AvailablePropertiesInner1GeoLocation; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfoAcceptedPaymentListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfoMessageListInner; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -33,17 +30,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfo + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPropertyInfo */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfo model = new V1PropertyGetPost200ResponsePropertyPropertyInfo(); +public class PropertiesPropertyIdGet200ResponsePropertyPropertyInfoTest { + private final PropertiesPropertyIdGet200ResponsePropertyPropertyInfo model = new PropertiesPropertyIdGet200ResponsePropertyPropertyInfo(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfo + * Model tests for PropertiesPropertyIdGet200ResponsePropertyPropertyInfo */ @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfo() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfo + public void testPropertiesPropertyIdGet200ResponsePropertyPropertyInfo() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyPropertyInfo } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreatedTest.java similarity index 60% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreatedTest.java index f33d5b4..8540330 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordCreatedTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,17 +25,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordCreated + * Model tests for PropertiesPropertyIdGet200ResponsePropertyRecordCreated */ -public class V1PropertyGetPost200ResponsePropertyRecordCreatedTest { - private final V1PropertyGetPost200ResponsePropertyRecordCreated model = new V1PropertyGetPost200ResponsePropertyRecordCreated(); +public class PropertiesPropertyIdGet200ResponsePropertyRecordCreatedTest { + private final PropertiesPropertyIdGet200ResponsePropertyRecordCreated model = new PropertiesPropertyIdGet200ResponsePropertyRecordCreated(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordCreated + * Model tests for PropertiesPropertyIdGet200ResponsePropertyRecordCreated */ @Test - public void testV1PropertyGetPost200ResponsePropertyRecordCreated() { - // TODO: test V1PropertyGetPost200ResponsePropertyRecordCreated + public void testPropertiesPropertyIdGet200ResponsePropertyRecordCreated() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyRecordCreated } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModifiedTest.java similarity index 59% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModifiedTest.java index ba66b25..4821c2d 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyRecordModifiedTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import org.junit.jupiter.api.Disabled; @@ -27,17 +25,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordModified + * Model tests for PropertiesPropertyIdGet200ResponsePropertyRecordModified */ -public class V1PropertyGetPost200ResponsePropertyRecordModifiedTest { - private final V1PropertyGetPost200ResponsePropertyRecordModified model = new V1PropertyGetPost200ResponsePropertyRecordModified(); +public class PropertiesPropertyIdGet200ResponsePropertyRecordModifiedTest { + private final PropertiesPropertyIdGet200ResponsePropertyRecordModified model = new PropertiesPropertyIdGet200ResponsePropertyRecordModified(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordModified + * Model tests for PropertiesPropertyIdGet200ResponsePropertyRecordModified */ @Test - public void testV1PropertyGetPost200ResponsePropertyRecordModified() { - // TODO: test V1PropertyGetPost200ResponsePropertyRecordModified + public void testPropertiesPropertyIdGet200ResponsePropertyRecordModified() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyRecordModified } /** diff --git a/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInnerTest.java new file mode 100644 index 0000000..d16b5c7 --- /dev/null +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInnerTest.java @@ -0,0 +1,113 @@ +/* + * lodgea-java + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. + * + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.lodgea.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + */ +public class PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner model = new PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner(); + + /** + * Model tests for PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + */ + @Test + public void testPropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner + } + + /** + * Test the property 'start' + */ + @Test + public void startTest() { + // TODO: test start + } + + /** + * Test the property 'end' + */ + @Test + public void endTest() { + // TODO: test end + } + + /** + * Test the property 'monday' + */ + @Test + public void mondayTest() { + // TODO: test monday + } + + /** + * Test the property 'tuesday' + */ + @Test + public void tuesdayTest() { + // TODO: test tuesday + } + + /** + * Test the property 'wednesday' + */ + @Test + public void wednesdayTest() { + // TODO: test wednesday + } + + /** + * Test the property 'thursday' + */ + @Test + public void thursdayTest() { + // TODO: test thursday + } + + /** + * Test the property 'friday' + */ + @Test + public void fridayTest() { + // TODO: test friday + } + + /** + * Test the property 'saturday' + */ + @Test + public void saturdayTest() { + // TODO: test saturday + } + + /** + * Test the property 'sunday' + */ + @Test + public void sundayTest() { + // TODO: test sunday + } + +} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerTest.java similarity index 71% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerTest.java index d4ca58f..53e57c5 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyServiceListInnerTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,8 +18,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyServiceListInnerOperationTimeListInner; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; @@ -29,17 +28,17 @@ /** - * Model tests for V1PropertyGetPost200ResponsePropertyServiceListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyServiceListInner */ -public class V1PropertyGetPost200ResponsePropertyServiceListInnerTest { - private final V1PropertyGetPost200ResponsePropertyServiceListInner model = new V1PropertyGetPost200ResponsePropertyServiceListInner(); +public class PropertiesPropertyIdGet200ResponsePropertyServiceListInnerTest { + private final PropertiesPropertyIdGet200ResponsePropertyServiceListInner model = new PropertiesPropertyIdGet200ResponsePropertyServiceListInner(); /** - * Model tests for V1PropertyGetPost200ResponsePropertyServiceListInner + * Model tests for PropertiesPropertyIdGet200ResponsePropertyServiceListInner */ @Test - public void testV1PropertyGetPost200ResponsePropertyServiceListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyServiceListInner + public void testPropertiesPropertyIdGet200ResponsePropertyServiceListInner() { + // TODO: test PropertiesPropertyIdGet200ResponsePropertyServiceListInner } /** diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyTest.java similarity index 59% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyTest.java index 55be3d1..5a5bdb9 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponsePropertyTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,41 +18,39 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyAwardListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyCancellationGracePeriod; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyContactListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGuestInfo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyMediaListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPolicyListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyPropertyInfo; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyRecordCreated; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyRecordModified; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyServiceListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyTransaction; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.AvailablePropertiesInner1Geo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyAwardListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyCancellationGracePeriod; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyContactListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyGuestInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPolicyListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyPropertyInfo; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyRecordCreated; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyRecordModified; +import com.lodgea.model.PropertiesPropertyIdGet200ResponsePropertyServiceListInner; import java.io.IOException; -import java.math.BigDecimal; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for V1PropertyGetPost200ResponseProperty + * Model tests for PropertiesPropertyIdGet200ResponseProperty */ -public class V1PropertyGetPost200ResponsePropertyTest { - private final V1PropertyGetPost200ResponseProperty model = new V1PropertyGetPost200ResponseProperty(); +public class PropertiesPropertyIdGet200ResponsePropertyTest { + private final PropertiesPropertyIdGet200ResponseProperty model = new PropertiesPropertyIdGet200ResponseProperty(); /** - * Model tests for V1PropertyGetPost200ResponseProperty + * Model tests for PropertiesPropertyIdGet200ResponseProperty */ @Test - public void testV1PropertyGetPost200ResponseProperty() { - // TODO: test V1PropertyGetPost200ResponseProperty + public void testPropertiesPropertyIdGet200ResponseProperty() { + // TODO: test PropertiesPropertyIdGet200ResponseProperty } /** @@ -143,14 +141,6 @@ public void geoTest() { // TODO: test geo } - /** - * Test the property 'refinementDate' - */ - @Test - public void refinementDateTest() { - // TODO: test refinementDate - } - /** * Test the property 'published' */ @@ -175,14 +165,6 @@ public void uriTest() { // TODO: test uri } - /** - * Test the property 'transaction' - */ - @Test - public void transactionTest() { - // TODO: test transaction - } - /** * Test the property 'cancellationGracePeriod' */ diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseTest.java b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseTest.java similarity index 51% rename from src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseTest.java rename to src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseTest.java index a120db0..bf5d619 100644 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseTest.java +++ b/src/test/java/com/lodgea/model/PropertiesPropertyIdGet200ResponseTest.java @@ -1,9 +1,9 @@ /* * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. + * LODGEA SDK for java. Check out https://docs.lodgea.io for more information. * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com + * The version of the OpenAPI document: 1.1.0 + * Contact: support@lodgea.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,10 +18,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInner; -import com.lodgea.model.V1PropertyGetPost200ResponseProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProductListInner; +import com.lodgea.model.PropertiesPropertyIdGet200ResponseProperty; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -30,25 +28,17 @@ /** - * Model tests for V1PropertyGetPost200Response + * Model tests for PropertiesPropertyIdGet200Response */ -public class V1PropertyGetPost200ResponseTest { - private final V1PropertyGetPost200Response model = new V1PropertyGetPost200Response(); +public class PropertiesPropertyIdGet200ResponseTest { + private final PropertiesPropertyIdGet200Response model = new PropertiesPropertyIdGet200Response(); /** - * Model tests for V1PropertyGetPost200Response + * Model tests for PropertiesPropertyIdGet200Response */ @Test - public void testV1PropertyGetPost200Response() { - // TODO: test V1PropertyGetPost200Response - } - - /** - * Test the property 'versionId' - */ - @Test - public void versionIdTest() { - // TODO: test versionId + public void testPropertiesPropertyIdGet200Response() { + // TODO: test PropertiesPropertyIdGet200Response } /** diff --git a/src/test/java/com/lodgea/model/PropertyGetTest.java b/src/test/java/com/lodgea/model/PropertyGetTest.java deleted file mode 100644 index 4010761..0000000 --- a/src/test/java/com/lodgea/model/PropertyGetTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for PropertyGet - */ -public class PropertyGetTest { - private final PropertyGet model = new PropertyGet(); - - /** - * Model tests for PropertyGet - */ - @Test - public void testPropertyGet() { - // TODO: test PropertyGet - } - - /** - * Test the property 'propertyId' - */ - @Test - public void propertyIdTest() { - // TODO: test propertyId - } - -} diff --git a/src/test/java/com/lodgea/model/PropertyListTest.java b/src/test/java/com/lodgea/model/PropertyListTest.java deleted file mode 100644 index 0c0b4f7..0000000 --- a/src/test/java/com/lodgea/model/PropertyListTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for PropertyList - */ -public class PropertyListTest { - private final PropertyList model = new PropertyList(); - - /** - * Model tests for PropertyList - */ - @Test - public void testPropertyList() { - // TODO: test PropertyList - } - - /** - * Test the property 'keyword' - */ - @Test - public void keywordTest() { - // TODO: test keyword - } - - /** - * Test the property 'pageToken' - */ - @Test - public void pageTokenTest() { - // TODO: test pageToken - } - -} diff --git a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceListTest.java b/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceListTest.java deleted file mode 100644 index c59f376..0000000 --- a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceListTest.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - */ -public class V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceListTest { - private final V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList model = new V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList(); - - /** - * Model tests for V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - */ - @Test - public void testV1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList() { - // TODO: test V1AvailabilityGetPost200ResponseRatePlanListInnerPricingListInnerPriceList - } - - /** - * Test the property '_3' - */ - @Test - public void _3Test() { - // TODO: test _3 - } - - /** - * Test the property '_4' - */ - @Test - public void _4Test() { - // TODO: test _4 - } - - /** - * Test the property '_5' - */ - @Test - public void _5Test() { - // TODO: test _5 - } - - /** - * Test the property '_6' - */ - @Test - public void _6Test() { - // TODO: test _6 - } - - /** - * Test the property '_7' - */ - @Test - public void _7Test() { - // TODO: test _7 - } - - /** - * Test the property '_8' - */ - @Test - public void _8Test() { - // TODO: test _8 - } - - /** - * Test the property '_9' - */ - @Test - public void _9Test() { - // TODO: test _9 - } - - /** - * Test the property '_10' - */ - @Test - public void _10Test() { - // TODO: test _10 - } - - /** - * Test the property '_11' - */ - @Test - public void _11Test() { - // TODO: test _11 - } - - /** - * Test the property '_12' - */ - @Test - public void _12Test() { - // TODO: test _12 - } - - /** - * Test the property '_13' - */ - @Test - public void _13Test() { - // TODO: test _13 - } - - /** - * Test the property '_14' - */ - @Test - public void _14Test() { - // TODO: test _14 - } - - /** - * Test the property '_15' - */ - @Test - public void _15Test() { - // TODO: test _15 - } - - /** - * Test the property '_16' - */ - @Test - public void _16Test() { - // TODO: test _16 - } - - /** - * Test the property '_17' - */ - @Test - public void _17Test() { - // TODO: test _17 - } - - /** - * Test the property '_18' - */ - @Test - public void _18Test() { - // TODO: test _18 - } - - /** - * Test the property '_19' - */ - @Test - public void _19Test() { - // TODO: test _19 - } - - /** - * Test the property '_20' - */ - @Test - public void _20Test() { - // TODO: test _20 - } - -} diff --git a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInnerTest.java b/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInnerTest.java deleted file mode 100644 index 1d3dad9..0000000 --- a/src/test/java/com/lodgea/model/V1AvailabilityGetPost200ResponseRoomTypeListInnerTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://docs.lodgea.io for more information. - * - * The version of the OpenAPI document: 1.0.2 - * Contact: support@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilityGetPost200ResponseRoomTypeListInner - */ -public class V1AvailabilityGetPost200ResponseRoomTypeListInnerTest { - private final V1AvailabilityGetPost200ResponseRoomTypeListInner model = new V1AvailabilityGetPost200ResponseRoomTypeListInner(); - - /** - * Model tests for V1AvailabilityGetPost200ResponseRoomTypeListInner - */ - @Test - public void testV1AvailabilityGetPost200ResponseRoomTypeListInner() { - // TODO: test V1AvailabilityGetPost200ResponseRoomTypeListInner - } - - /** - * Test the property 'typeCode' - */ - @Test - public void typeCodeTest() { - // TODO: test typeCode - } - -} diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java b/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java deleted file mode 100644 index ea57a02..0000000 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest { - private final V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance model = new V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - } - - /** - * Test the property 'value' - */ - @Test - public void valueTest() { - // TODO: test value - } - - /** - * Test the property 'unit' - */ - @Test - public void unitTest() { - // TODO: test unit - } - -} diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java b/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java deleted file mode 100644 index 88ca2d6..0000000 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ -public class V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest { - private final V1AvailabilitySearchPost200ResponseListInnerGeoLocation model = new V1AvailabilitySearchPost200ResponseListInnerGeoLocation(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerGeoLocation() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerGeoLocation - } - - /** - * Test the property 'lng' - */ - @Test - public void lngTest() { - // TODO: test lng - } - - /** - * Test the property 'lat' - */ - @Test - public void latTest() { - // TODO: test lat - } - -} diff --git a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java b/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java deleted file mode 100644 index 2132a0f..0000000 --- a/src/test/java/com/lodgea/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1AvailabilitySearchPost200ResponseListInnerGeoLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeo - */ -public class V1AvailabilitySearchPost200ResponseListInnerGeoTest { - private final V1AvailabilitySearchPost200ResponseListInnerGeo model = new V1AvailabilitySearchPost200ResponseListInnerGeo(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeo - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerGeo() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerGeo - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java deleted file mode 100644 index d06ea99..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerMealPlanListInner model = new V1PropertyGetPost200ResponseProductListInnerMealPlanListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerMealPlanListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java deleted file mode 100644 index 3582bf1..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest { - private final V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList model = new V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - } - - /** - * Test the property '_4' - */ - @Test - public void _4Test() { - // TODO: test _4 - } - - /** - * Test the property '_5' - */ - @Test - public void _5Test() { - // TODO: test _5 - } - - /** - * Test the property '_6' - */ - @Test - public void _6Test() { - // TODO: test _6 - } - - /** - * Test the property '_7' - */ - @Test - public void _7Test() { - // TODO: test _7 - } - - /** - * Test the property '_8' - */ - @Test - public void _8Test() { - // TODO: test _8 - } - - /** - * Test the property '_9' - */ - @Test - public void _9Test() { - // TODO: test _9 - } - - /** - * Test the property '_10' - */ - @Test - public void _10Test() { - // TODO: test _10 - } - - /** - * Test the property '_11' - */ - @Test - public void _11Test() { - // TODO: test _11 - } - - /** - * Test the property '_12' - */ - @Test - public void _12Test() { - // TODO: test _12 - } - - /** - * Test the property '_13' - */ - @Test - public void _13Test() { - // TODO: test _13 - } - - /** - * Test the property '_14' - */ - @Test - public void _14Test() { - // TODO: test _14 - } - - /** - * Test the property '_15' - */ - @Test - public void _15Test() { - // TODO: test _15 - } - - /** - * Test the property '_16' - */ - @Test - public void _16Test() { - // TODO: test _16 - } - - /** - * Test the property '_17' - */ - @Test - public void _17Test() { - // TODO: test _17 - } - - /** - * Test the property '_18' - */ - @Test - public void _18Test() { - // TODO: test _18 - } - - /** - * Test the property '_19' - */ - @Test - public void _19Test() { - // TODO: test _19 - } - - /** - * Test the property '_20' - */ - @Test - public void _20Test() { - // TODO: test _20 - } - - /** - * Test the property '_21' - */ - @Test - public void _21Test() { - // TODO: test _21 - } - - /** - * Test the property '_22' - */ - @Test - public void _22Test() { - // TODO: test _22 - } - - /** - * Test the property '_23' - */ - @Test - public void _23Test() { - // TODO: test _23 - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java deleted file mode 100644 index 42acc5a..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner model = new V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - } - - /** - * Test the property 'dateTime' - */ - @Test - public void dateTimeTest() { - // TODO: test dateTime - } - - /** - * Test the property 'occupancy' - */ - @Test - public void occupancyTest() { - // TODO: test occupancy - } - - /** - * Test the property 'priceList' - */ - @Test - public void priceListTest() { - // TODO: test priceList - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java deleted file mode 100644 index f295fc4..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerRatePlanListInner model = new V1PropertyGetPost200ResponseProductListInnerRatePlanListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRatePlanListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - } - - /** - * Test the property 'active' - */ - @Test - public void activeTest() { - // TODO: test active - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'propertyId' - */ - @Test - public void propertyIdTest() { - // TODO: test propertyId - } - - /** - * Test the property 'pricingList' - */ - @Test - public void pricingListTest() { - // TODO: test pricingList - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java deleted file mode 100644 index 2c0581a..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner model = new V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRoomTypeListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - } - - /** - * Test the property 'typeCode' - */ - @Test - public void typeCodeTest() { - // TODO: test typeCode - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java deleted file mode 100644 index 3548820..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'quantity' - */ - @Test - public void quantityTest() { - // TODO: test quantity - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java deleted file mode 100644 index cbeb5fa..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java deleted file mode 100644 index 6fd6691..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java deleted file mode 100644 index 73d5191..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - } - - /** - * Test the property 'isMainImage' - */ - @Test - public void isMainImageTest() { - // TODO: test isMainImage - } - - /** - * Test the property 'sortOrder' - */ - @Test - public void sortOrderTest() { - // TODO: test sortOrder - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'tagList' - */ - @Test - public void tagListTest() { - // TODO: test tagList - } - - /** - * Test the property 'moderationLabelList' - */ - @Test - public void moderationLabelListTest() { - // TODO: test moderationLabelList - } - - /** - * Test the property 'detectionLabelList' - */ - @Test - public void detectionLabelListTest() { - // TODO: test detectionLabelList - } - - /** - * Test the property 'propertyAmenityList' - */ - @Test - public void propertyAmenityListTest() { - // TODO: test propertyAmenityList - } - - /** - * Test the property 'roomAmenityList' - */ - @Test - public void roomAmenityListTest() { - // TODO: test roomAmenityList - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java deleted file mode 100644 index ebf523e..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property 'text' - */ - @Test - public void textTest() { - // TODO: test text - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java deleted file mode 100644 index e9e3e90..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfo - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfo model = new V1PropertyGetPost200ResponsePropertyFacilityInfo(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfo - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfo() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfo - } - - /** - * Test the property 'guestRoomList' - */ - @Test - public void guestRoomListTest() { - // TODO: test guestRoomList - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java deleted file mode 100644 index c74b6f2..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDe - */ -public class V1PropertyGetPost200ResponsePropertyGeoDeTest { - private final V1PropertyGetPost200ResponsePropertyGeoDe model = new V1PropertyGetPost200ResponsePropertyGeoDe(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDe - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoDe() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoDe - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java deleted file mode 100644 index c826834..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoEn - */ -public class V1PropertyGetPost200ResponsePropertyGeoEnTest { - private final V1PropertyGetPost200ResponsePropertyGeoEn model = new V1PropertyGetPost200ResponsePropertyGeoEn(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoEn - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoEn() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoEn - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java deleted file mode 100644 index 50c2d50..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoNl - */ -public class V1PropertyGetPost200ResponsePropertyGeoNlTest { - private final V1PropertyGetPost200ResponsePropertyGeoNl model = new V1PropertyGetPost200ResponsePropertyGeoNl(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoNl - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoNl() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoNl - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoTest.java deleted file mode 100644 index f04766d..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyGeoTest.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDa; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoDe; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoEn; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyGeoNl; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeo - */ -public class V1PropertyGetPost200ResponsePropertyGeoTest { - private final V1PropertyGetPost200ResponsePropertyGeo model = new V1PropertyGetPost200ResponsePropertyGeo(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeo - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeo() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeo - } - - /** - * Test the property 'de' - */ - @Test - public void deTest() { - // TODO: test de - } - - /** - * Test the property 'en' - */ - @Test - public void enTest() { - // TODO: test en - } - - /** - * Test the property 'da' - */ - @Test - public void daTest() { - // TODO: test da - } - - /** - * Test the property 'nl' - */ - @Test - public void nlTest() { - // TODO: test nl - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java deleted file mode 100644 index d3e3283..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ -public class V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest { - private final V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner model = new V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java deleted file mode 100644 index 99d654f..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner model = new V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java deleted file mode 100644 index b5deea3..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner model = new V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - } - - /** - * Test the property 'exists' - */ - @Test - public void existsTest() { - // TODO: test exists - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java deleted file mode 100644 index d3501b3..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoLocation model = new V1PropertyGetPost200ResponsePropertyPropertyInfoLocation(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoLocation() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - } - - /** - * Test the property 'latitude' - */ - @Test - public void latitudeTest() { - // TODO: test latitude - } - - /** - * Test the property 'longitude' - */ - @Test - public void longitudeTest() { - // TODO: test longitude - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java deleted file mode 100644 index 4e22824..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner model = new V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property 'text' - */ - @Test - public void textTest() { - // TODO: test text - } - -} diff --git a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java b/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java deleted file mode 100644 index 5438d74..0000000 --- a/src/test/java/com/lodgea/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * lodgea-java - * LODGEA SDK for Java. Check out https://lodgea.redoc.ly for more information. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.lodgea.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.lodgea.model.V1PropertyGetPost200ResponsePropertyTransactionExternalListInner; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyTransaction - */ -public class V1PropertyGetPost200ResponsePropertyTransactionTest { - private final V1PropertyGetPost200ResponsePropertyTransaction model = new V1PropertyGetPost200ResponsePropertyTransaction(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyTransaction - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyTransaction() { - // TODO: test V1PropertyGetPost200ResponsePropertyTransaction - } - - /** - * Test the property 'method' - */ - @Test - public void methodTest() { - // TODO: test method - } - - /** - * Test the property 'contactTypeList' - */ - @Test - public void contactTypeListTest() { - // TODO: test contactTypeList - } - - /** - * Test the property 'externalList' - */ - @Test - public void externalListTest() { - // TODO: test externalList - } - -} diff --git a/src/test/java/org/openapitools/client/api/AvailabilityApiTest.java b/src/test/java/org/openapitools/client/api/AvailabilityApiTest.java deleted file mode 100644 index a4c3f36..0000000 --- a/src/test/java/org/openapitools/client/api/AvailabilityApiTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiException; -import org.openapitools.client.model.AvailabilitySearch; -import org.openapitools.client.model.V1AvailabilitySearchPost200Response; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for AvailabilityApi - */ -@Disabled -public class AvailabilityApiTest { - - private final AvailabilityApi api = new AvailabilityApi(); - - /** - * Search for Availability - * - * Get availability information based on search criteria. The possible values for the different content parameters are listed below. All parameters are optional. - * - * @throws ApiException if the Api call fails - */ - @Test - public void v1AvailabilitySearchPostTest() throws ApiException { - AvailabilitySearch availabilitySearch = null; - V1AvailabilitySearchPost200Response response = api.v1AvailabilitySearchPost(availabilitySearch); - // TODO: test validations - } - -} diff --git a/src/test/java/org/openapitools/client/api/LocationApiTest.java b/src/test/java/org/openapitools/client/api/LocationApiTest.java deleted file mode 100644 index 047d9c4..0000000 --- a/src/test/java/org/openapitools/client/api/LocationApiTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiException; -import org.openapitools.client.model.LocationSearch; -import org.openapitools.client.model.V1LocationSearchPost200Response; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for LocationApi - */ -@Disabled -public class LocationApiTest { - - private final LocationApi api = new LocationApi(); - - /** - * Search for Location - * - * Get a location by search text in free from. This parameter is required. - * - * @throws ApiException if the Api call fails - */ - @Test - public void v1LocationSearchPostTest() throws ApiException { - LocationSearch locationSearch = null; - V1LocationSearchPost200Response response = api.v1LocationSearchPost(locationSearch); - // TODO: test validations - } - -} diff --git a/src/test/java/org/openapitools/client/api/PropertyApiTest.java b/src/test/java/org/openapitools/client/api/PropertyApiTest.java deleted file mode 100644 index 86bc0db..0000000 --- a/src/test/java/org/openapitools/client/api/PropertyApiTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiException; -import org.openapitools.client.model.PropertyGet; -import org.openapitools.client.model.V1PropertyGetPost200Response; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for PropertyApi - */ -@Disabled -public class PropertyApiTest { - - private final PropertyApi api = new PropertyApi(); - - /** - * Get Property by ID - * - * Get all information about a specific property by its ID. This parameter is required. - * - * @throws ApiException if the Api call fails - */ - @Test - public void v1PropertyGetPostTest() throws ApiException { - PropertyGet propertyGet = null; - V1PropertyGetPost200Response response = api.v1PropertyGetPost(propertyGet); - // TODO: test validations - } - -} diff --git a/src/test/java/org/openapitools/client/model/AvailabilitySearchTest.java b/src/test/java/org/openapitools/client/model/AvailabilitySearchTest.java deleted file mode 100644 index 9f22a03..0000000 --- a/src/test/java/org/openapitools/client/model/AvailabilitySearchTest.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.time.LocalDate; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for AvailabilitySearch - */ -public class AvailabilitySearchTest { - private final AvailabilitySearch model = new AvailabilitySearch(); - - /** - * Model tests for AvailabilitySearch - */ - @Test - public void testAvailabilitySearch() { - // TODO: test AvailabilitySearch - } - - /** - * Test the property 'adultCount' - */ - @Test - public void adultCountTest() { - // TODO: test adultCount - } - - /** - * Test the property 'childCount' - */ - @Test - public void childCountTest() { - // TODO: test childCount - } - - /** - * Test the property 'childAgeList' - */ - @Test - public void childAgeListTest() { - // TODO: test childAgeList - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'minLengthOfStay' - */ - @Test - public void minLengthOfStayTest() { - // TODO: test minLengthOfStay - } - - /** - * Test the property 'maxLengthOfStay' - */ - @Test - public void maxLengthOfStayTest() { - // TODO: test maxLengthOfStay - } - - /** - * Test the property 'locationName' - */ - @Test - public void locationNameTest() { - // TODO: test locationName - } - - /** - * Test the property 'locationType' - */ - @Test - public void locationTypeTest() { - // TODO: test locationType - } - - /** - * Test the property 'earliestArrival' - */ - @Test - public void earliestArrivalTest() { - // TODO: test earliestArrival - } - - /** - * Test the property 'latestReturn' - */ - @Test - public void latestReturnTest() { - // TODO: test latestReturn - } - - /** - * Test the property 'sort' - */ - @Test - public void sortTest() { - // TODO: test sort - } - - /** - * Test the property 'serviceList' - */ - @Test - public void serviceListTest() { - // TODO: test serviceList - } - - /** - * Test the property 'typeList' - */ - @Test - public void typeListTest() { - // TODO: test typeList - } - - /** - * Test the property 'unitTypeList' - */ - @Test - public void unitTypeListTest() { - // TODO: test unitTypeList - } - - /** - * Test the property 'unitAmenityList' - */ - @Test - public void unitAmenityListTest() { - // TODO: test unitAmenityList - } - - /** - * Test the property 'mealPlanList' - */ - @Test - public void mealPlanListTest() { - // TODO: test mealPlanList - } - -} diff --git a/src/test/java/org/openapitools/client/model/LocationSearchTest.java b/src/test/java/org/openapitools/client/model/LocationSearchTest.java deleted file mode 100644 index 35fea07..0000000 --- a/src/test/java/org/openapitools/client/model/LocationSearchTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for LocationSearch - */ -public class LocationSearchTest { - private final LocationSearch model = new LocationSearch(); - - /** - * Model tests for LocationSearch - */ - @Test - public void testLocationSearch() { - // TODO: test LocationSearch - } - - /** - * Test the property 'searchText' - */ - @Test - public void searchTextTest() { - // TODO: test searchText - } - -} diff --git a/src/test/java/org/openapitools/client/model/PropertyGetTest.java b/src/test/java/org/openapitools/client/model/PropertyGetTest.java deleted file mode 100644 index bf5aa47..0000000 --- a/src/test/java/org/openapitools/client/model/PropertyGetTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for PropertyGet - */ -public class PropertyGetTest { - private final PropertyGet model = new PropertyGet(); - - /** - * Model tests for PropertyGet - */ - @Test - public void testPropertyGet() { - // TODO: test PropertyGet - } - - /** - * Test the property 'propertyId' - */ - @Test - public void propertyIdTest() { - // TODO: test propertyId - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java deleted file mode 100644 index 96fbcf7..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistanceTest { - private final V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance model = new V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance - } - - /** - * Test the property 'value' - */ - @Test - public void valueTest() { - // TODO: test value - } - - /** - * Test the property 'unit' - */ - @Test - public void unitTest() { - // TODO: test unit - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java deleted file mode 100644 index cab59ab..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerDistance; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ -public class V1AvailabilitySearchPost200ResponseListInnerAttractionListInnerTest { - private final V1AvailabilitySearchPost200ResponseListInnerAttractionListInner model = new V1AvailabilitySearchPost200ResponseListInnerAttractionListInner(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerAttractionListInner() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerAttractionListInner - } - - /** - * Test the property 'typeCode' - */ - @Test - public void typeCodeTest() { - // TODO: test typeCode - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'distance' - */ - @Test - public void distanceTest() { - // TODO: test distance - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java deleted file mode 100644 index 6c40d0a..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ -public class V1AvailabilitySearchPost200ResponseListInnerGeoLocationTest { - private final V1AvailabilitySearchPost200ResponseListInnerGeoLocation model = new V1AvailabilitySearchPost200ResponseListInnerGeoLocation(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeoLocation - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerGeoLocation() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerGeoLocation - } - - /** - * Test the property 'lng' - */ - @Test - public void lngTest() { - // TODO: test lng - } - - /** - * Test the property 'lat' - */ - @Test - public void latTest() { - // TODO: test lat - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java deleted file mode 100644 index 6c8f2d3..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerGeoTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerGeoLocation; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeo - */ -public class V1AvailabilitySearchPost200ResponseListInnerGeoTest { - private final V1AvailabilitySearchPost200ResponseListInnerGeo model = new V1AvailabilitySearchPost200ResponseListInnerGeo(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerGeo - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerGeo() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerGeo - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java deleted file mode 100644 index 446a861..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ -public class V1AvailabilitySearchPost200ResponseListInnerLowestPriceTest { - private final V1AvailabilitySearchPost200ResponseListInnerLowestPrice model = new V1AvailabilitySearchPost200ResponseListInnerLowestPrice(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerLowestPrice - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerLowestPrice() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerLowestPrice - } - - /** - * Test the property 'amount' - */ - @Test - public void amountTest() { - // TODO: test amount - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'arrivalDate' - */ - @Test - public void arrivalDateTest() { - // TODO: test arrivalDate - } - - /** - * Test the property 'returnDate' - */ - @Test - public void returnDateTest() { - // TODO: test returnDate - } - - /** - * Test the property 'lengthOfStay' - */ - @Test - public void lengthOfStayTest() { - // TODO: test lengthOfStay - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java deleted file mode 100644 index 092e949..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ -public class V1AvailabilitySearchPost200ResponseListInnerMediaListInnerTest { - private final V1AvailabilitySearchPost200ResponseListInnerMediaListInner model = new V1AvailabilitySearchPost200ResponseListInnerMediaListInner(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInnerMediaListInner - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInnerMediaListInner() { - // TODO: test V1AvailabilitySearchPost200ResponseListInnerMediaListInner - } - - /** - * Test the property 'tagCodeList' - */ - @Test - public void tagCodeListTest() { - // TODO: test tagCodeList - } - - /** - * Test the property 'isMainImage' - */ - @Test - public void isMainImageTest() { - // TODO: test isMainImage - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'sortOrder' - */ - @Test - public void sortOrderTest() { - // TODO: test sortOrder - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerTest.java deleted file mode 100644 index f7404c2..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseListInnerTest.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerAttractionListInner; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerGeo; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerLowestPrice; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInnerMediaListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200ResponseListInner - */ -public class V1AvailabilitySearchPost200ResponseListInnerTest { - private final V1AvailabilitySearchPost200ResponseListInner model = new V1AvailabilitySearchPost200ResponseListInner(); - - /** - * Model tests for V1AvailabilitySearchPost200ResponseListInner - */ - @Test - public void testV1AvailabilitySearchPost200ResponseListInner() { - // TODO: test V1AvailabilitySearchPost200ResponseListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'unitSystem' - */ - @Test - public void unitSystemTest() { - // TODO: test unitSystem - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'uri' - */ - @Test - public void uriTest() { - // TODO: test uri - } - - /** - * Test the property 'serviceList' - */ - @Test - public void serviceListTest() { - // TODO: test serviceList - } - - /** - * Test the property 'categoryList' - */ - @Test - public void categoryListTest() { - // TODO: test categoryList - } - - /** - * Test the property 'uriPath' - */ - @Test - public void uriPathTest() { - // TODO: test uriPath - } - - /** - * Test the property 'text' - */ - @Test - public void textTest() { - // TODO: test text - } - - /** - * Test the property 'geo' - */ - @Test - public void geoTest() { - // TODO: test geo - } - - /** - * Test the property 'mediaList' - */ - @Test - public void mediaListTest() { - // TODO: test mediaList - } - - /** - * Test the property 'attractionList' - */ - @Test - public void attractionListTest() { - // TODO: test attractionList - } - - /** - * Test the property 'lowestPrice' - */ - @Test - public void lowestPriceTest() { - // TODO: test lowestPrice - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseTest.java b/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseTest.java deleted file mode 100644 index 11bfc9c..0000000 --- a/src/test/java/org/openapitools/client/model/V1AvailabilitySearchPost200ResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1AvailabilitySearchPost200ResponseListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1AvailabilitySearchPost200Response - */ -public class V1AvailabilitySearchPost200ResponseTest { - private final V1AvailabilitySearchPost200Response model = new V1AvailabilitySearchPost200Response(); - - /** - * Model tests for V1AvailabilitySearchPost200Response - */ - @Test - public void testV1AvailabilitySearchPost200Response() { - // TODO: test V1AvailabilitySearchPost200Response - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property '_list' - */ - @Test - public void _listTest() { - // TODO: test _list - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInnerTest.java b/src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInnerTest.java deleted file mode 100644 index b6aeb89..0000000 --- a/src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseListInnerTest.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1LocationSearchPost200ResponseListInner - */ -public class V1LocationSearchPost200ResponseListInnerTest { - private final V1LocationSearchPost200ResponseListInner model = new V1LocationSearchPost200ResponseListInner(); - - /** - * Model tests for V1LocationSearchPost200ResponseListInner - */ - @Test - public void testV1LocationSearchPost200ResponseListInner() { - // TODO: test V1LocationSearchPost200ResponseListInner - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'lowestPrice' - */ - @Test - public void lowestPriceTest() { - // TODO: test lowestPrice - } - - /** - * Test the property 'propertyId' - */ - @Test - public void propertyIdTest() { - // TODO: test propertyId - } - - /** - * Test the property 'propertyUriName' - */ - @Test - public void propertyUriNameTest() { - // TODO: test propertyUriName - } - - /** - * Test the property 'propertyUriPath' - */ - @Test - public void propertyUriPathTest() { - // TODO: test propertyUriPath - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseTest.java b/src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseTest.java deleted file mode 100644 index 63153c5..0000000 --- a/src/test/java/org/openapitools/client/model/V1LocationSearchPost200ResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1LocationSearchPost200ResponseListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1LocationSearchPost200Response - */ -public class V1LocationSearchPost200ResponseTest { - private final V1LocationSearchPost200Response model = new V1LocationSearchPost200Response(); - - /** - * Model tests for V1LocationSearchPost200Response - */ - @Test - public void testV1LocationSearchPost200Response() { - // TODO: test V1LocationSearchPost200Response - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property '_list' - */ - @Test - public void _listTest() { - // TODO: test _list - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java deleted file mode 100644 index 8e7cb5e..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerMealPlanListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerMealPlanListInner model = new V1PropertyGetPost200ResponseProductListInnerMealPlanListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerMealPlanListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerMealPlanListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java deleted file mode 100644 index 94e5a31..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner model = new V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'percentAfterReservation' - */ - @Test - public void percentAfterReservationTest() { - // TODO: test percentAfterReservation - } - - /** - * Test the property 'nightsAfterReservation' - */ - @Test - public void nightsAfterReservationTest() { - // TODO: test nightsAfterReservation - } - - /** - * Test the property 'deadlineDays' - */ - @Test - public void deadlineDaysTest() { - // TODO: test deadlineDays - } - - /** - * Test the property 'deadlineHours' - */ - @Test - public void deadlineHoursTest() { - // TODO: test deadlineHours - } - - /** - * Test the property 'percentAfterDeadline' - */ - @Test - public void percentAfterDeadlineTest() { - // TODO: test percentAfterDeadline - } - - /** - * Test the property 'nightsAfterDeadline' - */ - @Test - public void nightsAfterDeadlineTest() { - // TODO: test nightsAfterDeadline - } - - /** - * Test the property 'noShowPolicy' - */ - @Test - public void noShowPolicyTest() { - // TODO: test noShowPolicy - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java deleted file mode 100644 index 9398aff..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfoCancellationPolicyListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ -public class V1PropertyGetPost200ResponseProductListInnerPolicyInfoTest { - private final V1PropertyGetPost200ResponseProductListInnerPolicyInfo model = new V1PropertyGetPost200ResponseProductListInnerPolicyInfo(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerPolicyInfo - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerPolicyInfo() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerPolicyInfo - } - - /** - * Test the property 'checkInTime' - */ - @Test - public void checkInTimeTest() { - // TODO: test checkInTime - } - - /** - * Test the property 'checkOutTime' - */ - @Test - public void checkOutTimeTest() { - // TODO: test checkOutTime - } - - /** - * Test the property 'totalGuestCount' - */ - @Test - public void totalGuestCountTest() { - // TODO: test totalGuestCount - } - - /** - * Test the property 'cancellationPolicyList' - */ - @Test - public void cancellationPolicyListTest() { - // TODO: test cancellationPolicyList - } - - /** - * Test the property 'advanceBookingMin' - */ - @Test - public void advanceBookingMinTest() { - // TODO: test advanceBookingMin - } - - /** - * Test the property 'advanceBookingMax' - */ - @Test - public void advanceBookingMaxTest() { - // TODO: test advanceBookingMax - } - - /** - * Test the property 'petsPolicy' - */ - @Test - public void petsPolicyTest() { - // TODO: test petsPolicy - } - - /** - * Test the property 'prepaymentPolicy' - */ - @Test - public void prepaymentPolicyTest() { - // TODO: test prepaymentPolicy - } - - /** - * Test the property 'guaranteePolicy' - */ - @Test - public void guaranteePolicyTest() { - // TODO: test guaranteePolicy - } - - /** - * Test the property 'taxPolicyList' - */ - @Test - public void taxPolicyListTest() { - // TODO: test taxPolicyList - } - - /** - * Test the property 'feePolicyList' - */ - @Test - public void feePolicyListTest() { - // TODO: test feePolicyList - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java deleted file mode 100644 index c3f4bed..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceListTest { - private final V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList model = new V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList - } - - /** - * Test the property '_4' - */ - @Test - public void _4Test() { - // TODO: test _4 - } - - /** - * Test the property '_5' - */ - @Test - public void _5Test() { - // TODO: test _5 - } - - /** - * Test the property '_6' - */ - @Test - public void _6Test() { - // TODO: test _6 - } - - /** - * Test the property '_7' - */ - @Test - public void _7Test() { - // TODO: test _7 - } - - /** - * Test the property '_8' - */ - @Test - public void _8Test() { - // TODO: test _8 - } - - /** - * Test the property '_9' - */ - @Test - public void _9Test() { - // TODO: test _9 - } - - /** - * Test the property '_10' - */ - @Test - public void _10Test() { - // TODO: test _10 - } - - /** - * Test the property '_11' - */ - @Test - public void _11Test() { - // TODO: test _11 - } - - /** - * Test the property '_12' - */ - @Test - public void _12Test() { - // TODO: test _12 - } - - /** - * Test the property '_13' - */ - @Test - public void _13Test() { - // TODO: test _13 - } - - /** - * Test the property '_14' - */ - @Test - public void _14Test() { - // TODO: test _14 - } - - /** - * Test the property '_15' - */ - @Test - public void _15Test() { - // TODO: test _15 - } - - /** - * Test the property '_16' - */ - @Test - public void _16Test() { - // TODO: test _16 - } - - /** - * Test the property '_17' - */ - @Test - public void _17Test() { - // TODO: test _17 - } - - /** - * Test the property '_18' - */ - @Test - public void _18Test() { - // TODO: test _18 - } - - /** - * Test the property '_19' - */ - @Test - public void _19Test() { - // TODO: test _19 - } - - /** - * Test the property '_20' - */ - @Test - public void _20Test() { - // TODO: test _20 - } - - /** - * Test the property '_21' - */ - @Test - public void _21Test() { - // TODO: test _21 - } - - /** - * Test the property '_22' - */ - @Test - public void _22Test() { - // TODO: test _22 - } - - /** - * Test the property '_23' - */ - @Test - public void _23Test() { - // TODO: test _23 - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java deleted file mode 100644 index a116a44..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerPriceList; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner model = new V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner - } - - /** - * Test the property 'dateTime' - */ - @Test - public void dateTimeTest() { - // TODO: test dateTime - } - - /** - * Test the property 'occupancy' - */ - @Test - public void occupancyTest() { - // TODO: test occupancy - } - - /** - * Test the property 'priceList' - */ - @Test - public void priceListTest() { - // TODO: test priceList - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java deleted file mode 100644 index 218c54a..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerPricingListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerRatePlanListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerRatePlanListInner model = new V1PropertyGetPost200ResponseProductListInnerRatePlanListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRatePlanListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRatePlanListInner - } - - /** - * Test the property 'active' - */ - @Test - public void activeTest() { - // TODO: test active - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'propertyId' - */ - @Test - public void propertyIdTest() { - // TODO: test propertyId - } - - /** - * Test the property 'pricingList' - */ - @Test - public void pricingListTest() { - // TODO: test pricingList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java deleted file mode 100644 index b1cd333..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerRoomTypeListInnerTest { - private final V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner model = new V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInnerRoomTypeListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner - } - - /** - * Test the property 'typeCode' - */ - @Test - public void typeCodeTest() { - // TODO: test typeCode - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerTest.java deleted file mode 100644 index 0bf8d94..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseProductListInnerTest.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerMealPlanListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerPolicyInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRatePlanListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInnerRoomTypeListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProductListInner - */ -public class V1PropertyGetPost200ResponseProductListInnerTest { - private final V1PropertyGetPost200ResponseProductListInner model = new V1PropertyGetPost200ResponseProductListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponseProductListInner - */ - @Test - public void testV1PropertyGetPost200ResponseProductListInner() { - // TODO: test V1PropertyGetPost200ResponseProductListInner - } - - /** - * Test the property 'propertyId' - */ - @Test - public void propertyIdTest() { - // TODO: test propertyId - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'mealPlanList' - */ - @Test - public void mealPlanListTest() { - // TODO: test mealPlanList - } - - /** - * Test the property 'roomTypeList' - */ - @Test - public void roomTypeListTest() { - // TODO: test roomTypeList - } - - /** - * Test the property 'isLOSPricing' - */ - @Test - public void isLOSPricingTest() { - // TODO: test isLOSPricing - } - - /** - * Test the property 'isOBPPricing' - */ - @Test - public void isOBPPricingTest() { - // TODO: test isOBPPricing - } - - /** - * Test the property 'ratePlanList' - */ - @Test - public void ratePlanListTest() { - // TODO: test ratePlanList - } - - /** - * Test the property 'policyInfo' - */ - @Test - public void policyInfoTest() { - // TODO: test policyInfo - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java deleted file mode 100644 index cc42cc3..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyAwardListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyAwardListInner - */ -public class V1PropertyGetPost200ResponsePropertyAwardListInnerTest { - private final V1PropertyGetPost200ResponsePropertyAwardListInner model = new V1PropertyGetPost200ResponsePropertyAwardListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyAwardListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyAwardListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyAwardListInner - } - - /** - * Test the property 'provider' - */ - @Test - public void providerTest() { - // TODO: test provider - } - - /** - * Test the property 'rating' - */ - @Test - public void ratingTest() { - // TODO: test rating - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java deleted file mode 100644 index edfc045..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - */ -public class V1PropertyGetPost200ResponsePropertyCancellationGracePeriodTest { - private final V1PropertyGetPost200ResponsePropertyCancellationGracePeriod model = new V1PropertyGetPost200ResponsePropertyCancellationGracePeriod(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyCancellationGracePeriod() { - // TODO: test V1PropertyGetPost200ResponsePropertyCancellationGracePeriod - } - - /** - * Test the property 'hoursAfterBooking' - */ - @Test - public void hoursAfterBookingTest() { - // TODO: test hoursAfterBooking - } - - /** - * Test the property 'weeksBeforeCheckIn' - */ - @Test - public void weeksBeforeCheckInTest() { - // TODO: test weeksBeforeCheckIn - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java deleted file mode 100644 index 56d2b24..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - */ -public class V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInnerTest { - private final V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner model = new V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner - } - - /** - * Test the property 'addressLine' - */ - @Test - public void addressLineTest() { - // TODO: test addressLine - } - - /** - * Test the property 'propertyName' - */ - @Test - public void propertyNameTest() { - // TODO: test propertyName - } - - /** - * Test the property 'cityName' - */ - @Test - public void cityNameTest() { - // TODO: test cityName - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'state' - */ - @Test - public void stateTest() { - // TODO: test state - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerTest.java deleted file mode 100644 index c8294a2..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyContactListInnerTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyContactListInnerAddressListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInner - */ -public class V1PropertyGetPost200ResponsePropertyContactListInnerTest { - private final V1PropertyGetPost200ResponsePropertyContactListInner model = new V1PropertyGetPost200ResponsePropertyContactListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyContactListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyContactListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyContactListInner - } - - /** - * Test the property 'profileType' - */ - @Test - public void profileTypeTest() { - // TODO: test profileType - } - - /** - * Test the property 'addressList' - */ - @Test - public void addressListTest() { - // TODO: test addressList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java deleted file mode 100644 index 95250fc..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'quantity' - */ - @Test - public void quantityTest() { - // TODO: test quantity - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java deleted file mode 100644 index a8600d8..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java deleted file mode 100644 index 0923313..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java deleted file mode 100644 index 13b8e14..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerRoomAmenityListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTagListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner - } - - /** - * Test the property 'isMainImage' - */ - @Test - public void isMainImageTest() { - // TODO: test isMainImage - } - - /** - * Test the property 'sortOrder' - */ - @Test - public void sortOrderTest() { - // TODO: test sortOrder - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'tagList' - */ - @Test - public void tagListTest() { - // TODO: test tagList - } - - /** - * Test the property 'moderationLabelList' - */ - @Test - public void moderationLabelListTest() { - // TODO: test moderationLabelList - } - - /** - * Test the property 'detectionLabelList' - */ - @Test - public void detectionLabelListTest() { - // TODO: test detectionLabelList - } - - /** - * Test the property 'propertyAmenityList' - */ - @Test - public void propertyAmenityListTest() { - // TODO: test propertyAmenityList - } - - /** - * Test the property 'roomAmenityList' - */ - @Test - public void roomAmenityListTest() { - // TODO: test roomAmenityList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java deleted file mode 100644 index 099ade2..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property 'text' - */ - @Test - public void textTest() { - // TODO: test text - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java deleted file mode 100644 index dc5227f..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest.java +++ /dev/null @@ -1,167 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerAmenityListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMediaListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerMessageListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInnerTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner model = new V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner - } - - /** - * Test the property 'isActive' - */ - @Test - public void isActiveTest() { - // TODO: test isActive - } - - /** - * Test the property 'roomId' - */ - @Test - public void roomIdTest() { - // TODO: test roomId - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'typeName' - */ - @Test - public void typeNameTest() { - // TODO: test typeName - } - - /** - * Test the property 'descriptionText' - */ - @Test - public void descriptionTextTest() { - // TODO: test descriptionText - } - - /** - * Test the property 'imageList' - */ - @Test - public void imageListTest() { - // TODO: test imageList - } - - /** - * Test the property 'roomTypeCode' - */ - @Test - public void roomTypeCodeTest() { - // TODO: test roomTypeCode - } - - /** - * Test the property 'isNonSmoking' - */ - @Test - public void isNonSmokingTest() { - // TODO: test isNonSmoking - } - - /** - * Test the property 'roomTypeName' - */ - @Test - public void roomTypeNameTest() { - // TODO: test roomTypeName - } - - /** - * Test the property 'amenityList' - */ - @Test - public void amenityListTest() { - // TODO: test amenityList - } - - /** - * Test the property 'maxOccupancy' - */ - @Test - public void maxOccupancyTest() { - // TODO: test maxOccupancy - } - - /** - * Test the property 'messageList' - */ - @Test - public void messageListTest() { - // TODO: test messageList - } - - /** - * Test the property 'mediaList' - */ - @Test - public void mediaListTest() { - // TODO: test mediaList - } - - /** - * Test the property 'maxAdultOccupancy' - */ - @Test - public void maxAdultOccupancyTest() { - // TODO: test maxAdultOccupancy - } - - /** - * Test the property 'maxChildOccupancy' - */ - @Test - public void maxChildOccupancyTest() { - // TODO: test maxChildOccupancy - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java deleted file mode 100644 index 23d1a2c..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyFacilityInfoTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfoGuestRoomListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfo - */ -public class V1PropertyGetPost200ResponsePropertyFacilityInfoTest { - private final V1PropertyGetPost200ResponsePropertyFacilityInfo model = new V1PropertyGetPost200ResponsePropertyFacilityInfo(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyFacilityInfo - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyFacilityInfo() { - // TODO: test V1PropertyGetPost200ResponsePropertyFacilityInfo - } - - /** - * Test the property 'guestRoomList' - */ - @Test - public void guestRoomListTest() { - // TODO: test guestRoomList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDaTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDaTest.java deleted file mode 100644 index d1fba4c..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDaTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDa - */ -public class V1PropertyGetPost200ResponsePropertyGeoDaTest { - private final V1PropertyGetPost200ResponsePropertyGeoDa model = new V1PropertyGetPost200ResponsePropertyGeoDa(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDa - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoDa() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoDa - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java deleted file mode 100644 index d647475..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeLocationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDeLocation - */ -public class V1PropertyGetPost200ResponsePropertyGeoDeLocationTest { - private final V1PropertyGetPost200ResponsePropertyGeoDeLocation model = new V1PropertyGetPost200ResponsePropertyGeoDeLocation(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDeLocation - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoDeLocation() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoDeLocation - } - - /** - * Test the property 'lat' - */ - @Test - public void latTest() { - // TODO: test lat - } - - /** - * Test the property 'lng' - */ - @Test - public void lngTest() { - // TODO: test lng - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java deleted file mode 100644 index 73b8fbe..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoDeTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDe - */ -public class V1PropertyGetPost200ResponsePropertyGeoDeTest { - private final V1PropertyGetPost200ResponsePropertyGeoDe model = new V1PropertyGetPost200ResponsePropertyGeoDe(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoDe - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoDe() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoDe - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java deleted file mode 100644 index cbe70c4..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoEnTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoEn - */ -public class V1PropertyGetPost200ResponsePropertyGeoEnTest { - private final V1PropertyGetPost200ResponsePropertyGeoEn model = new V1PropertyGetPost200ResponsePropertyGeoEn(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoEn - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoEn() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoEn - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java deleted file mode 100644 index 5464bb2..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoNlTest.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDeLocation; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoNl - */ -public class V1PropertyGetPost200ResponsePropertyGeoNlTest { - private final V1PropertyGetPost200ResponsePropertyGeoNl model = new V1PropertyGetPost200ResponsePropertyGeoNl(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeoNl - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeoNl() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeoNl - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'formattedAddress' - */ - @Test - public void formattedAddressTest() { - // TODO: test formattedAddress - } - - /** - * Test the property 'placeId' - */ - @Test - public void placeIdTest() { - // TODO: test placeId - } - - /** - * Test the property 'locality' - */ - @Test - public void localityTest() { - // TODO: test locality - } - - /** - * Test the property 'administrativeAreaLevel3' - */ - @Test - public void administrativeAreaLevel3Test() { - // TODO: test administrativeAreaLevel3 - } - - /** - * Test the property 'administrativeAreaLevel1' - */ - @Test - public void administrativeAreaLevel1Test() { - // TODO: test administrativeAreaLevel1 - } - - /** - * Test the property 'stateCode' - */ - @Test - public void stateCodeTest() { - // TODO: test stateCode - } - - /** - * Test the property 'country' - */ - @Test - public void countryTest() { - // TODO: test country - } - - /** - * Test the property 'countryCode' - */ - @Test - public void countryCodeTest() { - // TODO: test countryCode - } - - /** - * Test the property 'postalCode' - */ - @Test - public void postalCodeTest() { - // TODO: test postalCode - } - - /** - * Test the property 'language' - */ - @Test - public void languageTest() { - // TODO: test language - } - - /** - * Test the property 'naturalFeature' - */ - @Test - public void naturalFeatureTest() { - // TODO: test naturalFeature - } - - /** - * Test the property 'establishment' - */ - @Test - public void establishmentTest() { - // TODO: test establishment - } - - /** - * Test the property 'sublocality' - */ - @Test - public void sublocalityTest() { - // TODO: test sublocality - } - - /** - * Test the property 'sublocalityLevel1' - */ - @Test - public void sublocalityLevel1Test() { - // TODO: test sublocalityLevel1 - } - - /** - * Test the property 'streetNumber' - */ - @Test - public void streetNumberTest() { - // TODO: test streetNumber - } - - /** - * Test the property 'route' - */ - @Test - public void routeTest() { - // TODO: test route - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoTest.java deleted file mode 100644 index 31a9f08..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGeoTest.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDa; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoDe; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoEn; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeoNl; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGeo - */ -public class V1PropertyGetPost200ResponsePropertyGeoTest { - private final V1PropertyGetPost200ResponsePropertyGeo model = new V1PropertyGetPost200ResponsePropertyGeo(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGeo - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGeo() { - // TODO: test V1PropertyGetPost200ResponsePropertyGeo - } - - /** - * Test the property 'de' - */ - @Test - public void deTest() { - // TODO: test de - } - - /** - * Test the property 'en' - */ - @Test - public void enTest() { - // TODO: test en - } - - /** - * Test the property 'da' - */ - @Test - public void daTest() { - // TODO: test da - } - - /** - * Test the property 'nl' - */ - @Test - public void nlTest() { - // TODO: test nl - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfoTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfoTest.java deleted file mode 100644 index 077478c..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyGuestInfoTest.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyGuestInfo - */ -public class V1PropertyGetPost200ResponsePropertyGuestInfoTest { - private final V1PropertyGetPost200ResponsePropertyGuestInfo model = new V1PropertyGetPost200ResponsePropertyGuestInfo(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyGuestInfo - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyGuestInfo() { - // TODO: test V1PropertyGetPost200ResponsePropertyGuestInfo - } - - /** - * Test the property 'guestAddressRequired' - */ - @Test - public void guestAddressRequiredTest() { - // TODO: test guestAddressRequired - } - - /** - * Test the property 'guestContactNumberRequired' - */ - @Test - public void guestContactNumberRequiredTest() { - // TODO: test guestContactNumberRequired - } - - /** - * Test the property 'guestNameListRequired' - */ - @Test - public void guestNameListRequiredTest() { - // TODO: test guestNameListRequired - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java deleted file mode 100644 index bc83baf..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ -public class V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInnerTest { - private final V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner model = new V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java deleted file mode 100644 index 20f82dc..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyMediaListInnerTest.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyMediaListInnerTagListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInner - */ -public class V1PropertyGetPost200ResponsePropertyMediaListInnerTest { - private final V1PropertyGetPost200ResponsePropertyMediaListInner model = new V1PropertyGetPost200ResponsePropertyMediaListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyMediaListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyMediaListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyMediaListInner - } - - /** - * Test the property 'isMainImage' - */ - @Test - public void isMainImageTest() { - // TODO: test isMainImage - } - - /** - * Test the property 'sortOrder' - */ - @Test - public void sortOrderTest() { - // TODO: test sortOrder - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'tagList' - */ - @Test - public void tagListTest() { - // TODO: test tagList - } - - /** - * Test the property 'moderationLabelList' - */ - @Test - public void moderationLabelListTest() { - // TODO: test moderationLabelList - } - - /** - * Test the property 'detectionLabelList' - */ - @Test - public void detectionLabelListTest() { - // TODO: test detectionLabelList - } - - /** - * Test the property 'propertyAmenityList' - */ - @Test - public void propertyAmenityListTest() { - // TODO: test propertyAmenityList - } - - /** - * Test the property 'roomAmenityList' - */ - @Test - public void roomAmenityListTest() { - // TODO: test roomAmenityList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java deleted file mode 100644 index 33304c7..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - */ -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicyTest { - private final V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy model = new V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy() { - // TODO: test V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy - } - - /** - * Test the property 'allowed' - */ - @Test - public void allowedTest() { - // TODO: test allowed - } - - /** - * Test the property 'byArrangement' - */ - @Test - public void byArrangementTest() { - // TODO: test byArrangement - } - - /** - * Test the property 'freeOfCharge' - */ - @Test - public void freeOfChargeTest() { - // TODO: test freeOfCharge - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java deleted file mode 100644 index 8d7e5b0..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner model = new V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner - } - - /** - * Test the property 'typeCode' - */ - @Test - public void typeCodeTest() { - // TODO: test typeCode - } - - /** - * Test the property 'percent' - */ - @Test - public void percentTest() { - // TODO: test percent - } - - /** - * Test the property 'chargeType' - */ - @Test - public void chargeTypeTest() { - // TODO: test chargeType - } - - /** - * Test the property 'chargeFrequencyCode' - */ - @Test - public void chargeFrequencyCodeTest() { - // TODO: test chargeFrequencyCode - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'conditionList' - */ - @Test - public void conditionListTest() { - // TODO: test conditionList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java deleted file mode 100644 index b8eb51e..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPolicyListInnerTest.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerPetsPolicy; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInnerTaxPolicyListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInner - */ -public class V1PropertyGetPost200ResponsePropertyPolicyListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPolicyListInner model = new V1PropertyGetPost200ResponsePropertyPolicyListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPolicyListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPolicyListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPolicyListInner - } - - /** - * Test the property 'checkInTime' - */ - @Test - public void checkInTimeTest() { - // TODO: test checkInTime - } - - /** - * Test the property 'checkOutTime' - */ - @Test - public void checkOutTimeTest() { - // TODO: test checkOutTime - } - - /** - * Test the property 'totalGuestCount' - */ - @Test - public void totalGuestCountTest() { - // TODO: test totalGuestCount - } - - /** - * Test the property 'cancellationPolicyList' - */ - @Test - public void cancellationPolicyListTest() { - // TODO: test cancellationPolicyList - } - - /** - * Test the property 'advanceBookingMin' - */ - @Test - public void advanceBookingMinTest() { - // TODO: test advanceBookingMin - } - - /** - * Test the property 'advanceBookingMax' - */ - @Test - public void advanceBookingMaxTest() { - // TODO: test advanceBookingMax - } - - /** - * Test the property 'petsPolicy' - */ - @Test - public void petsPolicyTest() { - // TODO: test petsPolicy - } - - /** - * Test the property 'prepaymentPolicy' - */ - @Test - public void prepaymentPolicyTest() { - // TODO: test prepaymentPolicy - } - - /** - * Test the property 'guaranteePolicy' - */ - @Test - public void guaranteePolicyTest() { - // TODO: test guaranteePolicy - } - - /** - * Test the property 'taxPolicyList' - */ - @Test - public void taxPolicyListTest() { - // TODO: test taxPolicyList - } - - /** - * Test the property 'feePolicyList' - */ - @Test - public void feePolicyListTest() { - // TODO: test feePolicyList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java deleted file mode 100644 index c1a57d2..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner model = new V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java deleted file mode 100644 index 3295d19..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner model = new V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner - } - - /** - * Test the property 'exists' - */ - @Test - public void existsTest() { - // TODO: test exists - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java deleted file mode 100644 index a6ab163..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoLocationTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoLocation model = new V1PropertyGetPost200ResponsePropertyPropertyInfoLocation(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoLocation() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoLocation - } - - /** - * Test the property 'latitude' - */ - @Test - public void latitudeTest() { - // TODO: test latitude - } - - /** - * Test the property 'longitude' - */ - @Test - public void longitudeTest() { - // TODO: test longitude - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java deleted file mode 100644 index dde8617..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInnerTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner model = new V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property 'text' - */ - @Test - public void textTest() { - // TODO: test text - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java deleted file mode 100644 index d05b621..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyPropertyInfoTest.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoAcceptedPaymentListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoCategoryListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoLocation; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfoMessageListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfo - */ -public class V1PropertyGetPost200ResponsePropertyPropertyInfoTest { - private final V1PropertyGetPost200ResponsePropertyPropertyInfo model = new V1PropertyGetPost200ResponsePropertyPropertyInfo(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyPropertyInfo - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyPropertyInfo() { - // TODO: test V1PropertyGetPost200ResponsePropertyPropertyInfo - } - - /** - * Test the property 'unitCount' - */ - @Test - public void unitCountTest() { - // TODO: test unitCount - } - - /** - * Test the property 'messageList' - */ - @Test - public void messageListTest() { - // TODO: test messageList - } - - /** - * Test the property 'categoryList' - */ - @Test - public void categoryListTest() { - // TODO: test categoryList - } - - /** - * Test the property 'languageList' - */ - @Test - public void languageListTest() { - // TODO: test languageList - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - - /** - * Test the property 'acceptedPaymentList' - */ - @Test - public void acceptedPaymentListTest() { - // TODO: test acceptedPaymentList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java deleted file mode 100644 index 040ecc7..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordCreatedTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordCreated - */ -public class V1PropertyGetPost200ResponsePropertyRecordCreatedTest { - private final V1PropertyGetPost200ResponsePropertyRecordCreated model = new V1PropertyGetPost200ResponsePropertyRecordCreated(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordCreated - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyRecordCreated() { - // TODO: test V1PropertyGetPost200ResponsePropertyRecordCreated - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - - /** - * Test the property 'tenant' - */ - @Test - public void tenantTest() { - // TODO: test tenant - } - - /** - * Test the property 'role' - */ - @Test - public void roleTest() { - // TODO: test role - } - - /** - * Test the property 'time' - */ - @Test - public void timeTest() { - // TODO: test time - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java deleted file mode 100644 index 5da3967..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyRecordModifiedTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordModified - */ -public class V1PropertyGetPost200ResponsePropertyRecordModifiedTest { - private final V1PropertyGetPost200ResponsePropertyRecordModified model = new V1PropertyGetPost200ResponsePropertyRecordModified(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyRecordModified - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyRecordModified() { - // TODO: test V1PropertyGetPost200ResponsePropertyRecordModified - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - - /** - * Test the property 'tenant' - */ - @Test - public void tenantTest() { - // TODO: test tenant - } - - /** - * Test the property 'role' - */ - @Test - public void roleTest() { - // TODO: test role - } - - /** - * Test the property 'time' - */ - @Test - public void timeTest() { - // TODO: test time - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java deleted file mode 100644 index 8f5176f..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyServiceListInnerTest.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyServiceListInner - */ -public class V1PropertyGetPost200ResponsePropertyServiceListInnerTest { - private final V1PropertyGetPost200ResponsePropertyServiceListInner model = new V1PropertyGetPost200ResponsePropertyServiceListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyServiceListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyServiceListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyServiceListInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'price' - */ - @Test - public void priceTest() { - // TODO: test price - } - - /** - * Test the property 'exists' - */ - @Test - public void existsTest() { - // TODO: test exists - } - - /** - * Test the property 'included' - */ - @Test - public void includedTest() { - // TODO: test included - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'featureList' - */ - @Test - public void featureListTest() { - // TODO: test featureList - } - - /** - * Test the property 'typeList' - */ - @Test - public void typeListTest() { - // TODO: test typeList - } - - /** - * Test the property 'itemList' - */ - @Test - public void itemListTest() { - // TODO: test itemList - } - - /** - * Test the property 'operationTimeList' - */ - @Test - public void operationTimeListTest() { - // TODO: test operationTimeList - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTest.java deleted file mode 100644 index 9687360..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTest.java +++ /dev/null @@ -1,202 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyAwardListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyCancellationGracePeriod; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyContactListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyFacilityInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGeo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyGuestInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyMediaListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPolicyListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyPropertyInfo; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyRecordCreated; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyRecordModified; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyServiceListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyTransaction; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponseProperty - */ -public class V1PropertyGetPost200ResponsePropertyTest { - private final V1PropertyGetPost200ResponseProperty model = new V1PropertyGetPost200ResponseProperty(); - - /** - * Model tests for V1PropertyGetPost200ResponseProperty - */ - @Test - public void testV1PropertyGetPost200ResponseProperty() { - // TODO: test V1PropertyGetPost200ResponseProperty - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'recordCreated' - */ - @Test - public void recordCreatedTest() { - // TODO: test recordCreated - } - - /** - * Test the property 'recordModified' - */ - @Test - public void recordModifiedTest() { - // TODO: test recordModified - } - - /** - * Test the property 'propertyInfo' - */ - @Test - public void propertyInfoTest() { - // TODO: test propertyInfo - } - - /** - * Test the property 'guestInfo' - */ - @Test - public void guestInfoTest() { - // TODO: test guestInfo - } - - /** - * Test the property 'awardList' - */ - @Test - public void awardListTest() { - // TODO: test awardList - } - - /** - * Test the property 'contactList' - */ - @Test - public void contactListTest() { - // TODO: test contactList - } - - /** - * Test the property 'facilityInfo' - */ - @Test - public void facilityInfoTest() { - // TODO: test facilityInfo - } - - /** - * Test the property 'mediaList' - */ - @Test - public void mediaListTest() { - // TODO: test mediaList - } - - /** - * Test the property 'geo' - */ - @Test - public void geoTest() { - // TODO: test geo - } - - /** - * Test the property 'refinementDate' - */ - @Test - public void refinementDateTest() { - // TODO: test refinementDate - } - - /** - * Test the property 'published' - */ - @Test - public void publishedTest() { - // TODO: test published - } - - /** - * Test the property 'policyList' - */ - @Test - public void policyListTest() { - // TODO: test policyList - } - - /** - * Test the property 'uri' - */ - @Test - public void uriTest() { - // TODO: test uri - } - - /** - * Test the property 'transaction' - */ - @Test - public void transactionTest() { - // TODO: test transaction - } - - /** - * Test the property 'cancellationGracePeriod' - */ - @Test - public void cancellationGracePeriodTest() { - // TODO: test cancellationGracePeriod - } - - /** - * Test the property 'serviceList' - */ - @Test - public void serviceListTest() { - // TODO: test serviceList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java deleted file mode 100644 index f89b96c..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ -public class V1PropertyGetPost200ResponsePropertyTransactionExternalListInnerTest { - private final V1PropertyGetPost200ResponsePropertyTransactionExternalListInner model = new V1PropertyGetPost200ResponsePropertyTransactionExternalListInner(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyTransactionExternalListInner() { - // TODO: test V1PropertyGetPost200ResponsePropertyTransactionExternalListInner - } - - /** - * Test the property 'languageCode' - */ - @Test - public void languageCodeTest() { - // TODO: test languageCode - } - - /** - * Test the property 'text' - */ - @Test - public void textTest() { - // TODO: test text - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java deleted file mode 100644 index d107657..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponsePropertyTransactionTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponsePropertyTransactionExternalListInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200ResponsePropertyTransaction - */ -public class V1PropertyGetPost200ResponsePropertyTransactionTest { - private final V1PropertyGetPost200ResponsePropertyTransaction model = new V1PropertyGetPost200ResponsePropertyTransaction(); - - /** - * Model tests for V1PropertyGetPost200ResponsePropertyTransaction - */ - @Test - public void testV1PropertyGetPost200ResponsePropertyTransaction() { - // TODO: test V1PropertyGetPost200ResponsePropertyTransaction - } - - /** - * Test the property 'method' - */ - @Test - public void methodTest() { - // TODO: test method - } - - /** - * Test the property 'contactTypeList' - */ - @Test - public void contactTypeListTest() { - // TODO: test contactTypeList - } - - /** - * Test the property 'externalList' - */ - @Test - public void externalListTest() { - // TODO: test externalList - } - -} diff --git a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseTest.java b/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseTest.java deleted file mode 100644 index bcf358f..0000000 --- a/src/test/java/org/openapitools/client/model/V1PropertyGetPost200ResponseTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * LODGEA OTA Service API Reference - * # Introduction Whether you own your property or not, LODGEA provides the platform to provide accommodation services to your consumers through a variety of connectivity options and business models. LODGEA provides a flexible and open platform for many use cases. This API allows you to search for availabilities or locations and get all available information about a specific property. # API Endpoint ``` https://api.eu.lodgea.io/v1/ ``` The API is only accessible via HTTPS, the base URL is https://api.eu.lodgea.io/, and the current version is v1 which results in the base URL for all requests: https://api.eu.lodgea.io/v1/. # Datacenters The API is only accessible via HTTPS and the current version is v1, which results in a URL like: https://api.lodgea.io/v1/, depending on the datacenter. ## EU Datacenter ``` https://api.eu.lodgea.io/v1/ ``` This is the default datacenter. ## US Datacenter ``` https://api.us.lodgea.io/v2/ ``` ## German Datacenter ``` https://api.uat.lodgea.io/v2/ ``` # Usage [curl](http://curl.haxx.se/) is used primarily to send requests to LODGEA in the [Usage examples](#Usage examples) in this Readme. For [Postman](https://www.postman.com/), the OpenAPI YAML definition can be imported as collection over the `Import` button. In the `variables` menu under `Collections`, you can set the `baseURL` value to the specific region. The API key can be set under each request in the `Authorization` tab. There are SDKs for many popular languages available on GitHub: - https://github.com/lodgea/lodgea-java - https://github.com/lodgea/lodgea-js - https://github.com/lodgea/lodgea-php - https://github.com/lodgea/lodgea-csharp - https://github.com/lodgea/lodgea-python # Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/), that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site. # Authentication The LODGEA API offers authentication via API Key. Please create your own API Key in the management UI. Then add your key as `apiKey` header to the request. If you receive a `401` response, make sure your filled key is valid. # Usage examples Learn how to work more efficiently with LODGEA API v1 with these workflow-oriented examples. ## Get Property by ID ``` POST /v1/property/get ``` Get all information about a specific property by its ID. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ------------------------- | ------------------- | | `propertyId` required | `string` | ID of the property to get | strandresidenz-sylt | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/property/get' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"propertyId\": \"strandresidenz-sylt\" }' ``` ## Search for Location ``` POST /v1/location/search ``` Get a location by search text in free-text form. #### Parameters | Name | Type | Description | Example | | --------------------- | -------- | ----------- | ------------------- | | `searchText` required | `string` | Search text | Hotel Stadt Hamburg | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/location/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"searchText\": \"Hotel Stadt Hamburg\" }' ``` ## Search for Availability ``` POST /v1/availability/search ``` Get availability information based on search criteria. All parameter codes are listed in the [appendix](#Appendix). #### Parameters | Name | Type | Description | Example | | -------------------------- | -------------- | ------------------------------------------------------------ | ---------- | | `adultCount` optional | integer | Number of adults | 2 | | `childCount` optional | integer | Number of childs | 1 | | `childAgeList` optional | array | Age of the childs as integer array | [3] | | `currencyCode` optional | string | Currency code, see [currencyCode](##CurrencyCode) | EUR | | `minLengthOfStay` optional | integer | Minimum days of stay | 1 | | `maxLengthOfStay` optional | integer | Maximum days of stay | 27 | | `locationName` optional | string | Name of the location | Sylt | | `locationType` optional | string | Type of the location, see [locationType](##locationType) | locality | | `earliestArrival` optional | date | Earliest arrival date, format is: YYYY-MM-DD | 2022-09-01 | | `latestReturn` optional | date | Latest return date, format is: YYYY-MM-DD | 2022-09-08 | | `sort` optional | string | Sort order, either `quality` or `price` | quality | | `serviceList` optional | array | List of service codes, see [serviceCode](##serviceCode) | [242] | | `typeList` optional | array | List of type codes, see [typeCode](##typeCode) | [20] | | `unitTypeList` optional | array | List of unit type codes, see [unitTypeCode](##unitTypeCode) | [9] | | `unitAmenityList` optional | array | List of unit amenity codes, see [unitAmenityCode](##unitAmenityCode) | [50] | | `mealPlanList` optional | array | List of meal plan codes, see [mealPlanCode](##mealPlanCode) | [19] | #### Example Request ``` curl --location --request POST 'https://api.eu.lodgea.io/v1/availability/search' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'apiKey: ' \\ --data-raw '{ \"adultCount\": 2, \"childCount\": 1, \"childAgeList\": [ 3 ], \"currencyCode\": \"EUR\", \"minLengthOfStay\": 1, \"maxLengthOfStay\": 27, \"locationName\": \"Sylt\", \"locationType\": \"locality\", \"earliestArrival\": \"2022-09-01\", \"latestReturn\": \"2022-09-08\", \"sort\": \"quality\", \"serviceList\": [ 242 ], \"typeList\": [ 20 ], \"unitTypeList\": [ 9 ], \"unitAmenityList\": [ 50 ], \"mealPlanList\": [ 19 ] }' ``` # Appendix ## Parameters ### currencyCode | Code | Name | | ---- | ---- | | 1 | EUR | | 2 | GBP | | 3 | AED | | 4 | USD | | 5 | INR | | 6 | AUD | | 7 | ARS | | 8 | EGP | | 9 | KWD | | 10 | RUB | | 11 | MYR | | 12 | SAR | | 13 | AZN | | 14 | FJD | | 15 | MXN | | 16 | SGD | | 17 | BHD | | 18 | GEL | | 19 | MDL | | 20 | ZAR | | 21 | BRL | | 22 | HKD | | 23 | NAD | | 24 | SEK | | 25 | BGN | | 26 | HUF | | 27 | TWD | | 28 | CHF | | 29 | CAD | | 30 | NZD | | 31 | THB | | 32 | XOF | | 33 | IDR | | 34 | NOK | | 35 | TRY | | 36 | CLP | | 37 | ILS | | 38 | OMR | | 39 | CNY | | 40 | JPY | | 41 | PLN | | 42 | COP | | 43 | JOD | | 44 | UAH | | 45 | CZK | | 46 | KZT | | 47 | QAR | | 48 | DKK | | 49 | KRW | | 50 | RON | ### locationType | Type | Name | Example | | --------------------------- | --------------------------- | ----------------------------------- | | formatted_address | Formatted Address | Nordhedig 20 25980 Sylt Deutschland | | place_id | Place ID | ChIJVaxqTevetEcRyfs8PGHK6mw | | locality | Locality | Sylt | | administrative_area_level_1 | Administrative Area Level 1 | Schleswig-Holstein | | administrative_area_level_3 | Administrative Area Level 3 | Nordfriesland | | state_code | State Code | SH | | country | Country | Deutschland | | country_code | Country Code | DE | | postal_code | Postal Code | 25980 | | language | Language | de | | natural_feature | Natural Feature | Sylt | | establishment | Establishment | Sylt | | sublocality | Sublocality | Westerland | | sublocality_level_1 | Sublocality Level 1 | Westerland | | streetNumber | Street Number | 20 | | route | Route | Nordhedig | ### serviceCode | Code | Name | | ----- | ------------------------------------------------------- | | 1 | 24-hour front desk | | 2 | 24-hour room service | | 3 | 24-hour security | | 4 | Adjoining rooms | | 5 | Air conditioning | | 6 | Airline desk | | 7 | ATM/Cash machine | | 8 | Baby sitting | | 9 | BBQ/Picnic area | | 10 | Bilingual staff | | 11 | Bookstore | | 12 | Boutiques/stores | | 13 | Brailed elevators | | 14 | Business library | | 15 | Car rental desk | | 16 | Casino | | 17 | Check cashing policy | | 18 | Check-in kiosk | | 19 | Cocktail lounge | | 20 | Coffee shop | | 21 | Coin operated laundry | | 22 | Concierge desk | | 23 | Concierge floor | | 24 | Conference facilities | | 25 | Courtyard | | 26 | Currency exchange | | 27 | Desk with electrical outlet | | 28 | Doctor on call | | 29 | Door man | | 30 | Driving range | | 31 | Drugstore/pharmacy | | 32 | Duty free shop | | 33 | Elevators | | 34 | Executive floor | | 35 | Exercise gym | | 36 | Express check-in | | 37 | Express check-out | | 38 | Family plan | | 39 | Florist | | 40 | Folios | | 41 | Free airport shuttle | | 42 | Free parking | | 43 | Free transportation | | 44 | Game room | | 45 | Gift/News stand | | 46 | Hairdresser/barber | | 47 | Accessible facilities | | 48 | Health club | | 49 | Heated pool | | 50 | Housekeeping - daily | | 51 | Housekeeping - weekly | | 52 | Ice machine | | 53 | Indoor parking | | 54 | Indoor pool | | 55 | Jacuzzi | | 56 | Jogging track | | 57 | Kennels | | 58 | Laundry/Valet service | | 59 | Liquor store | | 60 | Live entertainment | | 61 | Massage services | | 62 | Nightclub | | 63 | Off-Site parking | | 64 | On-Site parking | | 65 | Outdoor parking | | 66 | Outdoor pool | | 67 | Package/Parcel services | | 68 | Parking | | 69 | Photocopy center | | 70 | Playground | | 71 | Pool | | 72 | Poolside snack bar | | 73 | Public address system | | 74 | Ramp access | | 75 | Recreational vehicle parking | | 76 | Restaurant | | 77 | Room service | | 78 | Safe deposit box | | 79 | Sauna | | 80 | Security | | 81 | Shoe shine stand | | 82 | Shopping mall | | 83 | Solarium | | 84 | Spa | | 85 | Sports bar | | 86 | Steam bath | | 87 | Storage space | | 88 | Sundry/Convenience store | | 89 | Technical concierge | | 90 | Theatre desk | | 91 | Tour/sightseeing desk | | 92 | Translation services | | 93 | Travel agency | | 94 | Truck parking | | 95 | Valet cleaning | | 96 | Dry cleaning | | 97 | Valet parking | | 98 | Vending machines | | 99 | Video tapes | | 100 | Wakeup service | | 101 | Wheelchair access | | 102 | Whirlpool | | 103 | Multilingual staff | | 104 | Wedding services | | 105 | Banquet facilities | | 106 | Bell staff/porter | | 107 | Beauty shop/salon | | 108 | Complimentary self service laundry | | 109 | Direct dial telephone | | 110 | Female traveler room/floor | | 111 | Pharmacy | | 112 | Stables | | 113 | 120 AC | | 114 | 120 DC | | 115 | 220 AC | | 116 | Accessible parking | | 117 | 220 DC | | 118 | Barbeque grills | | 119 | Women's clothing | | 120 | Men's clothing | | 121 | Children's clothing | | 122 | Shops and commercial services | | 123 | Video games | | 124 | Sports bar open for lunch | | 125 | Sports bar open for dinner | | 126 | Room service - full menu | | 127 | Room service - limited menu | | 128 | Room service - limited hours | | 129 | Valet same day dry cleaning | | 130 | Body scrub | | 131 | Body wrap | | 132 | Public area air conditioned | | 133 | Efolio available to company | | 134 | Individual Efolio available | | 135 | Video review billing | | 136 | Butler service | | 137 | Complimentary in-room coffee or tea | | 138 | Complimentary buffet breakfast | | 139 | Complimentary cocktails | | 140 | Complimentary coffee in lobby | | 141 | Complimentary continental breakfast | | 142 | Complimentary full american breakfast | | 143 | Dinner delivery service from local restaurant | | 144 | Complimentary newspaper delivered to room | | 145 | Complimentary newspaper in lobby | | 146 | Complimentary shoeshine | | 147 | Evening reception | | 148 | Front desk | | 149 | Grocery shopping service available | | 150 | Halal food available | | 151 | Kosher food available | | 152 | Limousine service | | 153 | Managers reception | | 154 | Medical Facilities Service | | 155 | Telephone jack adaptor available | | 156 | All-inclusive meal plan | | 157 | Buffet breakfast | | 158 | Communal bar area | | 159 | Continental breakfast | | 160 | Full meal plan | | 161 | Full american breakfast | | 162 | Meal plan available | | 163 | Modified american meal plan | | 164 | Food and beverage outlets | | 165 | Lounges/bars | | 166 | Barber shop | | 167 | Video checkout | | 168 | Onsite laundry | | 169 | 24-hour food & beverage kiosk | | 170 | Concierge lounge | | 171 | Parking fee managed by hotel | | 172 | Transportation | | 173 | Breakfast served in restaurant | | 174 | Lunch served in restaurant | | 175 | Dinner served in restaurant | | 176 | Full service housekeeping | | 177 | Limited service housekeeping | | 178 | High speed internet access for laptop in public areas | | 179 | Wireless internet connection in public areas | | 180 | Additional services/amenities/facilities on property | | 181 | Transportation services - local area | | 182 | Transportation services - local office | | 183 | DVD/video rental | | 184 | Parking lot | | 185 | Parking deck | | 186 | Street side parking | | 187 | Cocktail lounge with entertainment | | 188 | Cocktail lounge with light fare | | 189 | Motorcycle parking | | 190 | Phone services | | 191 | Ballroom | | 192 | Bus parking | | 193 | Children's play area | | 194 | Children's nursery | | 195 | Disco | | 196 | Early check-in | | 197 | Locker room | | 198 | Non-smoking rooms (generic) | | 199 | Train access | | 200 | Aerobics instruction | | 201 | Baggage hold | | 202 | Bicycle rentals | | 203 | Dietician | | 204 | Late check-out available | | 205 | Pet-sitting services | | 206 | Prayer mats | | 207 | Sports trainer | | 208 | Turndown service | | 209 | DVDs/videos - children | | 210 | Bank | | 211 | Lobby coffee service | | 212 | Banking services | | 213 | Stairwells | | 214 | Pet amenities available | | 215 | Exhibition/convention floor | | 216 | Long term parking | | 217 | Children not allowed | | 218 | Children welcome | | 219 | Courtesy car | | 220 | Hotel does not provide pornographic films/TV | | 221 | Hotspots | | 222 | Free high speed internet connection | | 223 | Internet services | | 224 | Pets allowed | | 225 | Gourmet highlights | | 226 | Catering services | | 227 | Complimentary breakfast | | 228 | Business center | | 229 | Business services | | 230 | Secured parking | | 231 | Racquetball | | 232 | Snow sports | | 233 | Tennis court | | 234 | Water sports | | 235 | Child programs | | 236 | Golf | | 237 | Horseback riding | | 238 | Oceanfront | | 239 | Beachfront | | 240 | Hair dryer | | 241 | Ironing board | | 242 | Heated guest rooms | | 243 | Toilet | | 244 | Parlor | | 245 | Video game player | | 246 | Thalassotherapy | | 247 | Private dining for groups | | 248 | Hearing impaired services | | 249 | Carryout breakfast | | 250 | Deluxe continental breakfast | | 251 | Hot continental breakfast | | 252 | Hot breakfast | | 253 | Private pool | | 254 | Connecting rooms | | 255 | Data port | | 256 | Exterior corridors | | 257 | Gulf view | | 258 | Accessible rooms | | 259 | High speed internet access | | 260 | Interior corridors | | 261 | High speed wireless | | 262 | Kitchenette | | 263 | Private bath or shower | | 264 | Fire safety compliant | | 265 | Welcome drink | | 266 | Boarding pass print-out available | | 267 | Printing services available | | 268 | All public areas non-smoking | | 269 | Meeting rooms | | 270 | Movies in room | | 271 | Secretarial service | | 272 | Snow skiing | | 273 | Water skiing | | 274 | Fax service | | 275 | Great room | | 276 | Lobby | | 277 | Multiple phone lines billed separately | | 278 | Umbrellas | | 279 | Gas station | | 280 | Grocery store | | 281 | 24-hour coffee shop | | 282 | Airport shuttle service | | 283 | Luggage service | | 284 | Piano Bar | | 285 | VIP security | | 286 | Complimentary wireless internet | | 287 | Concierge breakfast | | 288 | Same gender floor | | 289 | Children programs | | 290 | Building meets local, state and country building codes | | 291 | Internet browser On TV | | 292 | Newspaper | | 293 | Parking - controlled access gates to enter parking area | | 294 | Hotel safe deposit box (not room safe box) | | 295 | Storage space available – fee | | 296 | Type of entrances to guest rooms | | 297 | Beverage/cocktail | | 298 | Cell phone rental | | 299 | Coffee/tea | | 300 | Early check in guarantee | | 301 | Food and beverage discount | | 302 | Late check out guarantee | | 303 | Room upgrade confirmed | | 304 | Room upgrade on availability | | 305 | Shuttle to local businesses | | 306 | Shuttle to local attractions | | 307 | Social hour | | 308 | Video billing | | 309 | Welcome gift | | 310 | Hypoallergenic rooms | | 311 | Room air filtration | | 312 | Smoke-free property | | 313 | Water purification system in use | | 314 | Poolside service | | 315 | Clothing store | | 316 | Electric car charging stations | | 317 | Office rental | | 318 | Piano | | 319 | Incoming fax | | 320 | Outgoing fax | | 321 | Semi-private space | | 322 | Loading dock | | 323 | Baby kit | | 324 | Children's breakfast | | 325 | Cloakroom service | | 326 | Coffee lounge | | 327 | Events ticket service | | 328 | Late check-in | | 329 | Limited parking | | 330 | Outdoor summer bar/café | | 331 | No parking available | | 332 | Beer garden | | 333 | Garden lounge bar | | 334 | Summer terrace | | 335 | Winter terrace | | 336 | Roof terrace | | 337 | Beach bar | | 338 | Helicopter service | | 339 | Ferry | | 340 | Tapas bar | | 341 | Café bar | | 342 | Snack bar | | 343 | Guestroom wired internet | | 344 | Guestroom wireless internet | | 345 | Fitness center | | 348 | Health and beauty services | | 349 | Mobile/Digital Check-in | | 350 | Mobile/Digital Check-out | | 351 | Choose a room | | 5000 | Breakfast in the room | | 5001 | Public transport tickets | | 5002 | Bikes available (free) | | 5003 | Outdoor furniture | | 5004 | Outdoor fireplace | | 5005 | Garden | | 5006 | Terrace | | 5007 | Sun terrace | | 5008 | Chapel/shrine | | 5009 | Shared lounge/TV area | | 5010 | Ironing service | | 5011 | Trouser press | | 5012 | Designated smoking area | | 5013 | Pet basket | | 5014 | Pet bowls | | 5015 | Beach | | 5016 | Bowling | | 5017 | Darts | | 5018 | Fishing | | 5020 | Hiking | | 5021 | Minigolf | | 5022 | Snorkeling | | 5023 | Squash | | 5024 | Windsurfing | | 5025 | Billiard | | 5026 | Table tennis | | 5027 | Canoeing | | 5028 | Ski-to-door access | | 5029 | Diving | | 5030 | Tennis equipment | | 5031 | Badminton equipment | | 5032 | Cycling | | 5033 | Ski storage | | 5034 | Ski school | | 5035 | Ski equipment hire (on site) | | 5036 | Ski pass vendor | | 5037 | Private beach area | | 5039 | Rooms/Facilities for Disabled | | 5040 | Hair dresser-beautician | | 5041 | Family Rooms | | 5042 | Viproom facilities | | 5043 | Bridal Suite | | 5044 | Spa & Wellness Centre | | 5045 | Karaoke | | 5046 | Soundproof-rooms | | 5047 | Packed Lunches | | 5048 | Ticket service | | 5049 | Entertainment Staff | | 5050 | Private Check-in/Check-out | | 5051 | Special Diet Menus (on request) | | 5052 | Vending Machine (drinks) | | 5053 | Hot Spring Bath | | 5054 | Kids' club | | 5055 | Minimarket on site | | 5056 | Water park | | 5057 | Adult only | | 5058 | Open-air bath | | 5059 | Public bath | | 5060 | Water slide | | 5061 | Board games/puzzles | | 5062 | Book/DVD/Music library for children | | 5063 | Indoor play area | | 5064 | Kids' outdoor play equipment | | 5065 | Baby safety gates | | 5066 | Children television networks | | 5067 | Kid meals | | 5068 | Kid-friendly buffet | | 5069 | Pool towels | | 5070 | Wine/Champagne | | 5071 | Bottle of water | | 5072 | Fruits | | 5073 | Chocolate/Cookies | | 5074 | Strollers | | 5075 | On-site coffee house | | 5076 | Sun loungers or beach chairs | | 5077 | Sun umbrellas | | 5078 | Picnic area | | 5079 | Beauty Services | | 5080 | Spa Facilities | | 5081 | Steam room | | 5082 | Spa lounge/relaxation area | | 5083 | Foot bath | | 5084 | Spa/wellness packages | | 5085 | Massage chair | | 5086 | Fitness | | 5087 | Yoga classes | | 5088 | Fitness classes | | 5089 | Personal trainer | | 5090 | Fitness/spa locker rooms | | 5091 | Kids pool | | 5092 | Shuttle Service | | 5093 | Temporary art galleries | | 5094 | Pub crawls | | 5095 | Stand-up comedy | | 5096 | Movie nights | | 5097 | Walking tours | | 5098 | Bike tours | | 5099 | Themed dinner nights | | 5100 | Happy hour | | 5101 | Tour or class about local culture | | 5102 | Cooking class | | 5103 | Live music/performance | | 5104 | Live sports events (broadcast) | | 5105 | Archery | | 5106 | Aerobics | | 5107 | Bingo | | 5108 | Ski Shuttle | | 5109 | Outdoor Swimming Pool (all year) | | 5110 | Outdoor Swimming Pool (seasonal) | | 5111 | Indoor Swimming Pool (all year) | | 5112 | Indoor Swimming Pool (seasonal) | | 5113 | Swimming pool toys | | 5114 | Rooftop pool | | 5115 | Infinity pool | | 5116 | Pool with view | | 5117 | Salt-water pool | | 5118 | Plunge pool | | 5119 | Pool bar | | 5120 | Shallow end pool | | 5121 | Pool cover | | 5122 | Fence around pool | | 5123 | Airport Shuttle (surcharge) | | 5124 | Property is wheel chair accessible | | 5125 | Toilet with grab rails | | 5126 | Higher level toilet | | 5127 | Low bathroom sink | | 5128 | Bathroom emergency pull cord | | 5129 | Visual aids: Braille | | 5130 | Visual aids: Tactile Signs | | 5131 | Auditory Guidance | | 5132 | Back massage | | 5133 | Neck massage | | 5134 | Foot massage | | 5135 | Couples massage | | 5136 | Head massage | | 5137 | Hand massage | | 5138 | Full body massage | | 5139 | Facial treatments | | 5140 | Waxing services | | 5141 | Make up services | | 5142 | Hair treatments | | 5143 | Manicure | | 5144 | Pedicure | | 5145 | Hair cut | | 5146 | Hair colouring | | 5147 | Hair styling | | 5148 | Body Treatments | | 5149 | Body scrub | | 5150 | Body wrap | | 5151 | Light therapy | | 5152 | Shuttle Service (free) | | 5153 | Shuttle Service (surcharge) | | 5154 | Swimming pool | | 5156 | No Single-Use Toiletries | | 5157 | Towels Changed Upon Request | | 5158 | 24-hour security | | 5159 | Security alarm | | 5160 | Smoke alarms | | 5161 | CCTV in common areas | | 5162 | CCTV outside property | | 5163 | Fire extinguishers | | 5164 | Key access | | 5165 | Key card access | | 5166 | Carbon monoxide detector | | 5167 | Carbon monoxide source | | 5168 | No plastic stirrers | | 5169 | No plastic straws | | 5170 | No plastic cups | | 5171 | No plastic bottles for water | | 5172 | No plastic bottles for non-water | | 5173 | No plastic cutlery | | 5174 | Keycard for room electricity | | 5175 | Opt-out from daily room cleaning | | 5176 | Refillable water stations | | 5177 | Bike rental | | 5178 | Bike parking | | 6000 | Lunch | | 6001 | Dinner | | 90001 | Renewable energy | ### mealPlanCode | Code | Name | | ----- | ----------------------------- | | 0 | (NONE) | | 1 | All inclusive | | 2 | American | | 3 | Bed & breakfast | | 4 | Buffet breakfast | | 5 | Caribbean breakfast | | 6 | Continental breakfast | | 7 | English breakfast | | 8 | European plan | | 9 | Family plan | | 10 | Full board | | 11 | Full breakfast | | 12 | Half board | | 14 | Room only | | 15 | Self catering | | 16 | Bermuda | | 17 | Dinner bed and breakfast plan | | 18 | Family American | | 19 | Breakfast | | 20 | Modified | | 21 | Lunch | | 22 | Dinner | | 23 | Breakfast & lunch | | 24 | Lunch & Dinner | | 90001 | 3/4 Plan | ### typeCode | Code | Name | | ---- | ----------------------------- | | 1 | All suite | | 2 | All-Inclusive resort | | 3 | Apartment | | 4 | Bed and breakfast | | 5 | Cabin or bungalow | | 6 | Campground | | 7 | Chalet | | 8 | Condominium | | 9 | Conference center | | 10 | Corporate | | 11 | Corporate business transient | | 12 | Cruise | | 13 | Extended stay | | 14 | Ferry | | 15 | Guest farm | | 16 | Guest house limited service | | 17 | Health spa | | 18 | Holiday resort | | 19 | Hostel | | 20 | Hotel | | 21 | Inn | | 22 | Lodge | | 23 | Meeting resort | | 24 | Meeting/Convention | | 25 | Mobile-home | | 26 | Monastery | | 27 | Motel | | 28 | Ranch | | 29 | Residential apartment | | 30 | Resort | | 31 | Sailing ship | | 32 | Self catering accommodation | | 33 | Tent | | 34 | Vacation home | | 35 | Villa | | 36 | Wildlife reserve | | 37 | Castle | | 38 | Convention Network Property | | 39 | Golf | | 40 | Pension | | 41 | Ski | | 42 | Spa | | 43 | Time share | | 44 | Boatel | | 45 | Boutique | | 46 | Efficiency/studio | | 47 | Full service | | 48 | Historical | | 49 | Limited service | | 50 | Recreational vehicle park | | 51 | Charm hotel | | 52 | Manor | | 53 | Vacation rental | | 54 | Economy | | 55 | Midscale | | 56 | Upscale | | 57 | Luxury | | 58 | Union | | 59 | Leisure | | 60 | Wholesale | | 61 | Transient | | 62 | Other | | 5000 | ApartHotel | | 5001 | Riad | | 5002 | Ryokan | | 5003 | Love Hotel | | 5004 | Homestay | | 5005 | Japanese-style Business Hotel | | 5006 | Holiday Home | | 5007 | Country house | | 5008 | Capsule Hotel | | 5009 | Holiday Park | ### unitTypeCode | Code | Name | | ---- | ---------------- | | 1 | Apartment | | 4 | Quadruple | | 5 | Suite | | 7 | Triple | | 8 | Twin | | 9 | Double | | 10 | Single | | 12 | Studio | | 13 | Family | | 24 | Twin/Double | | 25 | Dormitory room | | 26 | Bed in Dormitory | | 27 | Bungalow | | 28 | Chalet | | 29 | Holiday home | | 31 | Villa | | 32 | Mobile home | | 33 | Tent | ### unitAmenityCode | Code | Name | | ----- | ------------------------------------------------------------ | | 1 | Adjoining rooms | | 2 | Air conditioning | | 3 | Alarm clock | | 4 | All news channel | | 5 | AM/FM radio | | 6 | Baby listening device | | 7 | Balcony/Lanai/Terrace | | 8 | Barbeque grills | | 9 | Bath tub with spray jets | | 10 | Bathrobe | | 11 | Bathroom amenities | | 12 | Bathroom telephone | | 13 | Bathtub | | 14 | Bathtub only | | 15 | Bathtub/shower combination | | 16 | Bidet | | 17 | Bottled water | | 18 | Cable television | | 19 | Coffee/Tea maker | | 20 | Color television | | 21 | Computer | | 22 | Connecting rooms | | 23 | Converters/ Voltage adaptors | | 24 | Copier | | 25 | Cordless phone | | 26 | Cribs | | 27 | Data port | | 28 | Desk | | 29 | Desk with lamp | | 30 | Dining guide | | 31 | Direct dial phone number | | 32 | Dishwasher | | 33 | Double beds | | 34 | Dual voltage outlet | | 35 | Electrical current voltage | | 36 | Ergonomic chair | | 37 | Extended phone cord | | 38 | Fax machine | | 39 | Fire alarm | | 40 | Fire alarm with light | | 41 | Fireplace | | 42 | Free toll free calls | | 43 | Free calls | | 44 | Free credit card access calls | | 45 | Free local calls | | 46 | Free movies/video | | 47 | Full kitchen | | 48 | Grab bars in bathroom | | 49 | Grecian tub | | 50 | Hairdryer | | 51 | High speed internet connection | | 52 | Interactive web TV | | 53 | International direct dialing | | 54 | Internet access | | 55 | Iron | | 56 | Ironing board | | 57 | Whirpool | | 58 | King bed | | 59 | Kitchen | | 60 | Kitchen supplies | | 61 | Kitchenette | | 62 | Knock light | | 63 | Laptop | | 64 | Large desk | | 65 | Large work area | | 66 | Laundry basket/clothes hamper | | 67 | Loft | | 68 | Microwave | | 69 | Minibar | | 70 | Modem | | 71 | Modem jack | | 72 | Multi-line phone | | 73 | Newspaper | | 74 | Non-smoking | | 75 | Notepads | | 76 | Office supplies | | 77 | Oven | | 78 | Pay per view movies on TV | | 79 | Pens | | 80 | Phone in bathroom | | 81 | Plates and bowls | | 82 | Pots and pans | | 83 | Prayer mats | | 84 | Printer | | 85 | Private bathroom | | 86 | Queen bed | | 87 | Recliner | | 88 | Refrigerator | | 89 | Refrigerator with ice maker | | 90 | Remote control television | | 91 | Rollaway bed | | 92 | Safe | | 93 | Scanner | | 94 | Separate closet | | 95 | Separate modem line available | | 96 | Shoe polisher | | 97 | Shower only | | 98 | Silverware/utensils | | 99 | Sitting area | | 100 | Smoke detectors | | 101 | Smoking | | 102 | Sofa bed | | 103 | Speaker phone | | 104 | Stereo | | 105 | Stove | | 106 | Tape recorder | | 107 | Telephone | | 108 | Telephone for hearing impaired | | 109 | Telephones with message light | | 110 | Toaster oven | | 111 | Trouser/Pant press | | 112 | Turn down service | | 113 | Twin bed | | 114 | Vaulted ceilings | | 115 | VCR movies | | 116 | VCR player | | 117 | Video games | | 118 | Voice mail | | 119 | Wake-up calls | | 120 | Water closet | | 121 | Water purification system | | 122 | Wet bar | | 123 | Wireless internet connection | | 124 | Wireless keyboard | | 125 | Adaptor available for telephone PC use | | 126 | Air conditioning individually controlled in room | | 127 | Bathtub &whirlpool separate | | 128 | Telephone with data ports | | 129 | CD player | | 130 | Complimentary local calls time limit | | 131 | Extra person charge for rollaway use | | 132 | Down/feather pillows | | 133 | Desk with electrical outlet | | 134 | ESPN available | | 135 | Foam pillows | | 136 | HBO available | | 137 | High ceilings | | 138 | Marble bathroom | | 139 | List of movie channels available | | 140 | Pets allowed | | 141 | Oversized bathtub | | 142 | Shower | | 143 | Sink in-room | | 144 | Soundproofed room | | 145 | Storage space | | 146 | Tables and chairs | | 147 | Two-line phone | | 148 | Walk-in closet | | 149 | Washer/dryer | | 150 | Weight scale | | 151 | Welcome gift | | 152 | Spare electrical outlet available at desk | | 153 | Non-refundable charge for pets | | 154 | Refundable deposit for pets | | 155 | Separate tub and shower | | 156 | Entrance type to guest room | | 157 | Ceiling fan | | 158 | CNN available | | 159 | Electrical adaptors available | | 160 | Buffet breakfast | | 161 | Accessible room | | 162 | Closets in room | | 163 | DVD player | | 164 | Mini-refrigerator | | 165 | Separate line billing for multi-line phone | | 166 | Self-controlled heating/cooling system | | 167 | Toaster | | 168 | Analog data port | | 169 | Collect calls | | 170 | International calls | | 171 | Carrier access | | 172 | Interstate calls | | 173 | Intrastate calls | | 174 | Local calls | | 175 | Long distance calls | | 176 | Operator-assisted calls | | 177 | Credit card access calls | | 178 | Calling card calls | | 179 | Toll free calls | | 180 | Universal AC/DC adaptors | | 181 | Bathtub seat | | 182 | Canopy/poster bed | | 183 | Cups/glassware | | 184 | Entertainment center | | 185 | Family/oversized room | | 186 | Hypoallergenic bed | | 187 | Hypoallergenic pillows | | 188 | Lamp | | 189 | Meal included: breakfast | | 190 | Meal included: continental breakfast | | 191 | Meal included: dinner | | 192 | Meal included: lunch | | 193 | Shared bathroom | | 194 | Telephone TDD/Textphone | | 195 | Water bed | | 196 | Extra adult charge | | 197 | Extra child charge | | 198 | Extra child charge for rollaway use | | 199 | Meal included: full American breakfast | | 200 | Futon | | 201 | Murphy bed | | 202 | Tatami mats | | 203 | Single bed | | 204 | Annex room | | 205 | Free newspaper | | 206 | Honeymoon suites | | 207 | Complimentary high speed internet in room | | 208 | Maid service | | 209 | PC hook-up in room | | 210 | Satellite television | | 211 | VIP rooms | | 212 | Cell phone recharger | | 213 | DVR player | | 214 | iPod docking station | | 215 | Media center | | 216 | Plug & play panel | | 217 | Satellite radio | | 218 | Video on demand | | 219 | Exterior corridors | | 220 | Gulf view | | 221 | Accessible room | | 222 | Interior corridors | | 223 | Mountain view | | 224 | Ocean view | | 225 | High speed internet access fee | | 226 | High speed wireless | | 227 | Premium movie channels | | 228 | Slippers | | 229 | First nighters' kit | | 230 | Chair provided with desk | | 231 | Pillow top mattress | | 232 | Feather bed | | 233 | Duvet | | 234 | Luxury linen type | | 235 | International channels | | 236 | Pantry | | 237 | Dish-cleaning supplies | | 238 | Double vanity | | 239 | Lighted makeup mirror | | 240 | Upgraded bathroom amenities | | 241 | VCR player available at front desk | | 242 | Instant hot water | | 243 | Outdoor space | | 244 | Hinoki tub | | 245 | Private pool | | 246 | High Definition (HD) Flat Panel Television - 32 inches or greater | | 247 | Room windows open | | 248 | Bedding type unknown or unspecified | | 249 | Full bed | | 250 | Round bed | | 251 | TV | | 252 | Child rollaway | | 253 | DVD player available at front desk | | 254 | Video game player: | | 255 | Video game player available at front desk | | 256 | Dining room seats | | 257 | Full size mirror | | 258 | Mobile/cellular phones | | 259 | Movies | | 260 | Multiple closets | | 261 | Plates/glassware | | 262 | Safe large enough to accommodate a laptop | | 263 | Bed linen thread count | | 264 | Blackout curtain | | 265 | Bluray player | | 266 | Device with mp3 | | 267 | No adult channels or adult channel lock | | 268 | Non-allergenic room | | 269 | Pillow type | | 270 | Seating area with sofa/chair | | 271 | Separate toilet area | | 272 | Web enabled | | 273 | Widescreen TV | | 274 | Other data connection | | 275 | Phoneline billed separately | | 276 | Separate tub or shower | | 277 | Video games | | 278 | Roof ventilator | | 279 | Children's playpen | | 280 | Plunge pool | | 281 | DVD movies | | 282 | Air filtration | | 283 | Exercise Equipment in Room | | 5001 | Coffee/Tea maker | | 5002 | Internet facilities | | 5003 | Mini-bar | | 5004 | Shower | | 5005 | Bath | | 5006 | Safe Deposit Box | | 5007 | Pay-per-view Channels | | 5008 | TV | | 5009 | Telephone | | 5010 | Fax | | 5011 | Airconditioning | | 5012 | Hair Dryer | | 5013 | Wake Up Service/Alarm-clock | | 5014 | Hot Tub | | 5015 | Clothing Iron | | 5016 | Kitchenette | | 5017 | Balcony | | 5018 | Trouser Press | | 5019 | Bath-robe | | 5020 | Spa Bath | | 5021 | Radio | | 5022 | Refrigerator | | 5023 | Desk | | 5024 | Shared Bathroom | | 5025 | Ironing facilities | | 5026 | Seating area | | 5027 | Free Toiletries | | 5028 | DVD-Player | | 5029 | CD-Player | | 5030 | Fan | | 5031 | Toilet | | 5032 | Microwave | | 5033 | Dishwasher | | 5034 | Washing machine | | 5035 | Video | | 5036 | Video Games | | 5037 | Patio | | 5038 | Bathroom | | 5039 | Extra long beds (> 2 meter) | | 5040 | Heating | | 5041 | Dressing room | | 5042 | Guest toilet | | 5043 | Slippers | | 5044 | Satellite Channels | | 5045 | Kitchen | | 5046 | Wireless internet | | 5068 | Cable channels | | 5069 | Bath or Shower | | 5070 | Carpeted Floor | | 5071 | Fireplace | | 5072 | Additional Toilet | | 5073 | Interconnecting Room(s) available | | 5074 | Laptop Safe Box | | 5075 | Flat-screen TV | | 5076 | Private Entrance | | 5077 | Sofa | | 5079 | Soundproofing | | 5080 | Tiled / Marble floor | | 5081 | View | | 5082 | Wooden / Parquet floor | | 5083 | Wake Up Service | | 5084 | Alarm Clock | | 5085 | Dining Area | | 5086 | Electric Kettle | | 5087 | Executive Lounge Access | | 5088 | iPod Docking Station | | 5089 | Kitchenware | | 5090 | Mosquito Net | | 5091 | Towels/Linens at surcharge | | 5092 | Sauna | | 5093 | Private Pool | | 5094 | Tumble dryer (machine) | | 5095 | Wardrobe/Closet | | 5096 | Oven | | 5097 | Stove | | 5098 | Toaster | | 5099 | Barbecue | | 5100 | Bidet | | 5101 | Computer | | 5102 | iPad | | 5103 | Game Console | | 5104 | Game Console - Xbox 360 | | 5105 | Game Console - PS2 | | 5106 | Game Console - PS3 | | 5107 | Game Console - Nintendo Wii | | 5108 | Sea View | | 5109 | Lake View | | 5110 | Garden View | | 5111 | Pool View | | 5112 | Mountain View | | 5113 | Landmark View | | 5114 | Laptop | | 5115 | Allergy-Free | | 5116 | Cleaning products | | 5117 | Electric blankets | | 5118 | Additional Bathroom | | 5119 | Blu-ray player | | 5120 | Coffee Machine | | 5121 | City View | | 5122 | River View | | 5123 | Terrace | | 5124 | Towels | | 5125 | Linen | | 5126 | Dining table | | 5127 | Children highchair | | 5129 | Outdoor furniture | | 5130 | Outdoor dining area | | 5131 | Entire property on ground floor | | 5132 | Upper floor reachable by lift | | 5133 | Upper floor reachable by stairs only | | 5134 | Entire unit wheelchair accessible | | 5135 | Detached | | 5136 | Semi-detached | | 5137 | Private flat in block of flats | | 5138 | Clothes Rack | | 5139 | Rollaway bed | | 5140 | Clothes drying rack | | 5141 | Toilet paper | | 5142 | Child safety socket covers | | 5143 | Board games/puzzles | | 5144 | Book/DVD/Music library for children | | 5145 | Baby safety gates | | 5146 | Sofa bed | | 5147 | Toilet with grab rails | | 5148 | Adapted bath | | 5149 | Roll in shower | | 5150 | Walk in shower | | 5151 | Higher level toilet | | 5152 | Low bathroom sink | | 5153 | Bathroom emergency pull cord | | 5154 | Shower chair | | 5157 | Rooftop pool | | 5158 | Infinity pool | | 5159 | Pool with view | | 5160 | Heated pool | | 5161 | Salt-water pool | | 5162 | Plunge pool | | 5163 | Pool towels | | 5164 | Shallow end | | 5165 | Pool cover | | 5166 | Wine/champagne | | 5167 | Bottle of water | | 5168 | Fruits | | 5169 | Chocolate/cookies | | 5170 | Trash cans | | 5171 | Wine glasses | | 5172 | Game console - Xbox One | | 5173 | Game console - Wii U | | 5174 | Game console - PS4 | | 5175 | Children crib/cots | | 5176 | Toothbrush | | 5177 | Shampoo | | 5178 | Conditioner | | 5179 | Body soap | | 5180 | Shower cap | | 5181 | Pajamas | | 5182 | Yukata | | 5184 | Socket near the bed | | 5185 | Adapter | | 5186 | Feather pillow | | 5187 | Non-feather pillow | | 5188 | Hypoallergenic pillow | | 5189 | Accessible by Lift | | 5190 | Inner courtyard view | | 5191 | Quiet street view | | 5196 | Portable Wifi | | 5198 | Smartphone | | 5199 | Streaming service (such as Netflix) | | 5200 | Lockers | | 5201 | Fire alarms or smoke detectors | | 5202 | Fire extinguishers | | 5203 | Metal keys access | | 5204 | Electronic key card access | | 5205 | Reading light | | 5206 | Earplugs | | 5207 | Private curtain | | 5211 | Carbon monoxide detector | | 5212 | Carbon monoxide source | | 90001 | Bread-bun delivery | | 90002 | Breakfast delivery | | 90003 | Grocery delivery service | | 90004 | Beach chair or roofed wicker beach chair | | 90005 | Shared kitchen | | 90006 | Bunk bed | | 90007 | Levee view | | 90008 | Pay television | | 90009 | Extractor hood | | 90010 | Vacuum cleaner | | 90011 | Separated bedrooms | - * - * The version of the OpenAPI document: 1.0.0 - * Contact: info@lodgea.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProductListInner; -import org.openapitools.client.model.V1PropertyGetPost200ResponseProperty; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - - -/** - * Model tests for V1PropertyGetPost200Response - */ -public class V1PropertyGetPost200ResponseTest { - private final V1PropertyGetPost200Response model = new V1PropertyGetPost200Response(); - - /** - * Model tests for V1PropertyGetPost200Response - */ - @Test - public void testV1PropertyGetPost200Response() { - // TODO: test V1PropertyGetPost200Response - } - - /** - * Test the property 'versionId' - */ - @Test - public void versionIdTest() { - // TODO: test versionId - } - - /** - * Test the property 'property' - */ - @Test - public void propertyTest() { - // TODO: test property - } - - /** - * Test the property 'productList' - */ - @Test - public void productListTest() { - // TODO: test productList - } - -}