Package travel.wink.sdk.extranet.api
Class LeaderboardApi
java.lang.Object
travel.wink.sdk.extranet.api.LeaderboardApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T22:26:49.575007+07:00[Asia/Bangkok]")
public class LeaderboardApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<PageBookingLeaderboardEntry>showLeaderboard(LeaderboardRequest leaderboardRequest) Show Location Leaderboard Show leaderboard based on location type such as continent.reactor.core.publisher.Mono<BookingLeaderboardEntry>showLeaderboardByOwner(LeaderboardOwnerRequest leaderboardOwnerRequest) Show Affiliate Leaderboard Show leaderboard for a specific affiliate.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingLeaderboardEntry>>showLeaderboardByOwnerWithHttpInfo(LeaderboardOwnerRequest leaderboardOwnerRequest) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingLeaderboardEntry>>showLeaderboardWithHttpInfo(LeaderboardRequest leaderboardRequest)
-
Constructor Details
-
LeaderboardApi
public LeaderboardApi() -
LeaderboardApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showLeaderboard
public reactor.core.publisher.Mono<PageBookingLeaderboardEntry> showLeaderboard(LeaderboardRequest leaderboardRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Location Leaderboard Show leaderboard based on location type such as continent.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
leaderboardRequest- The leaderboardRequest parameter- Returns:
- PageBookingLeaderboardEntry
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showLeaderboardWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingLeaderboardEntry>> showLeaderboardWithHttpInfo(LeaderboardRequest leaderboardRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showLeaderboardByOwner
public reactor.core.publisher.Mono<BookingLeaderboardEntry> showLeaderboardByOwner(LeaderboardOwnerRequest leaderboardOwnerRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Affiliate Leaderboard Show leaderboard for a specific affiliate.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
leaderboardOwnerRequest- The leaderboardOwnerRequest parameter- Returns:
- BookingLeaderboardEntry
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showLeaderboardByOwnerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingLeaderboardEntry>> showLeaderboardByOwnerWithHttpInfo(LeaderboardOwnerRequest leaderboardOwnerRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-