Class ApplicationApi

java.lang.Object
travel.wink.sdk.affiliate.api.ApplicationApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-07-21T13:34:06.734669+07:00[Asia/Bangkok]") public class ApplicationApi extends Object
  • Constructor Details

    • ApplicationApi

      public ApplicationApi()
    • ApplicationApi

      @Autowired public ApplicationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createApplication

      public reactor.core.publisher.Mono<EngineView> createApplication(String companyIdentifier, SaveEngineRequest saveEngineRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Application Creates a new application for company.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Create new application and associate with this company
      saveEngineRequest - The saveEngineRequest parameter
      Returns:
      EngineView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<EngineView>> createApplicationWithHttpInfo(String companyIdentifier, SaveEngineRequest saveEngineRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • isEngineNameUnique

      public reactor.core.publisher.Mono<UniqueResult> isEngineNameUnique(UniqueRequest uniqueRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Application Name Uniqueness Checks to see if the name for the application you want to use is unique.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      uniqueRequest - The uniqueRequest parameter
      Returns:
      UniqueResult
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • isEngineNameUniqueWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UniqueResult>> isEngineNameUniqueWithHttpInfo(UniqueRequest uniqueRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeApplication

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeApplication(String companyIdentifier, String engineIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Application Deletes an application.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Remove application owned by this company
      engineIdentifier - Remove application with this identifier
      accept - The accept parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeApplicationWithHttpInfo(String companyIdentifier, String engineIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showAllApplicationsForUser

      public reactor.core.publisher.Flux<EngineView> showAllApplicationsForUser(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Applications by Owner Retrieve a list of applications for all companies the caller has access to.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      List<EngineView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAllApplicationsForUserWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<EngineView>>> showAllApplicationsForUserWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showApplication

      public reactor.core.publisher.Mono<EngineView> showApplication(String companyIdentifier, String engineIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Application Retrieve a specific application.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Show application for company with this identifier
      engineIdentifier - Show application with this identifier
      accept - The accept parameter
      Returns:
      EngineView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<EngineView>> showApplicationWithHttpInfo(String companyIdentifier, String engineIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showApplications

      public reactor.core.publisher.Flux<EngineView> showApplications(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Applications Retrieve a list of applications for a specific company.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Show applications for company with this identifier
      accept - The accept parameter
      Returns:
      List<EngineView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showApplicationsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<EngineView>>> showApplicationsWithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateApplication

      public reactor.core.publisher.Mono<EngineView> updateApplication(String companyIdentifier, String engineIdentifier, SaveEngineRequest saveEngineRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Application Updates an existing application.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Update existing application and associate with this company
      engineIdentifier - Update application with this identifier
      saveEngineRequest - The saveEngineRequest parameter
      Returns:
      EngineView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<EngineView>> updateApplicationWithHttpInfo(String companyIdentifier, String engineIdentifier, SaveEngineRequest saveEngineRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException