Package travel.wink.sdk.affiliate.api
Class AgentApi
java.lang.Object
travel.wink.sdk.affiliate.api.AgentApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-05T21:40:05.799522131+07:00[Asia/Bangkok]")
public class AgentApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<CompanyViewAgent> updateAgent(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) Update Agent Update an existing agentreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAgent>> updateAgentWithHttpInfo(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) Update Agent Update an existing agentorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateAgentWithResponseSpec(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) Update Agent Update an existing agent
-
Constructor Details
-
AgentApi
public AgentApi() -
AgentApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
updateAgent
public reactor.core.publisher.Mono<CompanyViewAgent> updateAgent(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Agent Update an existing agent403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
companyIdentifier- Update agent by company idupsertTravelAgentRequestAgent- The upsertTravelAgentRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- CompanyViewAgent
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAgentWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAgent>> updateAgentWithHttpInfo(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Agent Update an existing agent403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
companyIdentifier- Update agent by company idupsertTravelAgentRequestAgent- The upsertTravelAgentRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CompanyViewAgent>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAgentWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateAgentWithResponseSpec(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Agent Update an existing agent403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
companyIdentifier- Update agent by company idupsertTravelAgentRequestAgent- The upsertTravelAgentRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-