Class PolicyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HotelViewSupplier> createPolicy(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) Create property policy Creates the initial property policy record for the hotel.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> createPolicyWithHttpInfo(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) Create property policy Creates the initial property policy record for the hotel.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreatePolicyWithResponseSpec(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) Create property policy Creates the initial property policy record for the hotel.voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<PropertyPolicySupplier> showPropertyPolicy(String hotelIdentifier, String winkVersion) Show property policy Returns property policy for hotelreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyPolicySupplier>> showPropertyPolicyWithHttpInfo(String hotelIdentifier, String winkVersion) Show property policy Returns property policy for hotelorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowPropertyPolicyWithResponseSpec(String hotelIdentifier, String winkVersion) Show property policy Returns property policy for hotelreactor.core.publisher.Mono<HotelViewSupplier> updatePropertyPolicy(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) Update property policy Update property policy record for the hotel.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updatePropertyPolicyWithHttpInfo(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) Update property policy Update property policy record for the hotel.org.springframework.web.reactive.function.client.WebClient.ResponseSpecupdatePropertyPolicyWithResponseSpec(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) Update property policy Update property policy record for the hotel.
-
Constructor Details
-
PolicyApi
public PolicyApi() -
PolicyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createPolicy
public reactor.core.publisher.Mono<HotelViewSupplier> createPolicy(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create property policy Creates the initial property policy record for the hotel.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- Create property policy for this hotel identifierpropertyPolicySupplier- The propertyPolicySupplier parameterwinkVersion- The winkVersion parameter- Returns:
- HotelViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPolicyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> createPolicyWithHttpInfo(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create property policy Creates the initial property policy record for the hotel.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- Create property policy for this hotel identifierpropertyPolicySupplier- The propertyPolicySupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<HotelViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPolicyWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createPolicyWithResponseSpec(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create property policy Creates the initial property policy record for the hotel.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- Create property policy for this hotel identifierpropertyPolicySupplier- The propertyPolicySupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPropertyPolicy
public reactor.core.publisher.Mono<PropertyPolicySupplier> showPropertyPolicy(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show property policy Returns property policy for hotel503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Retrieve property policy for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- PropertyPolicySupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPropertyPolicyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyPolicySupplier>> showPropertyPolicyWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show property policy Returns property policy for hotel503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Retrieve property policy for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<PropertyPolicySupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPropertyPolicyWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyPolicyWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show property policy Returns property policy for hotel503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Retrieve property policy for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePropertyPolicy
public reactor.core.publisher.Mono<HotelViewSupplier> updatePropertyPolicy(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property policy Update property policy record for the hotel.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update property policy record for this hotel identifierpropertyPolicySupplier- The propertyPolicySupplier parameterwinkVersion- The winkVersion parameter- Returns:
- HotelViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePropertyPolicyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updatePropertyPolicyWithHttpInfo(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property policy Update property policy record for the hotel.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update property policy record for this hotel identifierpropertyPolicySupplier- The propertyPolicySupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<HotelViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePropertyPolicyWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updatePropertyPolicyWithResponseSpec(String hotelIdentifier, PropertyPolicySupplier propertyPolicySupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property policy Update property policy record for the hotel.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update property policy record for this hotel identifierpropertyPolicySupplier- The propertyPolicySupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-