Class UserSettingsApi

java.lang.Object
travel.wink.sdk.user.settings.api.UserSettingsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-04T20:31:43.365030324+07:00[Asia/Bangkok]") public class UserSettingsApi extends Object
  • Constructor Details

    • UserSettingsApi

      public UserSettingsApi()
    • UserSettingsApi

      @Autowired public UserSettingsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • changePassword

      public reactor.core.publisher.Mono<BooleanResponse> changePassword(ChangePasswordRequest changePasswordRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Change password Updates currently authenticated user's password.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      changePasswordRequest - The changePasswordRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      BooleanResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • changePasswordWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BooleanResponse>> changePasswordWithHttpInfo(ChangePasswordRequest changePasswordRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Change password Updates currently authenticated user's password.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      changePasswordRequest - The changePasswordRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<BooleanResponse>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • changePasswordWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec changePasswordWithResponseSpec(ChangePasswordRequest changePasswordRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Change password Updates currently authenticated user's password.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      changePasswordRequest - The changePasswordRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showProfile

      public reactor.core.publisher.Mono<ProfileViewNonAuthenticatedEntity> showProfile(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Profile Show profile by profile owner.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ProfileViewNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showProfileWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ProfileViewNonAuthenticatedEntity>> showProfileWithHttpInfo(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Profile Show profile by profile owner.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showProfileWithResponseSpec(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Profile Show profile by profile owner.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUserProfile

      public reactor.core.publisher.Mono<UpsertUserProfileResponse> showUserProfile(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show User Profile Retrieves user profile data.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      UpsertUserProfileResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUserProfileWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpsertUserProfileResponse>> showUserProfileWithHttpInfo(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show User Profile Retrieves user profile data.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showUserProfileWithResponseSpec(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show User Profile Retrieves user profile data.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateProfile

      public reactor.core.publisher.Mono<ProfileViewNonAuthenticatedEntity> updateProfile(UpsertProfileRequestNonAuthenticatedEntity upsertProfileRequestNonAuthenticatedEntity, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Profile Update profile by profile owner.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertProfileRequestNonAuthenticatedEntity - The upsertProfileRequestNonAuthenticatedEntity parameter
      winkVersion - The winkVersion parameter
      Returns:
      ProfileViewNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateProfileWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ProfileViewNonAuthenticatedEntity>> updateProfileWithHttpInfo(UpsertProfileRequestNonAuthenticatedEntity upsertProfileRequestNonAuthenticatedEntity, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Profile Update profile by profile owner.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertProfileRequestNonAuthenticatedEntity - The upsertProfileRequestNonAuthenticatedEntity parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<ProfileViewNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateProfileWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateProfileWithResponseSpec(UpsertProfileRequestNonAuthenticatedEntity upsertProfileRequestNonAuthenticatedEntity, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Profile Update profile by profile owner.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertProfileRequestNonAuthenticatedEntity - The upsertProfileRequestNonAuthenticatedEntity parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateUserProfile

      public reactor.core.publisher.Mono<UpsertUserProfileResponse> updateUserProfile(UpsertUserProfileRequest upsertUserProfileRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update User Profile Updates user profile data.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertUserProfileRequest - The upsertUserProfileRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      UpsertUserProfileResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateUserProfileWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpsertUserProfileResponse>> updateUserProfileWithHttpInfo(UpsertUserProfileRequest upsertUserProfileRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update User Profile Updates user profile data.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertUserProfileRequest - The upsertUserProfileRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<UpsertUserProfileResponse>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateUserProfileWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateUserProfileWithResponseSpec(UpsertUserProfileRequest upsertUserProfileRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update User Profile Updates user profile data.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertUserProfileRequest - The upsertUserProfileRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API